Koha/misc
Frédéric Demians 01c619fc17 Bug 4154 - Add a .po based mechanism to translate preferences
Add to previous patch (and replace it):
  - update function
  - translation of tab subsection labels
  - GPL2
  - fix last minute bug catched by Galen

Cut-and-past of pref-trans script perldoc:

NAME
       pref-trans - Handle preferences translation

SYNOPSYS
         pref-trans init fr-FR
         pref-trans update fr-FR
         pref-trans install fr-FR

USAGE
       pref-trans init lang
           Create a .po file in po directory, named lang-pref.po. This
           file contains text to translate extracted from .pref files.

       pref-trans update lang
           Update a .po file in po directory, named lang-pref.po. This
           file contains new text to translate extracted from .pref files.
           Previous translated text are kept. There is a minor bug, which can’t
           be fixed due to preferences data struture: preferences tab
           subsection labels are lost when updating .po file.

       pref-trans install lang
           Use lang-pref.po file to translate the english version of
           preferences files and copy those files in the appropriate
           directory.

DESCRIPTION
       Koha preferences are stored in a data structure found in
       koha-tmpl/intranet-tmpl/en/module/admin/preferences/ files.
       Depending of user language, other files are used. This script extract text
       from ’en’ preference files, and put them in one .po file.  This .po
       file can be updated. When completed, a .po file can be applied to create
       localized versions of preferences templates.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-11 05:52:50 -05:00
..
bin Have zebrasrv log less 2008-08-13 16:37:07 -05:00
cronjobs monthly_circulation_statistics.pl :Hard Coded date inside 2010-01-28 15:11:56 +01:00
installer_devel_notes/data/en/marcflavour replacing SHELF_LOC by LOC, as decided with kados on the chat 2007-12-26 14:33:02 -06:00
interface_customization Adding source files for Koha logo and OPAC button background. Bug 3680. 2010-02-02 18:35:25 -05:00
load_testing Adding a couple benchmark scripts 2008-03-20 08:40:48 -05:00
maintenance (bug #3688) add index for acqdate in unimarc and fix maintenance script 2009-10-21 10:06:52 +02:00
migration_tools Bug 4125 - Reformat with perldoc bulkmarcimport.pl doc 2010-02-06 08:06:07 -05:00
release_notes forward-port rest of changes to 3.0.1 release notes 2010-02-08 13:38:01 -05:00
spellcheck_suggest kohabug 2345: bad comparisons pervade reports 2008-07-27 06:11:08 -05:00
translator Bug 4154 - Add a .po based mechanism to translate preferences 2010-02-11 05:52:50 -05:00
batchCompareMARCvsFrameworks.pl Avoid numeric comparisons with leading zeroes 2009-08-20 21:01:52 -04:00
batchDeleteUnusedSubfields.pl remove some unneeded use statements 2008-03-21 21:46:29 -05:00
batchImportMARCWithBiblionumbers.pl do not let MARC::Batch open MARC files 2008-03-21 21:46:39 -05:00
batchRebuildBiblioTables.pl Update references to batchRebuildBiblioTables 2009-06-15 12:43:22 -05:00
batchRepairMissingBiblionumbers.pl Repair the old repairmissingbiblionumbers script 2009-04-18 15:39:24 -05:00
batchupdateISBNs.pl bugfixing batchupdateISBN.pl 2008-05-20 12:55:06 -05:00
check_sysprefs.pl moving some files and deleting cataloguing/updateitem.pl, the _real_ updateitem.pl is in catalogue/ 2007-12-30 12:09:52 -06:00
commit_biblios_file.pl speed boost: command-line stage and commit biblios 2008-01-03 16:26:24 -06:00
exportauth.pl bug 2615: remove unneeded 'require Exporter' 2008-09-26 09:05:08 -05:00
koha-install-log kohabug 1776 - try to locate Zebra during install 2008-04-22 17:59:00 -05:00
kohalib.pl Still fixing permission and first line of scripts 2008-08-20 20:23:54 -05:00
link_bibs_to_authorities.pl bug 2258 - do not duplicate embedded items 2008-06-18 19:25:07 -05:00
perlmodule_ls.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
perlmodule_rm.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
sax_parser_print.pl Bug 2617: Add strict (and warnings), partial fix. 2009-03-11 08:36:55 -05:00
sax_parser_test.pl fixing nomenclature on files in misc/, adding a few new utilities 2007-12-30 12:13:34 -06:00
stage_biblios_file.pl Add no-replace option to stage_biblios_file.pl, allowing incoming bibs to not overwrite existing bibs. 2008-07-18 13:22:31 -05:00