-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Installing translations using cmake (#56)
- Loading branch information
1 parent
ff75197
commit 73e246a
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
set(TS_FILES libfuoten_da.ts | ||
libfuoten_de.ts | ||
libfuoten_el.ts | ||
libfuoten_en_GB.ts | ||
libfuoten_en_US.ts | ||
libfuoten_fr.ts | ||
libfuoten_it.ts | ||
libfuoten_nl.ts | ||
libfuoten_sv.ts | ||
libfuoten_zh_CN.ts) | ||
|
||
qt5_add_translation(QM_FILES ${TS_FILES}) | ||
add_custom_target(translations ALL | ||
DEPENDS ${QM_FILES} | ||
COMMENT "Compiles translation messages") | ||
|
||
install(FILES ${QM_FILES} | ||
DESTINATION ${I18NDIR} | ||
COMPONENT runtime) |