diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-07 12:22:15 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-07 12:22:15 +0200 |
commit | 92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b (patch) | |
tree | a850643f7b86e6cebfddbeec98d7c372478d379c /lang | |
parent | Hostlist filter plugin can rewrite hostnames (diff) | |
download | smolbote-92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b.tar.xz |
Rewrite meson build scripts into cmakelists
Diffstat (limited to 'lang')
-rw-r--r-- | lang/CMakeLists.txt | 10 | ||||
-rw-r--r-- | lang/meson.build | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lang/CMakeLists.txt b/lang/CMakeLists.txt new file mode 100644 index 0000000..319c706 --- /dev/null +++ b/lang/CMakeLists.txt @@ -0,0 +1,10 @@ +# https://wiki.qt.io/How_to_create_a_multi_language_application + +# generating .ts files +# lupdate -verbose src/ -ts output.ts + +# updating .ts files +# lupdate -verbose -no-obsolete src/ -ts output.ts + +# creating the binary language files (.qm) +# lrelease -compress -removeidentical input.ts [-qm output.qm] diff --git a/lang/meson.build b/lang/meson.build deleted file mode 100644 index 8c4a820..0000000 --- a/lang/meson.build +++ /dev/null @@ -1,4 +0,0 @@ - -# translations -mod_qt5.compile_translations(ts_files: 'bg.ts', install: get_option('translations').enabled(), install_dir: get_option('datadir') / 'smolbote/translations' , build_by_default: false) - |