[koha-commits] updated branch master (01c619fc1740e4c0c3236a2c4156e6b94bacf5bf)
Koha Gitosis
gitosis at git.koha.org
Thu Feb 11 12:03:19 CET 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Koha GitWeb".
The branch, master has been updated
via 01c619fc1740e4c0c3236a2c4156e6b94bacf5bf (commit)
via d3df9899fb64cca6ab0e21e0122e4af5536cda95 (commit)
from c5da83f020677bbc7b1f71bcf03d82dc233630ae (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 01c619fc1740e4c0c3236a2c4156e6b94bacf5bf
Author: Frédéric Demians <f.demians at tamil.fr>
Date: Thu Feb 11 07:27:45 2010 +0100
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 at gmail.com>
commit d3df9899fb64cca6ab0e21e0122e4af5536cda95
Author: Frédéric Demians <f.demians at tamil.fr>
Date: Thu Feb 11 07:27:46 2010 +0100
French .po file for preferences
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
-----------------------------------------------------------------------
Summary of changes:
misc/translator/po/fr-FR-pref.po | 3008 ++++++++++++++++++++++++++++++++++++++
misc/translator/pref-trans | 327 +++++
2 files changed, 3335 insertions(+), 0 deletions(-)
create mode 100644 misc/translator/po/fr-FR-pref.po
create mode 100755 misc/translator/pref-trans
hooks/post-receive
--
Koha GitWeb
More information about the koha-commits
mailing list