summaryrefslogtreecommitdiff
path: root/scp2/macros/macro.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scp2/macros/macro.pl')
-rw-r--r--scp2/macros/macro.pl13
1 files changed, 12 insertions, 1 deletions
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl
index f6c90b666542..2aa1297f3bd3 100644
--- a/scp2/macros/macro.pl
+++ b/scp2/macros/macro.pl
@@ -8,7 +8,7 @@
#
# $RCSfile: macro.pl,v $
#
-# $Revision: 1.9 $
+# $Revision: 1.10 $
#
# This file is part of OpenOffice.org.
#
@@ -61,6 +61,7 @@ write_ALL_LANG();
write_OTHER_LANGS();
write_DIR_ISOLANGUAGE_ALL_LANG_2();
write_DIR_ISOLANGUAGE_ALL_LANG();
+write_DIR_ISOLANGUAGE_ALL_LANG_LPROJ();
write_DIR_IDENT_ALL_LANG();
write_EXTRA_ALL_LANG();
write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG();
@@ -113,6 +114,16 @@ sub write_DIR_ISOLANGUAGE_ALL_LANG
print OUTFILE "\n\n";
}
+sub write_DIR_ISOLANGUAGE_ALL_LANG_LPROJ
+{
+ print OUTFILE "#define DIR_ISOLANGUAGE_ALL_LANG_LPROJ ";
+ foreach $lang (@completelangiso) {
+ print OUTFILE "\\\n\tDosName ($lang) = \"$lang.lproj\"";
+ print OUTFILE "; " if ( $lang ne $completelangiso[$#completelangiso]);
+ }
+ print OUTFILE "\n\n";
+}
+
sub write_DIR_IDENT_ALL_LANG
{
print OUTFILE "#define DIR_IDENT_ALL_LANG(name) ";