diff options
author | Andras Timar <atimar@suse.com> | 2011-09-28 10:52:58 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-09-28 13:48:10 +0200 |
commit | 5e61a194f1c5da0152b132b1fd182426c8b7afaa (patch) | |
tree | 583acd7b25571422ec30d76c5d9b303ad0bc9087 /solenv | |
parent | 05293cb04c707b12047ce2378894cf6b7bb67bbc (diff) |
remove obsolete fake_languagesstring() subroutine
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/bin/modules/installer/languages.pm | 45 | ||||
-rw-r--r-- | solenv/bin/modules/installer/scriptitems.pm | 2 |
2 files changed, 0 insertions, 47 deletions
diff --git a/solenv/bin/modules/installer/languages.pm b/solenv/bin/modules/installer/languages.pm index 8f0b6e929356..8c7fc7e3b17d 100644 --- a/solenv/bin/modules/installer/languages.pm +++ b/solenv/bin/modules/installer/languages.pm @@ -171,51 +171,6 @@ sub get_all_languages_for_one_product return \@languagearray; } -#################################################################################### -# FAKE: The languages string may contain only "de", "en-US", instead of "01", ... -# But this has to be removed as soon as possible. -# In the future the languages are determined with "en-US" instead "01" -# already on the command line and in the zip list file. -#################################################################################### - -sub fake_languagesstring -{ - my ($stringref) = @_; - - # ATTENTION: This function has to be removed as soon as possible! - - $$stringref =~ s/01/en-US/; - $$stringref =~ s/03/pt/; - $$stringref =~ s/07/ru/; - $$stringref =~ s/30/el/; - $$stringref =~ s/31/nl/; - $$stringref =~ s/33/fr/; - $$stringref =~ s/34/es/; - $$stringref =~ s/35/fi/; - $$stringref =~ s/36/hu/; - $$stringref =~ s/37/ca/; - $$stringref =~ s/39/it/; - $$stringref =~ s/42/cs/; - $$stringref =~ s/43/sk/; - $$stringref =~ s/44/en-GB/; - $$stringref =~ s/45/da/; - $$stringref =~ s/46/sv/; - $$stringref =~ s/47/no/; - $$stringref =~ s/48/pl/; - $$stringref =~ s/49/de/; - $$stringref =~ s/55/pt-BR/; - $$stringref =~ s/66/th/; - $$stringref =~ s/77/et/; - $$stringref =~ s/81/ja/; - $$stringref =~ s/82/ko/; - $$stringref =~ s/86/zh-CN/; - $$stringref =~ s/88/zh-TW/; - $$stringref =~ s/90/tr/; - $$stringref =~ s/91/hi-IN/; - $$stringref =~ s/96/ar/; - $$stringref =~ s/97/he/; -} - ########################################################## # Converting the language array into a string for output ########################################################## diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm index 34f16ec0be64..9189b109bd6f 100644 --- a/solenv/bin/modules/installer/scriptitems.pm +++ b/solenv/bin/modules/installer/scriptitems.pm @@ -783,8 +783,6 @@ sub replace_setup_variables my $languagesstring = $$languagestringref; $languagesstring =~ s/\_/ /g; # replacing underscore with whitespace - # $languagesstring is "01 49" instead of "en-US de" - installer::languages::fake_languagesstring(\$languagesstring); my $productname = $hashref->{'PRODUCTNAME'}; my $productversion = $hashref->{'PRODUCTVERSION'}; |