Commit Graph

22 Commits

Author SHA1 Message Date
Martchus 54402c2483 Allow built-in translations via qtutilities
Allow bundling translations as resources by setting `BUILTIN_TRANSLATIONS`.
This is useful to create self-contained executables.

The code for this is already in qtutilities so we basically just need to
look within the resource root `:/` for translations as well and tweak the
build script a little.

With this change it is still possible to load translations separately from
the usual locations as it is only effective if `BUILTIN_TRANSLATIONS` is
set to a truthy value.
2023-06-27 19:58:10 +02:00
Martchus 7d0f5faf23 Build translations via helper from qtutilities
It handles the case of cross-compilation correctly and this way also code
for handling different Qt versions can be removed.
2023-06-06 00:10:51 +02:00
Martchus 17c3a3c584 Enable target to invoke cmake-format via c++utilities and apply formatting 2023-06-05 22:50:36 +02:00
Martchus 8dfca58470 Avoid boilerplate code in build script utilizing c++utilities/qtutilities
* Prepare use of qtutilities for improving UI
* Remove code for enabling warnings that has been copied from c++utilities
* Remove code for various details now handled in qtutilities helpers
* Simplify configuration of executable
* Simplify finding Qt modules
2023-06-05 22:10:11 +02:00
Martchus eb00f18b0c Port to Qt 6 2023-01-16 21:14:03 +01:00
louis-barman e2968b6b94 Removed the unused music translations which have been copied to a new location.
The music translations are now located in the music/src/translations/ dir.
2020-11-25 20:51:38 +00:00
louis-barman 76b376878a Translation can now be tested in-place without do a make install.
Removed video options now defaulting to none.
Changed USE_FLUIDSYNTH to EXPERIMENTAL_USE_FLUIDSYNTH as this option is not working yet
Fixed a problem that prevented a midi keyboard connection from working.
moved the colour coded notes to the preferences dialogue.
cmake with no options now works correctly.
2020-02-03 16:41:46 +00:00
Alexey Loginov fcdabba2a5 da, nb, sk are more than 50% translated 2019-09-04 09:15:46 +03:00
glixx a877498d0d use DATA_DIR to install translations 2019-07-09 09:24:42 +03:00
Alexey Loginov 5354630a70 update docs 2019-06-25 02:05:07 +03:00
Alexey Loginov 67787a6d7d install music_uk.ts (100% done) 2019-06-05 06:18:28 +03:00
Alexey Loginov c6ed094e43 install languages, that were finished more than 50% 2019-06-03 01:36:40 +03:00
sasha 29a8512a4e try fixed conflict for branch 2019-03-11 15:02:28 +09:00
admsasha b13680d08c install music_ru 2019-03-11 13:49:09 +09:00
sasha 2e8359d42d do not install blank.ts 2019-02-28 14:50:40 +09:00
sasha eae1eddde7 missing DESTINATION 2019-02-28 14:08:10 +09:00
sasha a60c9fbbfc dynamic set languages 2019-02-28 13:07:05 +09:00
sasha 90579dfd91 new option: INSTALL_ALL_LANGS 2019-02-27 15:59:34 +09:00
Capitaine Fab 2aa8866a6c
Merge pull request #21 from akien-mga/cmake-translations-lrelease
CMake: Fix use of LinguistTools macro without loading it
2019-01-25 23:30:59 +01:00
Rémi Verschelde 7b3d953f41 Enable new community translations
Enables Catalan, Czech, Dutch, German and Russian.
All of those are over 99% complete.
2019-01-25 17:48:14 +01:00
Rémi Verschelde 63d0378537 CMake: Fix use of LinguistTools macro without loading it
Fixes #19.
2019-01-25 17:41:35 +01:00
Fabien Givors 37f398c073 flattening repository 2018-05-18 14:41:22 +02:00