download.pm (b871de36) | download.pm (4ff3bb4a) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 1185 unchanged lines hidden (view full) --- 1194 elsif ( $language eq "he" ) { $nsislanguage = "Hebrew"; } 1195 elsif ( $language eq "is" ) { $nsislanguage = "Icelandic"; } 1196 elsif ( $language eq "id" ) { $nsislanguage = "Indonesian"; } 1197 elsif ( $language eq "it" ) { $nsislanguage = "Italian"; } 1198 elsif ( $language eq "lv" ) { $nsislanguage = "Latvian"; } 1199 elsif ( $language eq "lt" ) { $nsislanguage = "Lithuanian"; } 1200 elsif ( $language eq "mk" ) { $nsislanguage = "Macedonian"; } 1201 elsif ( $language eq "mn" ) { $nsislanguage = "Mongolian"; } | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 1185 unchanged lines hidden (view full) --- 1194 elsif ( $language eq "he" ) { $nsislanguage = "Hebrew"; } 1195 elsif ( $language eq "is" ) { $nsislanguage = "Icelandic"; } 1196 elsif ( $language eq "id" ) { $nsislanguage = "Indonesian"; } 1197 elsif ( $language eq "it" ) { $nsislanguage = "Italian"; } 1198 elsif ( $language eq "lv" ) { $nsislanguage = "Latvian"; } 1199 elsif ( $language eq "lt" ) { $nsislanguage = "Lithuanian"; } 1200 elsif ( $language eq "mk" ) { $nsislanguage = "Macedonian"; } 1201 elsif ( $language eq "mn" ) { $nsislanguage = "Mongolian"; } |
1202 elsif ( $language eq "nb" ) { $nsislanguage = "Norwegian"; } |
|
1202 elsif ( $language eq "no" ) { $nsislanguage = "Norwegian"; } 1203 elsif ( $language eq "no-NO" ) { $nsislanguage = "Norwegian"; } 1204 elsif ( $language eq "es" ) { $nsislanguage = "Spanish"; } 1205 elsif ( $language eq "sl" ) { $nsislanguage = "Slovenian"; } 1206 elsif ( $language eq "sv" ) { $nsislanguage = "Swedish"; } 1207 elsif ( $language eq "sk" ) { $nsislanguage = "Slovak"; } 1208 elsif ( $language eq "pl" ) { $nsislanguage = "Polish"; } 1209 elsif ( $language eq "pt-BR" ) { $nsislanguage = "PortugueseBR"; } --- 149 unchanged lines hidden (view full) --- 1359 } 1360 1361 return $newstring; 1362} 1363 1364################################################################## 1365# Windows: Replacing strings in NSIS nsh file 1366# nsh file syntax: | 1203 elsif ( $language eq "no" ) { $nsislanguage = "Norwegian"; } 1204 elsif ( $language eq "no-NO" ) { $nsislanguage = "Norwegian"; } 1205 elsif ( $language eq "es" ) { $nsislanguage = "Spanish"; } 1206 elsif ( $language eq "sl" ) { $nsislanguage = "Slovenian"; } 1207 elsif ( $language eq "sv" ) { $nsislanguage = "Swedish"; } 1208 elsif ( $language eq "sk" ) { $nsislanguage = "Slovak"; } 1209 elsif ( $language eq "pl" ) { $nsislanguage = "Polish"; } 1210 elsif ( $language eq "pt-BR" ) { $nsislanguage = "PortugueseBR"; } --- 149 unchanged lines hidden (view full) --- 1360 } 1361 1362 return $newstring; 1363} 1364 1365################################################################## 1366# Windows: Replacing strings in NSIS nsh file 1367# nsh file syntax: |
1367# !define MUI_TEXT_DIRECTORY_TITLE "Zielverzeichnis ausw�hlen" | 1368# !define MUI_TEXT_DIRECTORY_TITLE "Zielverzeichnis auswählen" |
1368################################################################## 1369 1370sub replace_identifier_in_nshfile 1371{ 1372 my ( $nshfile, $identifier, $newstring, $nshfilename, $onelanguage ) = @_; 1373 1374 for ( my $i = 0; $i <= $#{$nshfile}; $i++ ) 1375 { --- 653 unchanged lines hidden --- | 1369################################################################## 1370 1371sub replace_identifier_in_nshfile 1372{ 1373 my ( $nshfile, $identifier, $newstring, $nshfilename, $onelanguage ) = @_; 1374 1375 for ( my $i = 0; $i <= $#{$nshfile}; $i++ ) 1376 { --- 653 unchanged lines hidden --- |