Lines 609-614
sub extract_messages {
Link Here
|
609 |
push @files_to_scan, @tt_files; |
609 |
push @files_to_scan, @tt_files; |
610 |
|
610 |
|
611 |
my $xgettext_common_args = "--force-po --from-code=UTF-8 " |
611 |
my $xgettext_common_args = "--force-po --from-code=UTF-8 " |
|
|
612 |
. "--package-name=Koha --package-version='' " |
612 |
. "-k -k__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 " |
613 |
. "-k -k__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 " |
613 |
. "-k__p:1c,2 -k__px:1c,2 -k__np:1c,2,3 -k__npx:1c,2,3 " |
614 |
. "-k__p:1c,2 -k__px:1c,2 -k__np:1c,2,3 -k__npx:1c,2,3 " |
614 |
. "-kN__ -kN__n:1,2 -kN__p:1c,2 -kN__np:1c,2,3"; |
615 |
. "-kN__ -kN__n:1,2 -kN__p:1c,2 -kN__np:1c,2,3"; |
Lines 637-643
sub extract_messages {
Link Here
|
637 |
die "system call failed: $xgettext_cmd"; |
638 |
die "system call failed: $xgettext_cmd"; |
638 |
} |
639 |
} |
639 |
|
640 |
|
640 |
my $msgcat_cmd = "$self->{msgcat} -o $Bin/$self->{domain}.pot $Bin/$self->{domain}-perl.pot $Bin/$self->{domain}-js.pot"; |
641 |
my $msgcat_cmd = "$self->{msgcat} --use-first -o $Bin/$self->{domain}.pot $Bin/$self->{domain}-perl.pot $Bin/$self->{domain}-js.pot"; |
641 |
if (system($msgcat_cmd) != 0) { |
642 |
if (system($msgcat_cmd) != 0) { |
642 |
die "system call failed: $msgcat_cmd"; |
643 |
die "system call failed: $msgcat_cmd"; |
643 |
} |
644 |
} |
644 |
- |
|
|