Skip to content

Commit

Permalink
Add French translations
Browse files Browse the repository at this point in the history
  • Loading branch information
vankasteelj authored and z3ntu committed Sep 28, 2019
1 parent 082908c commit e6d0e66
Show file tree
Hide file tree
Showing 3 changed files with 422 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install(FILES xyz.z3ntu.razergenie.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})

# Translations
set(TRANSLATION_FILES
translations/de.ts) # add new languages here!
translations/de.ts translations/fr.ts) # add new languages here!
qt5_add_translation(QM_FILES ${TRANSLATION_FILES})

add_custom_target(translations ALL DEPENDS ${QM_FILES}) # this is apparently needed that the .qm files are generated at all...
Expand Down
2 changes: 1 addition & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install_data('xyz.z3ntu.razergenie.appdata.xml', install_dir: metadatadir)
install_data('xyz.z3ntu.razergenie.desktop', install_dir : join_paths(get_option('datadir'), 'applications'))

# Translations
languages = ['de'] # add new languages here!
languages = ['de', 'fr'] # add new languages here!
translationsdir = join_paths(get_option('datadir'), 'razergenie/translations')
lrelease = find_program(['lrelease-qt5', 'lrelease'])

Expand Down
Loading

0 comments on commit e6d0e66

Please sign in to comment.