diff options
author | sb <sb@openoffice.org> | 2009-10-21 11:21:09 +0200 |
---|---|---|
committer | sb <sb@openoffice.org> | 2009-10-21 11:21:09 +0200 |
commit | 9751861070f6746d46defe34cbcd8766c53ae665 (patch) | |
tree | 62469237858fb7326d5133cb08aeb04dc8919a46 /scp2/macros | |
parent | 08b31d3e7ea8e4138beaa6d3b9aee4f224d550d8 (diff) |
#i101955# registry_en-US.xcd is effectively empty (fallback en-US configuration data is stored in the main non-localized xcd files), so need not be installed
Diffstat (limited to 'scp2/macros')
-rw-r--r-- | scp2/macros/macro.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scp2/macros/macro.pl b/scp2/macros/macro.pl index 43a00f4fe411..91089c901cef 100644 --- a/scp2/macros/macro.pl +++ b/scp2/macros/macro.pl @@ -64,6 +64,7 @@ write_DIR_ISOLANGUAGE_ALL_LANG(); write_DIR_ISOLANGUAGE_ALL_LANG_LPROJ(); write_DIR_IDENT_ALL_LANG(); write_EXTRA_ALL_LANG(); +write_EXTRA_ALL_LANG_BUT_EN_US(); write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG(); write_EXTRA_IDENT_ALL_LANG(); write_RESFILE_ALL_LANG(); @@ -146,6 +147,21 @@ sub write_EXTRA_ALL_LANG print OUTFILE "\n\n"; } +sub write_EXTRA_ALL_LANG_BUT_EN_US +{ + print OUTFILE "#define EXTRA_ALL_LANG_BUT_EN_US(name,ext) "; + my $first = 1; + foreach $lang (@completelangiso) { + if ($lang ne "en-US") { + print OUTFILE "; " unless $first; + $first = 0; + print OUTFILE + "\\\n\tName ($lang) = CONFIGLANGFILENAME(name,_$lang,ext)"; + } + } + print OUTFILE "\n\n"; +} + sub write_EXTRA_ALL_GOOD_HELP_LOCALIZATIONS_LANG { my $first = 1; |