summaryrefslogtreecommitdiff
path: root/tools/genlang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/genlang')
-rwxr-xr-xtools/genlang4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/genlang b/tools/genlang
index 4f7386890d..abff3e8e18 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -16,6 +16,7 @@ my $LANGUAGE_COOKIE = 0x1a;
16my $VOICE_COOKIE = 0x9a; 16my $VOICE_COOKIE = 0x9a;
17my $LANGUAGE_VERSION = 0x06; 17my $LANGUAGE_VERSION = 0x06;
18my $LANGUAGE_FLAG_RTL = 0x01; 18my $LANGUAGE_FLAG_RTL = 0x01;
19my $LANGUAGE_FLAG_UNITS_FIRST = 0x02;
19 20
20my $HEADER_SIZE = 4; 21my $HEADER_SIZE = 4;
21my $SUBHEADER_SIZE = 6; 22my $SUBHEADER_SIZE = 6;
@@ -372,6 +373,9 @@ while(<LANG>) {
372 if ($_ =~ /LANGUAGE_IS_RTL/) { 373 if ($_ =~ /LANGUAGE_IS_RTL/) {
373 $langoptions |= $LANGUAGE_FLAG_RTL; 374 $langoptions |= $LANGUAGE_FLAG_RTL;
374 } 375 }
376 if ($_ =~ /LANGUAGE_UNITS_FIRST/) {
377 $langoptions |= $LANGUAGE_FLAG_UNITS_FIRST;
378 }
375 379
376 if ($header and $sortfile) { 380 if ($header and $sortfile) {
377 print($_); 381 print($_);