Commit Graph

28 Commits

Author SHA1 Message Date
wmayer
6ee2c7f865 Fix several clazy issues:
* C++11 range-loop might detach Qt container [-Wclazy-range-loop-detach]
2022-07-24 23:48:37 +02:00
wmayer
d5921e08ec fix (Qt) issues found by clang's clazy tool:
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
0penBrain
c22d37a82c Gui: Default Translator::SetLocale to OS locale + simplify code 2022-03-29 10:26:49 +02:00
0penBrain
68d7892fb0 Gui: fix locale number formatting propagation 2022-03-29 10:26:49 +02:00
wmayer
bba7719cd1 Gui: fixes #6663: [Bug] Decimal separator not chosen by locale system settings anymore 2022-03-28 15:38:51 +02:00
0penBrain
9e7d9283aa Gui: fix some weird behavior of number format option 2022-03-26 16:43:07 +01:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
0penBrain
e3bc06a341 Gui: add preference to use selected language number formatting, fixes #6330
If not enabled (default), will defaults to C/POSIX formatting
2022-03-17 16:46:01 +01:00
Uwe
70aa0842a5 [Gui] Translator: sort includes 2022-03-06 19:12:52 +01:00
Yorik van Havre
b3e2c87530 Merged crowdin translations 2022-01-26 14:15:14 +01:00
Chris Hennes
719fb95382 [GUI] Add prefs for translators
When creating the original list of locales available to FreeCAD, also
scan the external directories and add those entries to the list of
locales. This enables the installation of a language pack in an
already-installed version of FreeCAD, allowing translators to test their
work more easily.

Add a hidden preference that will allow translators to add an entirely new
language to FreeCAD via user preferences, without requiring modification
of the FreeCAD source code.

Add a hidden preference for an additional translation directory.
2021-09-11 15:34:08 -05:00
luz paz
a12385adb9 Gui: Language/Translator.cpp remove extra .ko translation + alphabetize
ref: https://forum.freecadweb.org/viewtopic.php?p=531658#p531658
2021-09-09 10:08:31 -04:00
Yorik van Havre
89e1a97d80 Merged crowdin translations 2021-09-07 11:26:48 +02:00
Yorik van Havre
2226da3a20 Added support for arabic and vietnamese 2018-12-23 13:56:46 -02:00
wmayer
7c4ab45e31 cache supported languages in order to make preferences dialog open faster 2018-10-23 12:44:43 +02:00
Yorik van Havre
b9e1cbb6de Added support for lithuanian, valencian, indonesian and filipino 2018-02-21 13:19:42 -03:00
Yorik van Havre
6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
wmayer
49dfb24267 + Fix suffix for Korean 2015-09-02 18:06:14 +02:00
wmayer
7602b8f20c + make help system more flexible 2014-10-21 21:41:07 +02:00
wmayer
75f7ebc346 + add default directories to check for translation files 2014-02-05 14:54:14 +01:00
Yorik van Havre
f4a47f089c Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
Yorik van Havre
be940cbd06 Updated translations from crowdin
* Updated the updateTranslations.py tool so it can now work with
  unzipped folders, and it updates qt resource files when necessary.
* Updated existing translations, changed a couple of language codes:
  es -> es-ES, pt -> pt-BR, zh -> zh-CN, se -> sv-SE
* Added new translations that have more than 50% translated:
  cs, hu, ro, sk, zh-TW, tr
2012-10-30 09:59:55 -02:00
wmayer
da1a42e2ee locale stuff 2012-04-30 18:30:29 +02:00
wmayer
95cf62b990 locale stuff 2012-04-30 18:02:22 +02:00
wmayer
2e062ab797 0000652: Polish language not available even if translation is available in source 2012-03-25 13:38:32 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00