Koha/debian/scripts
Tomas Cohen Arazi 6b26f8858e Bug 13728: koha-translate -l -a shows po files instead of language codes
This patch corrects the call to 'basename' inside the script so it correctly
shows the language code when asked to list the available languages.

To test:
- On a packages install, run:
  $ koha-translate --list --available
=> FAIL: It shows:
am-Ethi-opac-bootstrap.po
ar-Arab-opac-bootstrap.po
az-AZ-opac-bootstrap.po
be-BY-opac-bootstrap.po
ben-opac-bootstrap.po
...

- Apply the patch
- Copy the patched debian/scripts/koha-translate script to your packages setup.
- Run:
  $ koha-translate --list --available
=> SUCCESS: It shows:
am-Ethi
ar-Arab
az-AZ
be-BY
ben
...

- Sign off :-D

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-02-19 11:16:29 -03:00
..
koha-create Bug 11927 - Add gr install option 2015-01-21 10:58:58 -03:00
koha-create-dirs Bug 9890: fix plugin handling by koha-create and koha-create-dirs 2013-06-24 06:55:36 -07:00
koha-disable Bug 12856: koha-disable fails without disabling site 2014-11-27 11:42:03 -03:00
koha-dump Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-dump-defaults
koha-email-disable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-email-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach Bug 8566: [SIGNED-OFF] Enable koha-foreach to insert the instancename into commands 2014-07-02 15:45:25 -03:00
koha-functions.sh Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-indexer Bug 8773 - Start per-instance koha-index-daemon in .deb setup 2014-07-14 09:15:22 -03:00
koha-list Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-mysql Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-mysqlcheck Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-rebuild-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-remove Bug 12312 - correctly upgrade under Apache 2.2 2014-05-26 03:41:55 +00:00
koha-reset-passwd Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-restart-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-restore Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-run-backups Bug 9260: stop koha-run-backups complaining "missing ]" 2012-12-21 08:11:39 -05:00
koha-shell
koha-start-sip Bug 7904 - remove unnecessary path from SIP script 2015-02-05 14:44:48 -03:00
koha-start-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-stop-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-translate Bug 13728: koha-translate -l -a shows po files instead of language codes 2015-02-19 11:16:29 -03:00
koha-upgrade-schema
koha-upgrade-to-3.4