wmayer
01a93426cf
Qt6 port: QLocale::decimalPoint() now returns a QString
2022-11-03 14:19:43 +01:00
wmayer
e8bbc2da63
Gui: fix some minor warnings reported by GH Actions
2022-11-03 13:58:07 +01:00
0penBrain
30a69066d0
Gui: decimal point converter: numpad separator always send Period to Python Console & Macro Editor
2022-11-03 13:41:06 +01:00
0penBrain
f22646c8fd
Gui: improve decimal point converter algorithm
...
Fix a bug in key code for forged key event
Only process spontaneous events
2022-11-03 13:41:06 +01:00
0penBrain
4760e70697
Gui: modernize management of decimal converter event filter
...
Use unique_ptr with custom deleter to be more defensive
2022-11-03 13:41:06 +01:00
0penBrain
f5b91de0e6
Gui: add decimal point converter to Translator
2022-11-03 13:41:06 +01:00
Yorik van Havre
4ca1b838a9
Merged crowdin translations
2022-10-06 12:48:05 +02:00
berniev
ae53c9b0a4
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
berniev
3d1f70765a
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
wmayer
85bd6b5c6b
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
82a6241fc5
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
7a74ae01d3
Gui: Default Translator::SetLocale to OS locale + simplify code
2022-03-29 10:26:49 +02:00
0penBrain
eb38017828
Gui: fix locale number formatting propagation
2022-03-29 10:26:49 +02:00
wmayer
b50ec016bd
Gui: fixes #6663 : [Bug] Decimal separator not chosen by locale system settings anymore
2022-03-28 15:38:51 +02:00
0penBrain
57ce2213db
Gui: fix some weird behavior of number format option
2022-03-26 16:43:07 +01:00
wmayer
1178df06b4
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
0penBrain
f043cb5ca5
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
e3e8fe1e7d
[Gui] Translator: sort includes
2022-03-06 19:12:52 +01:00
Yorik van Havre
233182dcd6
Merged crowdin translations
2022-01-26 14:15:14 +01:00
Chris Hennes
ae60724f6e
[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
9ffdf45652
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
a9717a1e17
Merged crowdin translations
2021-09-07 11:26:48 +02:00
Yorik van Havre
9ef3598405
Added support for arabic and vietnamese
2018-12-23 13:56:46 -02:00
wmayer
e99c4f98fc
cache supported languages in order to make preferences dialog open faster
2018-10-23 12:44:43 +02:00
Yorik van Havre
ce0a882b7e
Added support for lithuanian, valencian, indonesian and filipino
2018-02-21 13:19:42 -03:00
Yorik van Havre
9f44809e9e
Updated translations with latest files from crowdin
2017-03-06 11:53:09 -03:00
Yorik van Havre
3106ca7df3
Added slovenian language
2016-02-03 13:36:51 -02:00
Mateusz Skowroński
c275b35d48
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
b46823f039
+ Fix suffix for Korean
2015-09-02 18:06:14 +02:00
wmayer
90e63f054e
+ make help system more flexible
2014-10-21 21:41:07 +02:00
wmayer
8b0376534c
+ add default directories to check for translation files
2014-02-05 14:54:14 +01:00
Yorik van Havre
7f882a66b5
Updated with latest crowdin translations
2012-12-18 13:28:11 -02:00
Yorik van Havre
1def021530
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
7960731f84
locale stuff
2012-04-30 18:30:29 +02:00
wmayer
bc272a0643
locale stuff
2012-04-30 18:02:22 +02:00
wmayer
fe50f2c752
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