[Koha-bugs] [Bug 9161] Translate only one specific file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 28 11:16:39 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9161

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 13728
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13728&action=edit
Bug 9161: translate only 1 specific file

The previous version of tmpl_process3.pl says in the pod:
  -i, --input=SOURCE          Get or update strings from SOURCE file.
                              SOURCE is a directory if -r is also specified.
But is was not possible to specify one or more file.

This patch allows us to give one or more specific file with the -f
parameter.

for eg.:
perl tmpl_process3.pl install -i
/home/koha/koha-tmpl/opac-tmpl/prog/en/modules/
    -o /home/koha/koha-tmpl/opac-tmpl/prog/fr-FR/modules/
    -s /home/koha/misc/translator/po/fr-FR-i-opac-t-prog-v-3006000.po
    -r
    -f opac-account.tt
    -f opac-main.tt

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list