Warning, /multimedia/amarok/release_scripts/windows/languages.nsh is written in an unsupported language. File is not indexed.
0001 /**************************************************************************************** 0002 * Copyright (c) 2012 Patrick von Reth <vonreth@kde.org> * 0003 * * 0004 * This program is free software; you can redistribute it and/or modify it under * 0005 * the terms of the GNU General Public License as published by the Free Software * 0006 * Foundation; either version 2 of the License, or (at your option) any later * 0007 * version. * 0008 * * 0009 * This program is distributed in the hope that it will be useful, but WITHOUT ANY * 0010 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 0011 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 0012 * * 0013 * You should have received a copy of the GNU General Public License along with * 0014 * this program. If not, see <http://www.gnu.org/licenses/>. * 0015 ****************************************************************************************/ 0016 0017 /* 0018 This script requires the Unicode NSIS framework http://www.scratchpaper.com/ 0019 You will also need to install http://nsis.sourceforge.net/Nsis7z_plug-in 0020 */ 0021 0022 !include 'LogicLib.nsh' 0023 0024 Var KDE_OFFLINE_FILES 0025 0026 !macro INIT_KDE SUB_DIR 0027 StrCpy $KDE_OFFLINE_FILES "$EXEDIR\${SUB_DIR}" 0028 !macroend 0029 0030 !macro KDE_FETCH_AND_EXTRACT BASE_URL FILENAME DETAILS 0031 ${IfNot} ${FileExists} "$KDE_OFFLINE_FILES\${FILENAME}" 0032 NSISdl::download "${BASE_URL}/${FILENAME}" "$TEMP\${FILENAME}" 0033 Nsis7z::ExtractWithDetails "$TEMP\${FILENAME}" "${DETAILS}" 0034 Delete "$TEMP\${FILENAME}" 0035 ${Else} 0036 Nsis7z::ExtractWithDetails "$KDE_OFFLINE_FILES\${FILENAME}" "${DETAILS}" 0037 ${ENDIF} 0038 !macroend 0039 0040 !macro KDE_ADD_LANGUAGE_PACKAGE LANG LANG_SUFFIX 0041 Section /o "${LANG} (${LANG_SUFFIX})" SECTION_LANGUAGES_${LANG_SUFFIX} 0042 !insertmacro KDE_FETCH_AND_EXTRACT "http://winkde.org/~pvonreth/downloads/l10n/${kde-version}" "kde-l10n-${LANG_SUFFIX}-${kde-version}.7z" "Installing language ${LANG}..." 0043 SectionEnd 0044 !macroend 0045 0046 !macro KDE_LANGUAGE_PACKAGES 0047 SubSection $(SECTION_LANGUAGES) SECTION_LANGUAGES 0048 Section "Amarican English (en_US)" 0049 SectionIn RO 0050 SectionEnd 0051 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "العربية" ar 0052 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "български" bg 0053 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "bosanski" bs 0054 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "català" ca 0055 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "català" ca@valencia 0056 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "čeština" cs 0057 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "dansk" da 0058 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Deutsch" de 0059 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Ελληνικά" el 0060 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "English (United Kingdom)" en_GB 0061 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "español" es 0062 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "eesti" et 0063 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "euskara" eu 0064 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "suomi" fi 0065 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "français" fr 0066 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Gaeilge" ga 0067 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "galego" gl 0068 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "עברית" he 0069 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "hrvatski" hr 0070 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "magyar" hu 0071 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "interlingua" ia 0072 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Bahasa Indonesia" id 0073 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "íslenska" is 0074 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "italiano" it 0075 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "日本語" ja 0076 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Қазақ" kk 0077 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "ភាសាខ្មែរ" km 0078 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "한국어" ko 0079 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "lietuvių" lt 0080 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "latviešu" lv 0081 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "norsk bokmål" nb 0082 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Plattdüütsch" nds 0083 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Nederlands" nl 0084 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "nynorsk" nn 0085 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "ਪੰਜਾਬੀ" pa 0086 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "polski" pl 0087 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "português" pt 0088 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "português (Brasil)" pt_BR 0089 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "română" ro 0090 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "русский" ru 0091 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "slovenský" sk 0092 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "slovenščina" sl 0093 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Српски" sr 0094 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "svenska" sv 0095 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "ไทย" th 0096 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Türkçe" tr 0097 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "None" ug 0098 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "українська" uk 0099 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "Walon" wa 0100 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "中文 (中国)" zh_CN 0101 !insertmacro KDE_ADD_LANGUAGE_PACKAGE "中文 (台湾)" zh_TW 0102 SubSectionEnd 0103 !macroend