mirror of
https://github.com/fergalmoran/picard.git
synced 2026-03-24 22:25:13 +00:00
Renamed installer/languages to installer/i18n
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -23,7 +23,7 @@ build/
|
||||
coverage.xml
|
||||
dist/
|
||||
installer/picard-setup.nsi
|
||||
installer/languages/out/*.nsh
|
||||
installer/i18n/out/*.nsh
|
||||
locale/
|
||||
org.musicbrainz.Picard.appdata.xml
|
||||
picard.egg-info
|
||||
|
||||
@@ -14,8 +14,8 @@ source_lang = en
|
||||
type = PO
|
||||
|
||||
[musicbrainz.picard_installer]
|
||||
file_filter = installer/languages/sources/<lang>.json
|
||||
source_file = installer/languages/sources/en.json
|
||||
file_filter = installer/i18n/sources/<lang>.json
|
||||
source_file = installer/i18n/sources/en.json
|
||||
source_lang = en
|
||||
type = KEYVALUEJSON
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ ReserveFile "${NSISDIR}\Plugins\x86-unicode\InstallOptions.dll"
|
||||
; Language handling
|
||||
!macro LOAD_LANGUAGE LANGUAGE
|
||||
!insertmacro MUI_LANGUAGE "${LANGUAGE}"
|
||||
!include "languages\out\${LANGUAGE}.nsh"
|
||||
!include "i18n\out\${LANGUAGE}.nsh"
|
||||
!macroend
|
||||
|
||||
; Language files
|
||||
|
||||
2
setup.py
2
setup.py
@@ -275,7 +275,7 @@ class picard_build(build):
|
||||
if os.path.isfile('installer/picard-setup.nsi.in'):
|
||||
generate_file('installer/picard-setup.nsi.in', 'installer/picard-setup.nsi', {**args, **installer_args})
|
||||
log.info('generating NSIS translation files')
|
||||
self.spawn(['python', 'installer/languages/json2nsh.py'])
|
||||
self.spawn(['python', 'installer/i18n/json2nsh.py'])
|
||||
|
||||
version_args = {
|
||||
'filevers': str(file_version),
|
||||
|
||||
Reference in New Issue
Block a user