mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 22:40:17 -05:00
Add Japanese and Swedish localizations for Windows, courtesy of Gareth Potter and Anton Johansson respectively.
This commit is contained in:
@@ -81,6 +81,8 @@
|
||||
!insertmacro LANG_LOAD "French"
|
||||
!insertmacro LANG_LOAD "Dutch"
|
||||
!insertmacro LANG_LOAD "German"
|
||||
!insertmacro LANG_LOAD "Japanese"
|
||||
!insertmacro LANG_LOAD "Swedish"
|
||||
|
||||
Name "${PRODUCT_NAME}"
|
||||
Icon "..\ff.ico"
|
||||
@@ -155,6 +157,8 @@ Section "MainSection" SEC01
|
||||
File "${CONFIG_SOURCE}\FireflyShell-0c.dll"
|
||||
File "${CONFIG_SOURCE}\FireflyShell-07.dll"
|
||||
File "${CONFIG_SOURCE}\FireflyShell-13.dll"
|
||||
File "${CONFIG_SOURCE}\FireflyShell-1d.dll"
|
||||
File "${CONFIG_SOURCE}\FireflyShell-11.dll"
|
||||
File "${CONFIG_SOURCE}\..\FireflyShell.exe.manifest"
|
||||
File "${DLL_SOURCE}\gnu_regex.dll"
|
||||
File "${DLL_SOURCE}\pthreadVC2.dll"
|
||||
@@ -328,21 +332,25 @@ Function .onInit
|
||||
StrCpy $2 "$PROGRAMFILES\${PRODUCT_NAME}"
|
||||
StrCpy $3 "$DOCUMENTS\My Music"
|
||||
|
||||
; Push ""
|
||||
; Push ${LANG_ENGLISH}
|
||||
; Push English
|
||||
; Push ${LANG_FRENCH}
|
||||
; Push French
|
||||
; Push ${LANG_DUTCH}
|
||||
; Push Dutch
|
||||
; Push ${LANG_GERMAN}
|
||||
; Push German
|
||||
; ; more
|
||||
; Push A
|
||||
; LangDLL::LangDialog "Installer Language" "Please select the language of the installer"
|
||||
; Pop $LANGUAGE
|
||||
; StrCmp $LANGUAGE "cancel" 0 +2
|
||||
; Abort
|
||||
Push ""
|
||||
Push ${LANG_ENGLISH}
|
||||
Push English
|
||||
Push ${LANG_FRENCH}
|
||||
Push French
|
||||
Push ${LANG_DUTCH}
|
||||
Push Dutch
|
||||
Push ${LANG_GERMAN}
|
||||
Push German
|
||||
Push ${LANG_JAPANESE}
|
||||
Push Japanese
|
||||
Push ${LANG_SWEDISH}
|
||||
Push Swedish
|
||||
; more
|
||||
Push A
|
||||
LangDLL::LangDialog "Installer Language" "Please select the language of the installer"
|
||||
Pop $LANGUAGE
|
||||
StrCmp $LANGUAGE "cancel" 0 +2
|
||||
Abort
|
||||
FunctionEnd
|
||||
|
||||
Function LicensePost
|
||||
@@ -583,6 +591,8 @@ Section Uninstall
|
||||
Delete "$INSTDIR\FireflyShell-0c.dll"
|
||||
Delete "$INSTDIR\FireflyShell-07.dll"
|
||||
Delete "$INSTDIR\FireflyShell-13.dll"
|
||||
Delete "$INSTDIR\FireflyShell-1d.dll"
|
||||
Delete "$INSTDIR\FireflyShell-11.dll"
|
||||
|
||||
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Uninstall.lnk"
|
||||
Delete "$SMPROGRAMS\${PRODUCT_NAME}\Website.lnk"
|
||||
|
||||
Reference in New Issue
Block a user