Skip to content

Commit

Permalink
Include Qt translations when bundling. Possible fix for Bug #1492200.
Browse files Browse the repository at this point in the history
  • Loading branch information
rryan committed May 27, 2016
1 parent fa645f2 commit f942b60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ skin_files = Glob('#res/skins/*')
controllermappings_files = Glob('#res/controllers/*')

# Translation files
translation_files = Glob('#res/translations/*.qm')
translation_files = Glob('#res/translations/*.qm') + Glob(os.path.join(build.env['QTDIR'], 'translations/qt_*.qm'))

# Font files
font_files = Glob('#res/fonts/*')
Expand Down Expand Up @@ -408,7 +408,6 @@ if build.platform_is_osx and 'bundle' in COMMAND_LINE_TARGETS:
plugins.append(x.get_abspath())

resource_map = {}
translation_files = Glob('#res/translations/*.qm')
for tfile in translation_files:
resource_map[str(tfile)] = 'translations'

Expand Down

0 comments on commit f942b60

Please sign in to comment.