summaryrefslogtreecommitdiffstats
path: root/scp2/macros/macro.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/macros/macro.pl')
-rw-r--r--scp2/macros/macro.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl
index 4221315f924d..e034cfd98624 100644
--- a/scp2/macros/macro.pl
+++ b/scp2/macros/macro.pl
@@ -50,7 +50,7 @@ write_DIR_ISOLANGUAGE_ALL_LANG();
write_DIR_ISOLANGUAGE_ALL_LANG_LPROJ();
write_EXTRA_ALL_LANG();
write_EXTRA_ALL_LANG_BUT_EN_US();
-write_UI_ALL_LANG_BUT_EN_US();
+write_MO_ALL_LANG_EXCEPT_EN_US_AND_QTZ();
write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG();
write_RESFILE_ALL_LANG();
write_README_ALL_LANG();
@@ -167,16 +167,16 @@ sub write_EXTRA_ALL_LANG_BUT_EN_US
print OUTFILE "\n\n";
}
-sub write_UI_ALL_LANG_BUT_EN_US
+sub write_MO_ALL_LANG_EXCEPT_EN_US_AND_QTZ
{
- print OUTFILE "#define UI_ALL_LANG_BUT_EN_US(name) ";
+ print OUTFILE "#define MO_ALL_LANG_EXCEPT_EN_US_AND_QTZ(name) ";
my $first = 1;
foreach $lang (@completelangiso) {
- if ($lang ne "en-US") {
+ if (($lang ne "en-US") and ($lang ne "qtz")) {
print OUTFILE "; " unless $first;
$first = 0;
print OUTFILE
- "\\\n\tName ($lang) = STRING(CONCAT2(name,/ui/res/$lang.zip))";
+ "\\\n\tName ($lang) = STRING(CONCAT3($lang/LC_MESSAGES/,name,.mo))";
}
}
print OUTFILE "\n\n";