balena-cli/release/installers/win32/Include/zipdll.nsh
2015-02-26 12:03:16 -04:00

418 lines
11 KiB
Plaintext
Raw Blame History

;ZipDLL include file for NSIS
;Written by Tim Kosse (mailto:tim.kosse@gmx.de)
;some improvements by deguix
;Supported languages with their translators in alphabetical order:
;Arabic translation by asdfuae
;Brazilian Portuguese translation by "deguix"
;Chinese, Simplified translation by Kii Ali <kiiali@cpatch.org>
;Chinese, Traditional traslation by "matini" and Kii Ali <kiiali@cpatch.org>
;Croatian translation by "iostriz"
;Danish translation by Claus Futtrup
;French translation by "veekee"
;German translation by Tim Kosse
;Hungarian translation by Toth Laszlo
;Korean translation by Seongab Kim
;Lithuanian translation by Vytautas Krivickas
;Polish translation by Krzysztof Galuszka
;Russion translation by Sergey
;Spanish translation by "dark_boy"
!ifndef ZIPDLL_USED
!define ZIPDLL_USED
!macro ZIPDLL_EXTRACT SOURCE DESTINATION FILE
!define "FILE_${FILE}"
!ifndef FILE_<ALL>
Push "${FILE}"
!endif
IfFileExists "${DESTINATION}" +2
CreateDirectory "${DESTINATION}"
Push "${DESTINATION}"
IfFileExists "${SOURCE}" +2
SetErrors
Push "${SOURCE}"
;The strings that will be translated are (ready to copy,
;remove leading semicolons in your language block):
!ifdef LANG_ENGLISH
;English is default language of ZipDLL, no need to push the untranslated strings
;StrCmp $LANGUAGE ${LANG_ENGLISH} 0 +1
;Push " Error: %s"
;Push "Could not get file attributes."
;Push "Error: Could not get file attributes."
;Push "Could not extract %s"
;Push " Error: Could not extract %s"
;!ifdef FILE_<ALL>
;Push " Extract: %s"
;Push " Extracting %d files and directories"
;Push "Extracting contents of %s to %s"
;!else
;Push "Specified file does not exist in archive."
;Push "Error: Specified file does not exist in archive."
;Push "Extracting the file %s from %s to %s"
;!endif
;Push "/TRANSLATE"
!endif
!ifdef LANG_HUNGARIAN
StrCmp $LANGUAGE ${LANG_HUNGARIAN} 0 +10
Push " Hiba: %s"
Push "Nem olvashat<61> a f<>jl attrib<69>tumai."
Push "Hiba: Nem olvashat<61> a f<>jl attrib<69>tumai."
Push "Nem siker<65>lt kicsomagolni a(z) %s"
Push " Hiba: Nem siker<65>lt kicsomagolni a(z) %s"
!ifdef FILE_<ALL>
Push " Kicsomagol<6F>s: %s"
Push " %d f<>jl <20>s mappa kicsomagol<6F>sa"
Push "%s tartalom kicsomagol<6F>sa a %s helyre"
!else
Push "A megadott f<>jl nem tal<61>lhat<61> az arh<72>vumban."
Push "Hiba: A megadott f<>jl nem tal<61>lhat<61> az arh<72>vumban."
Push "%s f<>jl kcsomagol<6F>sa a(z) %s f<>jlb<6C>l a %s helyre"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_FRENCH
StrCmp $LANGUAGE ${LANG_FRENCH} 0 +10
Push " Erreur : %s"
Push "Impossible de r<>cup<75>rer les informations sur le fichier."
Push "Erreur : Impossible de r<>cup<75>rer les informations sur le fichier."
Push "Impossible de d<>compresser %s."
Push " Erreur : Impossible de d<>compresser %s."
!ifdef FILE_<ALL>
Push " D<>compression : %s"
Push " D<>compression de %d fichiers et r<>pertoires"
Push "D<>compression des donn<6E>es de %s vers %s"
!else
Push "Le fichier sp<73>cifi<66> n'existe pas dans l'archive"
Push "Erreur : Le fichier sp<73>cifi<66> n'existe pas dans l'archive"
Push "D<>compression du fichier %s depuis %s vers %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_GERMAN
StrCmp $LANGUAGE ${LANG_GERMAN} 0 +10
Push " Fehler: %s"
Push "Dateiattribute konnten nicht ermittelt werden."
Push "Fehler: Dateiattribute konnten nicht ermittelt werden."
Push "%s konnte nicht dekomprimiert werden."
Push " Fehler: %s konnte nicht dekomprimiert werden."
!ifdef FILE_<ALL>
Push " Dekomprimiere: %s"
Push " Dekomprimiere %d Dateien und Verzeichnisse"
Push "Dekomprimiere Inhalt von %s nach %s"
!else
Push "Die angegebene Datei existiert nicht im Archiv"
Push "Fehler: Die angegebene Datei existiert nicht im Archiv"
Push "Dekomprimiere Datei %s von %s nach %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_SPANISH
StrCmp $LANGUAGE ${LANG_SPANISH} 0 +10
Push " Error: %s"
Push "No se obtuvieron atributos del archivo"
Push "Error: No se obtuvieron atributos del archivo"
Push "No se pudo extraer %s"
Push " Error: No se pudo extraer %s"
!ifdef FILE_<ALL>
Push " Extraer: %s"
Push " Extrayendo %d archivos y directorios"
Push "Extraer archivos de %s a %s"
!else
Push "Archivo especificado no existe en el ZIP"
Push "Error: El archivo especificado no existe en el ZIP"
Push "Extrayendo el archivo %s de %s a %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_PORTUGUESEBR
StrCmp $LANGUAGE ${LANG_PORTUGUESEBR} 0 +10
Push " Erro: %s"
Push "N<>o se pode ler os atributos do arquivo"
Push "Error: N<>o se pode ler os atributos do arquivo"
Push "N<>o se pode extrair %s"
Push " Erro: N<>o se pode extrair %s"
!ifdef FILE_<ALL>
Push " Extraindo: %s"
Push " Extraindo %d arquivos e diret<65>rios"
Push "Extraindo arquivos de %s a %s"
!else
Push "O arquivo especificado n<>o existe no ZIP"
Push "Erro: O arquivo especificado n<>o existe no ZIP"
Push "Extraindo o arquivo %s de %s a %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_TRADCHINESE
StrCmp $LANGUAGE ${LANG_TRADCHINESE} 0 +11
Push " <20><><EFBFBD>~: %s"
Push "<22>L<EFBFBD>k<EFBFBD><6B><EFBFBD>o<EFBFBD>ɮ<EFBFBD><C9AE>ݩʡC"
Push "<22><><EFBFBD>~: <20>L<EFBFBD>k<EFBFBD><6B><EFBFBD>o<EFBFBD>ɮ<EFBFBD><C9AE>ݩʡC"
Push "<22>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>Y %s"
Push " <20><><EFBFBD>~<7E>G<EFBFBD>L<EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD><EFBFBD>Y %s"
!ifdef FILE_<ALL>
Push " <20><><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD>G%s"
Push " <20><><EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD>Y %d <20>ɮ׻P<D7BB>ؿ<EFBFBD>"
Push "<22><><EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD>Y %s <20><><EFBFBD><EFBFBD><EFBFBD>e<EFBFBD><65> %s"
!else
Push "<22><><EFBFBD>w<EFBFBD><77><EFBFBD>ɮרä<D7A8><C3A4>s<EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD>]<5D>C"
Push "<22><><EFBFBD>~<7E>G<EFBFBD><47><EFBFBD>w<EFBFBD><77><EFBFBD>ɮרä<D7A8><C3A4>s<EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD>]<5D>C"
Push "<22><><EFBFBD>b<EFBFBD><62><EFBFBD><EFBFBD><EFBFBD>Y<EFBFBD>ɮ<EFBFBD> %s <20>A<EFBFBD>q %s <20><> %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_SIMPCHINESE
StrCmp $LANGUAGE ${LANG_SIMPCHINESE} 0 +11
Push " <20><><EFBFBD><EFBFBD>: %s"
Push "<22>޷<EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ԡ<EFBFBD>"
Push "<22><><EFBFBD><EFBFBD>: <20>޷<EFBFBD>ȡ<EFBFBD><C8A1><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD>ԡ<EFBFBD>"
Push "<22>޷<EFBFBD><DEB7><EFBFBD>ѹ<EFBFBD><D1B9> %s"
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޷<EFBFBD><DEB7><EFBFBD>ѹ<EFBFBD><D1B9> %s"
!ifdef FILE_<ALL>
Push " <20><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>%s"
Push " <20><><EFBFBD>ڽ<EFBFBD>ѹ<EFBFBD><D1B9> %d <20>ļ<EFBFBD><C4BC><EFBFBD>Ŀ¼"
Push "<22><><EFBFBD>ڽ<EFBFBD>ѹ<EFBFBD><D1B9> %s <20><><EFBFBD><EFBFBD><EFBFBD>ݵ<EFBFBD> %s"
!else
Push "ָ<><D6B8><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
Push "<22><><EFBFBD>ڽ<EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>ļ<EFBFBD> %s <20><><EFBFBD><EFBFBD> %s <20><> %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_LITHUANIAN
StrCmp $LANGUAGE ${LANG_LITHUANIAN} 0 +10
Push " Klaida: %s"
Push "Negaleta gauti bylos nuorodu."
Push "Klaida: Negaleta gauti bylos nuorodu."
Push "Negaleta i<>traukti %s"
Push " Klaida: Negaleta i<>traukti %s"
!ifdef FILE_<ALL>
Push " I<>traukiam : %s"
Push " I<>traukiame %d bylas ir katalogus"
Push "I<>traukiame viska is %s i %s"
!else
Push "Parinkta byla nesurasta <20>iame archyve."
Push "Klaida: Parinkta byla nesurasta <20>iame archyve."
Push "I<>traukiame byla %s i<> %s i %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef "LANG_POLISH"
strcmp $LANGUAGE ${LANG_POLISH} 0 +10
Push " B<><42>d: %s"
Push "Nie mo<6D>e pobra<72> atrybutu pliku."
Push "B<><42>d: Nie mo<6D>e pobra<72> atrybutu pliku."
Push "Nie mo<6D>e rozpakowa<77> %s."
Push " B<><42>d: Nie mo<6D>e rozpakowa<77> %s."
!ifdef FILE_<ALL>
Push " Rozpakuj: %s"
Push " Rozpakowywanie %d plik<69>w i katalog<6F>w"
Push "Rozpakowywanie zawarto<74>ci %s do %s"
!else
Push "Plik nie istnieje w archiwum"
Push "B<><42>d: Plik nie istnieje w archiwum"
Push "Rozpakowywanie pliku %s z %s do %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef "LANG_KOREAN"
strcmp $LANGUAGE ${LANG_KOREAN} 0 +10
Push " <20><><EFBFBD><EFBFBD> : %s"
Push "ȭ<><C8AD> <20>Ӽ<EFBFBD><D3BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."
Push "<22><><EFBFBD><EFBFBD>: ȭ<><C8AD> <20>Ӽ<EFBFBD><D3BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."
Push "%s<><73>(<28><>) Ǯ <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."
Push " <20><><EFBFBD><EFBFBD>: %s<><73>(<28><>) Ǯ <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."
!ifdef FILE_<ALL>
Push " Ǯ<><C7AE> : %s"
Push " %d<><64><EFBFBD><EFBFBD> <20><><EFBFBD>ϰ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ǫ<><C7AA> <20><>"
Push "%s<><73> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s<><73> Ǫ<><C7AA> <20><>"
!else
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ȿ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."
Push "<22><><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ȿ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>."
Push "%s <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s<><73><EFBFBD><EFBFBD> %s<><73> Ǫ<><C7AA> <20><>"
!endif
Push "/TRANSLATE"
!endif
!ifdef "LANG_RUSSIAN"
strcmp $LANGUAGE ${LANG_RUSSIAN} 0 +10
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: %s"
Push "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s"
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s"
!ifdef LANG_<ALL>
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : %s"
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %d <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD>"
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> %s <20> %s"
!else
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: S<><53><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> %s <20><> %s <20> %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_ARABIC
StrCmp $LANGUAGE ${LANG_ARABIC} 0 +10
Push " <20><><EFBFBD><EFBFBD>: %s"
Push "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><><EFBFBD><EFBFBD>: <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s"
Push " <20><><EFBFBD><EFBFBD>: <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s"
!ifdef FILE_<ALL>
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : %s"
Push " <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> %d"
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s <20><><EFBFBD> %s"
!else
Push "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><><EFBFBD><EFBFBD>: <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>."
Push "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> %s <20><> %s <20><><EFBFBD> %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_DANISH
StrCmp $LANGUAGE ${LANG_DANISH} 0 +10
Push " Fejl: %s"
Push "Kunne ikke l<>se fil attributter."
Push "Fejl: Kunne ikke l<>se fil attributter."
Push "Kunne ikke udpakke %s"
Push " Fejl: Kunne ikke udpakke %s"
!ifdef FILE_<ALL>
Push " Udpakker: %s"
Push " Udpakker %d filer og mapper"
Push "Udpakker indhold fra %s til %s"
!else
Push "Specificeret fil eksisterer ikke i filarkivet"
Push "Fejl: Specificeret fil eksisterer ikke i filarkivet"
Push "Udpakker fil %s fra %s til %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef LANG_CROATIAN
StrCmp $LANGUAGE ${LANG_CROATIAN} 0 +10
Push " Gre<72>ka: %s"
Push "Ne mogu dohvatiti atribute datoteke."
Push "Gre<72>ka: Ne mogu dohvatiti atribute datoteke."
Push "Ne mogu ekstrahirati %s"
Push " Gre<72>ka: Ne mogu ekstrahirati %s"
!ifdef FILE_<ALL>
Push " Ekstrakcija: %s"
Push " Ekstrakcija %d datoteka i mapa"
Push "Ekstrakcija sadr<64>aja %s u %s"
!else
Push "Tra<72>ena datoteka ne postoji u arhivi."
Push "Gre<72>ka: Tra<72>ena datoteka ne postoji u arhivi."
Push "Ekstrakcija datoteke %s iz %s u %s"
!endif
Push "/TRANSLATE"
!endif
!ifdef FILE_<ALL>
ZipDLL::extractall
!else
ZipDLL::extractfile
!endif
!undef "FILE_${FILE}"
!macroend
!endif