|
| 1 | +;ZipDLL include file for NSIS |
| 2 | +;Written by Tim Kosse (mailto:tim.kosse@gmx.de) |
| 3 | +;some improvements by deguix |
| 4 | + |
| 5 | +;Supported languages with their translators in alphabetical order: |
| 6 | + |
| 7 | +;Arabic translation by asdfuae |
| 8 | +;Brazilian Portuguese translation by "deguix" |
| 9 | +;Chinese, Simplified translation by Kii Ali <kiiali@cpatch.org> |
| 10 | +;Chinese, Traditional traslation by "matini" and Kii Ali <kiiali@cpatch.org> |
| 11 | +;Croatian translation by "iostriz" |
| 12 | +;Danish translation by Claus Futtrup |
| 13 | +;French translation by "veekee" |
| 14 | +;German translation by Tim Kosse |
| 15 | +;Hungarian translation by Toth Laszlo |
| 16 | +;Korean translation by Seongab Kim |
| 17 | +;Lithuanian translation by Vytautas Krivickas |
| 18 | +;Polish translation by Krzysztof Galuszka |
| 19 | +;Russion translation by Sergey |
| 20 | +;Spanish translation by "dark_boy" |
| 21 | + |
| 22 | +!ifndef ZIPDLL_USED |
| 23 | + |
| 24 | +!define ZIPDLL_USED |
| 25 | + |
| 26 | +!macro ZIPDLL_EXTRACT SOURCE DESTINATION FILE |
| 27 | + |
| 28 | + !define "FILE_${FILE}" |
| 29 | + |
| 30 | + !ifndef FILE_<ALL> |
| 31 | + Push "${FILE}" |
| 32 | + !endif |
| 33 | + |
| 34 | + IfFileExists "${DESTINATION}" +2 |
| 35 | + CreateDirectory "${DESTINATION}" |
| 36 | + |
| 37 | + Push "${DESTINATION}" |
| 38 | + |
| 39 | + IfFileExists "${SOURCE}" +2 |
| 40 | + SetErrors |
| 41 | + |
| 42 | + Push "${SOURCE}" |
| 43 | + |
| 44 | + ;The strings that will be translated are (ready to copy, |
| 45 | + ;remove leading semicolons in your language block): |
| 46 | + |
| 47 | + !ifdef LANG_ENGLISH |
| 48 | + |
| 49 | + ;English is default language of ZipDLL, no need to push the untranslated strings |
| 50 | + |
| 51 | + ;StrCmp $LANGUAGE ${LANG_ENGLISH} 0 +1 |
| 52 | + |
| 53 | + ;Push " Error: %s" |
| 54 | + ;Push "Could not get file attributes." |
| 55 | + ;Push "Error: Could not get file attributes." |
| 56 | + ;Push "Could not extract %s" |
| 57 | + ;Push " Error: Could not extract %s" |
| 58 | + |
| 59 | + ;!ifdef FILE_<ALL> |
| 60 | + ;Push " Extract: %s" |
| 61 | + ;Push " Extracting %d files and directories" |
| 62 | + ;Push "Extracting contents of %s to %s" |
| 63 | + ;!else |
| 64 | + ;Push "Specified file does not exist in archive." |
| 65 | + ;Push "Error: Specified file does not exist in archive." |
| 66 | + ;Push "Extracting the file %s from %s to %s" |
| 67 | + ;!endif |
| 68 | + |
| 69 | + ;Push "/TRANSLATE" |
| 70 | + |
| 71 | + !endif |
| 72 | + |
| 73 | + !ifdef LANG_HUNGARIAN |
| 74 | + |
| 75 | + StrCmp $LANGUAGE ${LANG_HUNGARIAN} 0 +10 |
| 76 | + |
| 77 | + Push " Hiba: %s" |
| 78 | + Push "Nem olvasható a fájl attribútumai." |
| 79 | + Push "Hiba: Nem olvasható a fájl attribútumai." |
| 80 | + Push "Nem sikerült kicsomagolni a(z) %s" |
| 81 | + Push " Hiba: Nem sikerült kicsomagolni a(z) %s" |
| 82 | + |
| 83 | + !ifdef FILE_<ALL> |
| 84 | + Push " Kicsomagolás: %s" |
| 85 | + Push " %d fájl és mappa kicsomagolása" |
| 86 | + Push "%s tartalom kicsomagolása a %s helyre" |
| 87 | + !else |
| 88 | + Push "A megadott fájl nem található az arhívumban." |
| 89 | + Push "Hiba: A megadott fájl nem található az arhívumban." |
| 90 | + Push "%s fájl kcsomagolása a(z) %s fájlból a %s helyre" |
| 91 | + !endif |
| 92 | + |
| 93 | + Push "/TRANSLATE" |
| 94 | + |
| 95 | + !endif |
| 96 | + |
| 97 | + !ifdef LANG_FRENCH |
| 98 | + |
| 99 | + StrCmp $LANGUAGE ${LANG_FRENCH} 0 +10 |
| 100 | + |
| 101 | + Push " Erreur : %s" |
| 102 | + Push "Impossible de récupérer les informations sur le fichier." |
| 103 | + Push "Erreur : Impossible de récupérer les informations sur le fichier." |
| 104 | + Push "Impossible de décompresser %s." |
| 105 | + Push " Erreur : Impossible de décompresser %s." |
| 106 | + |
| 107 | + !ifdef FILE_<ALL> |
| 108 | + Push " Décompression : %s" |
| 109 | + Push " Décompression de %d fichiers et répertoires" |
| 110 | + Push "Décompression des données de %s vers %s" |
| 111 | + !else |
| 112 | + Push "Le fichier spécifié n'existe pas dans l'archive" |
| 113 | + Push "Erreur : Le fichier spécifié n'existe pas dans l'archive" |
| 114 | + Push "Décompression du fichier %s depuis %s vers %s" |
| 115 | + !endif |
| 116 | + |
| 117 | + Push "/TRANSLATE" |
| 118 | + |
| 119 | + !endif |
| 120 | + |
| 121 | + !ifdef LANG_GERMAN |
| 122 | + |
| 123 | + StrCmp $LANGUAGE ${LANG_GERMAN} 0 +10 |
| 124 | + |
| 125 | + Push " Fehler: %s" |
| 126 | + Push "Dateiattribute konnten nicht ermittelt werden." |
| 127 | + Push "Fehler: Dateiattribute konnten nicht ermittelt werden." |
| 128 | + Push "%s konnte nicht dekomprimiert werden." |
| 129 | + Push " Fehler: %s konnte nicht dekomprimiert werden." |
| 130 | + |
| 131 | + !ifdef FILE_<ALL> |
| 132 | + Push " Dekomprimiere: %s" |
| 133 | + Push " Dekomprimiere %d Dateien und Verzeichnisse" |
| 134 | + Push "Dekomprimiere Inhalt von %s nach %s" |
| 135 | + !else |
| 136 | + Push "Die angegebene Datei existiert nicht im Archiv" |
| 137 | + Push "Fehler: Die angegebene Datei existiert nicht im Archiv" |
| 138 | + Push "Dekomprimiere Datei %s von %s nach %s" |
| 139 | + !endif |
| 140 | + |
| 141 | + Push "/TRANSLATE" |
| 142 | + |
| 143 | + !endif |
| 144 | + |
| 145 | + !ifdef LANG_SPANISH |
| 146 | + |
| 147 | + StrCmp $LANGUAGE ${LANG_SPANISH} 0 +10 |
| 148 | + |
| 149 | + Push " Error: %s" |
| 150 | + Push "No se obtuvieron atributos del archivo" |
| 151 | + Push "Error: No se obtuvieron atributos del archivo" |
| 152 | + Push "No se pudo extraer %s" |
| 153 | + Push " Error: No se pudo extraer %s" |
| 154 | + |
| 155 | + !ifdef FILE_<ALL> |
| 156 | + Push " Extraer: %s" |
| 157 | + Push " Extrayendo %d archivos y directorios" |
| 158 | + Push "Extraer archivos de %s a %s" |
| 159 | + !else |
| 160 | + Push "Archivo especificado no existe en el ZIP" |
| 161 | + Push "Error: El archivo especificado no existe en el ZIP" |
| 162 | + Push "Extrayendo el archivo %s de %s a %s" |
| 163 | + !endif |
| 164 | + |
| 165 | + Push "/TRANSLATE" |
| 166 | + |
| 167 | + !endif |
| 168 | + |
| 169 | + !ifdef LANG_PORTUGUESEBR |
| 170 | + |
| 171 | + StrCmp $LANGUAGE ${LANG_PORTUGUESEBR} 0 +10 |
| 172 | + |
| 173 | + Push " Erro: %s" |
| 174 | + Push "Não se pode ler os atributos do arquivo" |
| 175 | + Push "Error: Não se pode ler os atributos do arquivo" |
| 176 | + Push "Não se pode extrair %s" |
| 177 | + Push " Erro: Não se pode extrair %s" |
| 178 | + |
| 179 | + !ifdef FILE_<ALL> |
| 180 | + Push " Extraindo: %s" |
| 181 | + Push " Extraindo %d arquivos e diretórios" |
| 182 | + Push "Extraindo arquivos de %s a %s" |
| 183 | + !else |
| 184 | + Push "O arquivo especificado não existe no ZIP" |
| 185 | + Push "Erro: O arquivo especificado não existe no ZIP" |
| 186 | + Push "Extraindo o arquivo %s de %s a %s" |
| 187 | + !endif |
| 188 | + |
| 189 | + Push "/TRANSLATE" |
| 190 | + |
| 191 | + !endif |
| 192 | + |
| 193 | + !ifdef LANG_TRADCHINESE |
| 194 | + |
| 195 | + StrCmp $LANGUAGE ${LANG_TRADCHINESE} 0 +11 |
| 196 | + |
| 197 | + Push " ¿ù»~: %s" |
| 198 | + Push "µLªk¨ú±oÀÉ®×ÄݩʡC" |
| 199 | + Push "¿ù»~: µLªk¨ú±oÀÉ®×ÄݩʡC" |
| 200 | + Push "µLªk¸ÑÀ£ÁY %s" |
| 201 | + Push " ¿ù»~¡GµLªk¸ÑÀ£ÁY %s" |
| 202 | + |
| 203 | + !ifdef FILE_<ALL> |
| 204 | + Push " ¸ÑÀ£ÁY¡G%s" |
| 205 | + Push " ¥¿¦b¸ÑÀ£ÁY %d ÀÉ®×»P¥Ø¿ý" |
| 206 | + Push "¥¿¦b¸ÑÀ£ÁY %s ªº¤º®e¨ì %s" |
| 207 | + !else |
| 208 | + Push "«ü©wªºÀɮר䣦s¦b©óÀ£ÁY¥]¡C" |
| 209 | + Push "¿ù»~¡G«ü©wªºÀɮר䣦s¦b©óÀ£ÁY¥]¡C" |
| 210 | + Push "¥¿¦b¸ÑÀ£ÁYÀÉ®× %s ¡A±q %s ¨ì %s" |
| 211 | + !endif |
| 212 | + |
| 213 | + Push "/TRANSLATE" |
| 214 | + |
| 215 | + !endif |
| 216 | + |
| 217 | + !ifdef LANG_SIMPCHINESE |
| 218 | + |
| 219 | + StrCmp $LANGUAGE ${LANG_SIMPCHINESE} 0 +11 |
| 220 | + |
| 221 | + Push " ´íÎó: %s" |
| 222 | + Push "ÎÞ·¨È¡µÃÎļþÊôÐÔ¡£" |
| 223 | + Push "´íÎó: ÎÞ·¨È¡µÃÎļþÊôÐÔ¡£" |
| 224 | + Push "ÎÞ·¨½âѹËõ %s" |
| 225 | + Push " ´íÎó£ºÎÞ·¨½âѹËõ %s" |
| 226 | + |
| 227 | + !ifdef FILE_<ALL> |
| 228 | + Push " ½âѹËõ£º%s" |
| 229 | + Push " ÕýÔÚ½âѹËõ %d ÎļþÓëĿ¼" |
| 230 | + Push "ÕýÔÚ½âѹËõ %s µÄÄÚÈݵ½ %s" |
| 231 | + !else |
| 232 | + Push "Ö¸¶¨µÄÎļþ²¢²»´æÔÚÓÚѹËõ°ü¡£" |
| 233 | + Push "´íÎó£ºÖ¸¶¨µÄÎļþ²¢²»´æÔÚÓÚѹËõ°ü¡£" |
| 234 | + Push "ÕýÔÚ½âѹËõÎļþ %s £¬´Ó %s µ½ %s" |
| 235 | + !endif |
| 236 | + |
| 237 | + Push "/TRANSLATE" |
| 238 | + |
| 239 | + !endif |
| 240 | + |
| 241 | + !ifdef LANG_LITHUANIAN |
| 242 | + |
| 243 | + StrCmp $LANGUAGE ${LANG_LITHUANIAN} 0 +10 |
| 244 | + |
| 245 | + Push " Klaida: %s" |
| 246 | + Push "Negaleta gauti bylos nuorodu." |
| 247 | + Push "Klaida: Negaleta gauti bylos nuorodu." |
| 248 | + Push "Negaleta ištraukti %s" |
| 249 | + Push " Klaida: Negaleta ištraukti %s" |
| 250 | + |
| 251 | + !ifdef FILE_<ALL> |
| 252 | + Push " Ištraukiam : %s" |
| 253 | + Push " Ištraukiame %d bylas ir katalogus" |
| 254 | + Push "Ištraukiame viska is %s i %s" |
| 255 | + !else |
| 256 | + Push "Parinkta byla nesurasta šiame archyve." |
| 257 | + Push "Klaida: Parinkta byla nesurasta šiame archyve." |
| 258 | + Push "Ištraukiame byla %s iš %s i %s" |
| 259 | + !endif |
| 260 | + |
| 261 | + Push "/TRANSLATE" |
| 262 | + |
| 263 | + !endif |
| 264 | + |
| 265 | + !ifdef "LANG_POLISH" |
| 266 | + |
| 267 | + strcmp $LANGUAGE ${LANG_POLISH} 0 +10 |
| 268 | + |
| 269 | + Push " B³¹d: %s" |
| 270 | + Push "Nie mo¿e pobraæ atrybutu pliku." |
| 271 | + Push "B³¹d: Nie mo¿e pobraæ atrybutu pliku." |
| 272 | + Push "Nie mo¿e rozpakowaæ %s." |
| 273 | + Push " B³¹d: Nie mo¿e rozpakowaæ %s." |
| 274 | + |
| 275 | + !ifdef FILE_<ALL> |
| 276 | + Push " Rozpakuj: %s" |
| 277 | + Push " Rozpakowywanie %d plików i katalogów" |
| 278 | + Push "Rozpakowywanie zawartoœci %s do %s" |
| 279 | + !else |
| 280 | + Push "Plik nie istnieje w archiwum" |
| 281 | + Push "B³¹d: Plik nie istnieje w archiwum" |
| 282 | + Push "Rozpakowywanie pliku %s z %s do %s" |
| 283 | + !endif |
| 284 | + |
| 285 | + Push "/TRANSLATE" |
| 286 | + |
| 287 | + !endif |
| 288 | + |
| 289 | + !ifdef "LANG_KOREAN" |
| 290 | + strcmp $LANGUAGE ${LANG_KOREAN} 0 +10 |
| 291 | + Push " ¿À·ù : %s" |
| 292 | + Push "ÈÀÏ ¼Ó¼ºÀ» ¾ò¾î¿Ã ¼ö ¾ø½À´Ï´Ù." |
| 293 | + Push "¿À·ù: ÈÀÏ ¼Ó¼ºÀ» ¾ò¾î¿Ã ¼ö ¾ø½À´Ï´Ù." |
| 294 | + Push "%sÀ»(¸¦) Ç® ¼ö ¾ø½À´Ï´Ù." |
| 295 | + Push " ¿À·ù: %sÀ»(¸¦) Ç® ¼ö ¾ø½À´Ï´Ù." |
| 296 | + |
| 297 | + !ifdef FILE_<ALL> |
| 298 | + Push " Ç®±â : %s" |
| 299 | + Push " %d°³ÀÇ ÆÄÀϰú Æú´õ¸¦ Ǫ´Â Áß" |
| 300 | + Push "%sÀÇ ³»¿ëÀ» %s¿¡ Ǫ´Â Áß" |
| 301 | + !else |
| 302 | + Push "ÁöÁ¤µÈ ÆÄÀÏÀÌ ¾ÐÃà ÆÄÀÏ ¾È¿¡ ¾ø½À´Ï´Ù." |
| 303 | + Push "¿À·ù: ÁöÁ¤µÈ ÆÄÀÏÀÌ ¾ÐÃà ÆÄÀÏ ¾È¿¡ ¾ø½À´Ï´Ù." |
| 304 | + Push "%s ÆÄÀÏÀ» %s¿¡¼ %s·Î Ǫ´Â Áß" |
| 305 | + !endif |
| 306 | + |
| 307 | + Push "/TRANSLATE" |
| 308 | + |
| 309 | + !endif |
| 310 | + |
| 311 | + !ifdef "LANG_RUSSIAN" |
| 312 | + |
| 313 | + strcmp $LANGUAGE ${LANG_RUSSIAN} 0 +10 |
| 314 | + |
| 315 | + Push " Îøèáêà: %s" |
| 316 | + Push "Íå ìîãó ïîëó÷èòü àòðèáóòû ôàéëà." |
| 317 | + Push "Îøèáêà: Íå ìîãó ïîëó÷èòü àòðèáóòû ôàéëà." |
| 318 | + Push "Íå ìîãó èçâëå÷ü %s" |
| 319 | + Push " Îøèáêà: Íå ìîãó èçâëå÷ü %s" |
| 320 | + |
| 321 | + !ifdef LANG_<ALL> |
| 322 | + Push " Èçâëåêàþ : %s" |
| 323 | + Push " Èçâëå÷åíèå %d ôàéëîâ è ïàïîê" |
| 324 | + Push "Ñïèñîê èçâëåêàåìûõ ôàéëîâ èç %s â %s" |
| 325 | + !else |
| 326 | + Push "Èçâëåêàåìûé ôàéë íå îáíàðóæåí â àðõèâå." |
| 327 | + Push "Îøèáêà: SÈçâëåêàåìûé ôàéë íå îáíàðóæåí â àðõèâå." |
| 328 | + Push "Èçâëå÷åíèå ôàéëà %s èç %s â %s" |
| 329 | + !endif |
| 330 | + |
| 331 | + Push "/TRANSLATE" |
| 332 | + |
| 333 | + !endif |
| 334 | + |
| 335 | + !ifdef LANG_ARABIC |
| 336 | + |
| 337 | + StrCmp $LANGUAGE ${LANG_ARABIC} 0 +10 |
| 338 | + |
| 339 | + Push " ÎØÇÁ: %s" |
| 340 | + Push "áã íÍÕá Úáì ÎÕÇÆÕ ÇáãáÝ." |
| 341 | + Push "ÎØÇÁ: áã íÍÕá Úáì ÎÕÇÆÕ ÇáãáÝ." |
| 342 | + Push "áÇ íãßä ÇÓÊÎÑÇÌ %s" |
| 343 | + Push " ÎØÇÁ: áÇ íãßä ÇÓÊÎÑÇÌ %s" |
| 344 | + |
| 345 | + !ifdef FILE_<ALL> |
| 346 | + Push " ÇÓÊÎÑÇÌ : %s" |
| 347 | + Push " ÇÓÊÎÑÇÌ ãÌáÏÇÊ æ ãáÝÇÊ %d" |
| 348 | + Push "ÇÓÊÎÑÇÌ ãÍÊæíÇÊ %s Åáì %s" |
| 349 | + !else |
| 350 | + Push "ÇáãáÝ ÛíÑ ãæÌæÏ Ýí ÇáÓÌá." |
| 351 | + Push "ÎØÇÁ: ÇáãáÝ ÛíÑ ãæÌæÏ Ýí ÇáÓÌá." |
| 352 | + Push "ÇÓÊÎÑÇÌ ÇáãáÝ %s ãä %s Åáì %s" |
| 353 | + !endif |
| 354 | + |
| 355 | + Push "/TRANSLATE" |
| 356 | + |
| 357 | + !endif |
| 358 | + |
| 359 | + !ifdef LANG_DANISH |
| 360 | + |
| 361 | + StrCmp $LANGUAGE ${LANG_DANISH} 0 +10 |
| 362 | + |
| 363 | + Push " Fejl: %s" |
| 364 | + Push "Kunne ikke læse fil attributter." |
| 365 | + Push "Fejl: Kunne ikke læse fil attributter." |
| 366 | + Push "Kunne ikke udpakke %s" |
| 367 | + Push " Fejl: Kunne ikke udpakke %s" |
| 368 | + |
| 369 | + !ifdef FILE_<ALL> |
| 370 | + Push " Udpakker: %s" |
| 371 | + Push " Udpakker %d filer og mapper" |
| 372 | + Push "Udpakker indhold fra %s til %s" |
| 373 | + !else |
| 374 | + Push "Specificeret fil eksisterer ikke i filarkivet" |
| 375 | + Push "Fejl: Specificeret fil eksisterer ikke i filarkivet" |
| 376 | + Push "Udpakker fil %s fra %s til %s" |
| 377 | + !endif |
| 378 | + |
| 379 | + Push "/TRANSLATE" |
| 380 | + |
| 381 | + !endif |
| 382 | + |
| 383 | + !ifdef LANG_CROATIAN |
| 384 | + |
| 385 | + StrCmp $LANGUAGE ${LANG_CROATIAN} 0 +10 |
| 386 | + |
| 387 | + Push " Greška: %s" |
| 388 | + Push "Ne mogu dohvatiti atribute datoteke." |
| 389 | + Push "Greška: Ne mogu dohvatiti atribute datoteke." |
| 390 | + Push "Ne mogu ekstrahirati %s" |
| 391 | + Push " Greška: Ne mogu ekstrahirati %s" |
| 392 | + |
| 393 | + !ifdef FILE_<ALL> |
| 394 | + Push " Ekstrakcija: %s" |
| 395 | + Push " Ekstrakcija %d datoteka i mapa" |
| 396 | + Push "Ekstrakcija sadržaja %s u %s" |
| 397 | + !else |
| 398 | + Push "Tražena datoteka ne postoji u arhivi." |
| 399 | + Push "Greška: Tražena datoteka ne postoji u arhivi." |
| 400 | + Push "Ekstrakcija datoteke %s iz %s u %s" |
| 401 | + !endif |
| 402 | + |
| 403 | + Push "/TRANSLATE" |
| 404 | + |
| 405 | + !endif |
| 406 | + |
| 407 | + !ifdef FILE_<ALL> |
| 408 | + !echo "============== ZipDLL::extractall defined ====================" |
| 409 | + ZipDLL::extractall |
| 410 | + !else |
| 411 | + !echo "============== ZipDLL::extractfile defined ====================" |
| 412 | + ZipDLL::extractfile |
| 413 | + !endif |
| 414 | + |
| 415 | + !undef "FILE_${FILE}" |
| 416 | + |
| 417 | +!macroend |
| 418 | + |
| 419 | +!endif |
0 commit comments