1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Windows: Install app translations

This commit is contained in:
David Rosca 2018-03-26 10:04:46 +02:00
parent 9227a25bbd
commit cea9e2cf8f
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -191,17 +191,6 @@ notRunning:
SetOutPath "$INSTDIR\styles"
File "${QT_PLUGINS_DIR}\styles\*.dll"
SetOutPath "$INSTDIR\translations\qtwebengine_locales"
File "${QT_DIR}\translations\qtwebengine_locales\*"
SetOutPath "$INSTDIR\qtwebengine_dictionaries\doc"
; In some packages underline '_' is used and in some other packages dash '-' is used so we use wildcard
File "${QTWEBENGINE_DICTIONARIES_DIR}\doc\README*en*US.txt"
SetOutPath "$INSTDIR\qtwebengine_dictionaries"
; in some packages *.bdic files use dash '-' instead of underline '_' followed by a version number. e.g. en-US-3-0.bdic
File "${QTWEBENGINE_DICTIONARIES_DIR}\en*US*.bdic"
call RegisterCapabilities
StrCmp $installAsPortable "YES" 0 skipPortableMode
@ -245,12 +234,19 @@ SectionGroup $(TITLE_SecThemes) SecThemes
SectionGroupEnd
Section $(TITLE_SecTranslations) SecTranslations
#SetOutPath "$INSTDIR\locale"
#File "${FALKON_BIN_DIR}\locale\*.qm"
#SetOutPath "$INSTDIR\qtwebengine_dictionaries\doc"
#File "${QTWEBENGINE_DICTIONARIES_DIR}\doc\*"
#SetOutPath "$INSTDIR\qtwebengine_dictionaries"
#File "${QTWEBENGINE_DICTIONARIES_DIR}\*.bdic"
SetOutPath "$INSTDIR\locale"
File "${FALKON_BIN_DIR}\locale\*"
SetOutPath "$INSTDIR\translations\qtwebengine_locales"
File "${QT_DIR}\translations\qtwebengine_locales\*"
SetOutPath "$INSTDIR\qtwebengine_dictionaries\doc"
; In some packages underline '_' is used and in some other packages dash '-' is used so we use wildcard
File "${QTWEBENGINE_DICTIONARIES_DIR}\doc\README*en*US.txt"
SetOutPath "$INSTDIR\qtwebengine_dictionaries"
; in some packages *.bdic files use dash '-' instead of underline '_' followed by a version number. e.g. en-US-3-0.bdic
File "${QTWEBENGINE_DICTIONARIES_DIR}\en*US*.bdic"
SectionEnd
Section $(TITLE_SecPlugins) SecPlugins