Skip to content

Commit

Permalink
TOOLS: PRINCE: Reenable full dump in POT generation
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Apr 29, 2018
1 parent 748eeff commit 2f88c24
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions engines/prince/gen-po.pl
Expand Up @@ -45,10 +45,10 @@
"X-Generator: Weblate 2.9\\n"
EOF

#process_inv "invtxt.txt.out";
#process_varia "variatxt.txt.out";
#process_mob "mob.txt.out";
#process_credits "credits.txt.out";
process_inv "invtxt.txt.out";
process_varia "variatxt.txt.out";
process_mob "mob.txt.out";
process_credits "credits.txt.out";
process_talk "talktxt.txt.out";

exit;
Expand Down Expand Up @@ -236,6 +236,7 @@ ($$)
last; # Break
} else {
$line++;
$data{'talktxt.txt'}{$dialog}{$line} = "$s$_";
print <<EOF;
#: dialog$dialog.txt:$line
Expand Down Expand Up @@ -269,6 +270,7 @@ ($$)
$line = $1;
} else {
my $n = sprintf("%d%02d", $box, $line);
$data{'talktxt.txt'}{$dialog}{$n} = "$s$_";
print <<EOF;
#: dialog$dialog.txt:$n
Expand Down Expand Up @@ -327,6 +329,7 @@ ($$)
my $n = sprintf("%d%02d", 1000 + $box, $line);

if ($line) {
$data{'talktxt.txt'}{$dialog}{$n} = "$s";
print <<EOF;
#: dialog$dialog.txt:$n
Expand Down Expand Up @@ -363,6 +366,7 @@ ($$)
last; # Break
} else {
$line++;
$data{'talktxt.txt'}{$dialog}{$line} = "$s$_";
print <<EOF;
#: dialog$dialog.txt:$line
Expand Down

0 comments on commit 2f88c24

Please sign in to comment.