Commit Graph

164 Commits

Author SHA1 Message Date
Ajinkya Dahale
82afba7459 [GUI] Add missing include
This `memory` header is needed for `unique_ptr`, at least on Manjaro/Arch Linux with GCC.
2022-12-14 14:37:42 +01:00
wmayer
50ee7afe4d Qt6 port: QLocale::decimalPoint() now returns a QString 2022-11-03 14:19:43 +01:00
wmayer
b1343cc13c Gui: fix some minor warnings reported by GH Actions 2022-11-03 13:58:07 +01:00
0penBrain
27bea474cc Gui: decimal point converter: numpad separator always send Period to Python Console & Macro Editor 2022-11-03 13:41:06 +01:00
0penBrain
9ade306af4 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
3bea52c4c4 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
3eadba2b21 Gui: add decimal point converter to Translator 2022-11-03 13:41:06 +01:00
Yorik van Havre
d8d55a0e88 Merged crowdin translations 2022-10-17 15:12:16 +02:00
Yorik van Havre
fce72e46c8 Merged crowdin translations 2022-10-10 11:06:08 +02:00
Yorik van Havre
df52f32c87 Updated ts files 2022-10-10 10:19:30 +02:00
Yorik van Havre
8b7c61277a Merged crowdin translations 2022-10-06 12:48:05 +02:00
Yorik van Havre
d87fd4d97e Updated ts files 2022-10-06 12:16:32 +02:00
berniev
75acacd1b7 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
wmayer
ba8d5ab055 Gui: modernize C++: replace 'typedef' with 'using' 2022-08-29 14:09:18 +02:00
berniev
656ef8961f Gui: redundant void 2 2022-08-08 10:21:44 +02:00
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
Kuzemko Alexsandr
e678620cbd Crowdin Update .ts files with current source. 2022-06-21 17:31:06 +03:00
Yorik van Havre
baa1105a53 Merged crowdin translations 2022-06-12 11:56:37 +02:00
Yorik van Havre
19ffd1ca94 Merged crowdin translations 2022-06-10 11:03:57 +02:00
Yorik van Havre
fa9c78611e Updated ts files 2022-06-10 10:29:18 +02:00
Yorik van Havre
68e8c19aaf Merged crowdin translations 2022-06-09 13:40:35 +02:00
wmayer
8d5a957eb0 Gui: use expresion 'keyboard shortcut' to avoid incorrect translation 2022-06-09 13:15:41 +02:00
wmayer
28c269cc5f Gui: improve German translation 2022-06-09 12:15:29 +02:00
Yorik van Havre
2e4dcfc22a Generated ts files 2022-06-08 12:32:59 +02:00
Yorik van Havre
b06f247f9f Merged crowdin translations 2022-06-08 12:28:54 +02:00
Yorik van Havre
b9b21ddac5 Merged crowdin translations 2022-06-07 13:34:53 +02:00
Kuzemko Alexsandr
eff8ecaafc Crowdin Run update.ts with latest source code. 2022-06-07 13:15:44 +03:00
Yorik van Havre
e8f1bde367 Merged crowdin translations 2022-06-03 11:26:35 +02:00
Chris Hennes
34502193a2 i18n: Update TS files to ensure Python files are included 2022-06-02 14:57:49 -05:00
Chris Hennes
d540de8bee i18n: TS files generated by lupdate 6.4.0dev 2022-06-02 13:41:37 -05:00
Yorik van Havre
d447d75882 Merged crowdin translations 2022-05-31 13:31:52 +02:00
Yorik van Havre
d3d96816ce Merged crowdin translations 2022-05-30 10:01:02 +02:00
Yorik van Havre
8676d67a87 merged crowdin translations 2022-05-28 12:16:47 +02:00
Yorik van Havre
1e034cc47f Merged crowdin translations 2022-05-27 11:28:55 +02:00
Kuzemko Alexsandr
b903e949ae Update .ts with lupdate ver 6.4.0. 2022-05-23 16:53:07 +02:00
kaktus Jacek
aa19e21662 Update the qrc file list to the latest QT file import (QT5 files update for Polish language)
The file translation.qrc had to be updated as well, which was not done

This time the qrc file also contains an update.
2022-05-15 10:28:04 +02:00
kaktus Jacek
a2e99d9196 add Qt5 translation files
QT5 files update for Polish language

The files contain updated translations and a new standard

https://github.com/FreeCAD/FreeCAD/issues/6875

https://github.com/qt/qttranslations/blob/dev/translations/qt_pl.ts
2022-05-14 13:06:29 +02:00
Yorik van Havre
0680ad5558 Merged crowdin translations 2022-05-05 15:46:09 +02:00
Yorik van Havre
ab5a6d83a1 Updated ts files 2022-05-05 15:20:57 +02:00
Yorik van Havre
a4a0d11eca Merged crowdin translations 2022-04-21 14:18:33 +02:00
Yorik van Havre
35bb6278ea merged crowdin translations 2022-04-13 13:47:06 +02:00
Yorik van Havre
cb9dda7084 Merged crowdin translations 2022-03-31 11:41:28 +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
Yorik van Havre
1dd773e7b3 Translations: Merged crowdin strings 2022-03-23 10:37:50 +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