From ec9984ef0329854abceb870e8075114acc102ab7 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 15 Apr 2008 13:48:21 +0000 Subject: 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 --- scp2/macros/macro.pl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'scp2/macros') 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) "; -- cgit