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
This commit is contained in:
Vladimir Glazounov 2008-04-15 13:48:21 +00:00
parent 7693c60588
commit ec9984ef03

View file

@ -8,7 +8,7 @@
# #
# $RCSfile: macro.pl,v $ # $RCSfile: macro.pl,v $
# #
# $Revision: 1.9 $ # $Revision: 1.10 $
# #
# This file is part of OpenOffice.org. # This file is part of OpenOffice.org.
# #
@ -61,6 +61,7 @@ write_ALL_LANG();
write_OTHER_LANGS(); write_OTHER_LANGS();
write_DIR_ISOLANGUAGE_ALL_LANG_2(); write_DIR_ISOLANGUAGE_ALL_LANG_2();
write_DIR_ISOLANGUAGE_ALL_LANG(); write_DIR_ISOLANGUAGE_ALL_LANG();
write_DIR_ISOLANGUAGE_ALL_LANG_LPROJ();
write_DIR_IDENT_ALL_LANG(); write_DIR_IDENT_ALL_LANG();
write_EXTRA_ALL_LANG(); write_EXTRA_ALL_LANG();
write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(); write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG();
@ -113,6 +114,16 @@ sub write_DIR_ISOLANGUAGE_ALL_LANG
print OUTFILE "\n\n"; 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 sub write_DIR_IDENT_ALL_LANG
{ {
print OUTFILE "#define DIR_IDENT_ALL_LANG(name) "; print OUTFILE "#define DIR_IDENT_ALL_LANG(name) ";