Lines 614-619
sub extract_messages {
Link Here
|
614 |
push @files_to_scan, @tt_files; |
614 |
push @files_to_scan, @tt_files; |
615 |
|
615 |
|
616 |
my $xgettext_common_args = "--force-po --from-code=UTF-8 " |
616 |
my $xgettext_common_args = "--force-po --from-code=UTF-8 " |
|
|
617 |
. "--package-name=Koha --package-version='' " |
617 |
. "-k -k__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 " |
618 |
. "-k -k__ -k__x -k__n:1,2 -k__nx:1,2 -k__xn:1,2 " |
618 |
. "-k__p:1c,2 -k__px:1c,2 -k__np:1c,2,3 -k__npx:1c,2,3 " |
619 |
. "-k__p:1c,2 -k__px:1c,2 -k__np:1c,2,3 -k__npx:1c,2,3 " |
619 |
. "-kN__ -kN__n:1,2 -kN__p:1c,2 -kN__np:1c,2,3"; |
620 |
. "-kN__ -kN__n:1,2 -kN__p:1c,2 -kN__np:1c,2,3"; |
Lines 642-648
sub extract_messages {
Link Here
|
642 |
die "system call failed: $xgettext_cmd"; |
643 |
die "system call failed: $xgettext_cmd"; |
643 |
} |
644 |
} |
644 |
|
645 |
|
645 |
my $msgcat_cmd = "$self->{msgcat} -o $Bin/$self->{domain}.pot $Bin/$self->{domain}-perl.pot $Bin/$self->{domain}-js.pot"; |
646 |
my $msgcat_cmd = "$self->{msgcat} --use-first -o $Bin/$self->{domain}.pot $Bin/$self->{domain}-perl.pot $Bin/$self->{domain}-js.pot"; |
646 |
if (system($msgcat_cmd) != 0) { |
647 |
if (system($msgcat_cmd) != 0) { |
647 |
die "system call failed: $msgcat_cmd"; |
648 |
die "system call failed: $msgcat_cmd"; |
648 |
} |
649 |
} |
649 |
- |
|
|