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

--- Comment #13 from Paul Poulain <[email protected]> ---
Before releasing 3.10.0, I wrote the following small script, to generate
pre-filled ccsr.po:

#!/bin/perl

use File::Copy;

opendir(my $dh, 'po/');
@fichiers = grep { /(.*)-i-opac-t-prog-v-3006000\.po/ } readdir($dh);
foreach my $file (@fichiers) {
    $file =~ s/-i-opac-t-prog-v-3006000\.po//;
    print "==> $file\n";
   
copy("po/".$file."-i-opac-t-prog-v-3006000\.po","po/".$file."-opac-ccsr.po");
   system("./tmpl_process3.pl update -i
/home/paul/koha.dev/koha-community/koha-tmpl/opac-tmpl/ccsr/en/ -r -s
po/$file-opac-ccsr.po");
}

+
perl -i -ne 'print if ! /^#\~/' po/*.po
perl -i -00 -pe '' po/*.po

to remove blank/old&irrelevant lines

So, I've generated all ccsr translation files, that are 90% translated for
languages that are 100% translated.

The patch is a little bit large (Ruth, your first task as TM will will probably
to work on how translation are stored in our git repository... see
http://wiki.koha-community.org/wiki/Git_Splitting_and_Shrinking

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to