summaryrefslogtreecommitdiff
path: root/scp2/macros
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-04-15 13:48:21 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-04-15 13:48:21 +0000
commitec9984ef0329854abceb870e8075114acc102ab7 (patch)
tree95bff2ee21d2110bc5ca16b7be457c292f3f5e09 /scp2/macros
parent7693c605883691837e16d29ce2af180c3b654553 (diff)
INTEGRATION: CWS obr08 (1.8.58); FILE MERGED
2008/02/28 13:16:30 obr 1.8.58.1: #i85831# include translations for OpenDocument types on MacOS X
Diffstat (limited to 'scp2/macros')
-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) ";