Martchus
cdd84520da
Prevent warnings when English translations can not be load
...
English translation files are built-in and usually only used
for plural forms. Hence the files are often empty and the
warnings about them are more misleading than helpful most of
the time.
TODO: Find a way to distinguish between translations
which are supposed to be empty and missing/invalid
translations.
2017-08-15 01:08:08 +02:00
Martchus
0599eb354d
Apply clang-format
2017-05-04 22:46:37 +02:00
Martchus
2dcbc02f4b
Apply clang-format
2017-05-01 03:16:25 +02:00
Martchus
61a544d42f
Make definitions for gui support project specific
2017-04-27 22:03:37 +02:00
Martchus
bd5c30c582
Update doc about functions to load translation
2017-03-06 22:08:45 +01:00
Martchus
8f2e3f0476
Add macro to auto init resources of static deps
...
Generated macro code is made available via config
header implemented in c++utilities
2017-02-11 02:04:12 +01:00
Martchus
aca86b0681
Load translations of dependencies, too
2017-01-07 16:09:38 +01:00
Martchus
58d762b7ee
Improve error message in loadApplicationTranslationFile()
2016-10-05 23:00:51 +02:00
Martchus
de98b88f4a
Improve Qt settings
...
Setting font and icon theme doesn't work yet, not sure
about locale
2016-08-14 22:44:25 +02:00
Martchus
b5bd368c5c
Load translations also for Qt modules not in qtbase
2016-07-27 21:52:01 +02:00
Martchus
30f53e819c
Fix loading ressources
...
Still TODO: Load translations for modules not in qtbase
2016-07-27 18:52:59 +02:00
Martchus
5a0eba3726
Allow built-in translations and icons
...
- Allow to built-in qm files for translations
using the Qt resource system
- Allow to built-in required icons from specified
icon themes using the Qt resource system
- Provide bash script to determine required icons
2016-07-16 23:12:02 +02:00
Martchus
9137a63462
Improve documentation
2016-06-10 23:05:43 +02:00
Martchus
10726b4dee
also update TS files via CMake
2016-04-24 20:53:14 +02:00
Martchus
8b4574de97
fixed #ifdef
2015-09-22 01:53:38 +02:00
Martchus
ba77d0315b
add method to locate additional config files
2015-09-16 17:30:25 +02:00
Martchus
721e79d027
fixed includes
2015-09-06 20:19:21 +02:00
Martchus
4047cdd14f
updated application startup
2015-09-01 20:08:43 +02:00
Martchus
7ba1b2ba58
changed translation file lookup
2015-08-25 19:16:43 +02:00
Martchus
e5b84fb8d0
always add English as fallback language
...
search in ./projects/appname/translations as well (used when building
subdirs projects)
2015-08-08 01:38:48 +02:00
Martchus
97bc020524
delete unused translator on failure
2015-07-14 18:33:44 +02:00
Martchus
576b0c11c6
using "en_US" as fallback language
2015-06-21 21:45:58 +02:00
Martchus
26748b4923
First commit
2015-04-22 18:57:44 +02:00