diff options
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) - |