Commit Graph

53 Commits

Author SHA1 Message Date
aubymori
7f69f00ed2 Query UI font from system on Windows
Previously, we determined the UI font from a predefined set of fonts
each mapped to a language. This works well if the user doesn't change
their Windows UI font, but if one does, they will get the default UI
font associated with their language instead of the one the set.

This commit replaces ProgSettings::getFontName with
ProgSettings::getUIFont, which uses the SystemParametersInfo API to
query the message font from the system, which will allow users to have a
custom font. It will also not interfere with different languages, as the
message font will be appropriately set by default there.
2026-02-02 19:15:31 -06:00
Alexander Babikov
6ae9aac5f9 Partial Greek translation
Co-authored-by: DimMan88 <71668463+DimMan88@users.noreply.github.com>
2026-01-02 02:02:16 +05:00
OBattler
988056bb35 Bring back the Catalan translation (redone from scratch) and fix the Spanish translation. 2025-12-21 20:56:06 +01:00
Jasmine Iwanek
ca424aed32 clang-format in src/qt 2025-11-07 20:25:29 -05:00
Cacodemon345
40ed311895 Resize renderer view back on Windows on language selection changes (#6302) 2025-10-08 17:19:23 +02:00
Jasmine Iwanek
8ac8461dd3 Header cleanups (2/2) (#6275) 2025-10-04 03:40:32 +02:00
Cacodemon345
30524acbbd Reflect language and color scheme changes in global config in manager and all its VMs 2025-08-28 17:56:33 +06:00
Cacodemon345
4f81c12b81 Add ability to switch color scheme from system default on Windows 2025-08-28 14:34:39 +06:00
Eli Setless
8e778e42dd Update qt_progsettings.cpp 2025-08-23 21:23:58 -04:00
Daniel Gurney
2193a76241 Restore Finnish translations
From what I have tested, the translation is now more sensible than the
previous machine and human translation mix.

Some translations were intentionally left empty, either because they
made no sense to translate, or if I didn't know what a reasonable
translation would be.

Includes previous translations from ts-korhonen and ziplantil, as well
as probably still some machine translations that were valid.
2025-08-24 03:09:12 +03:00
OBattler
326109607a Removed the Catalan translation. 2025-08-18 14:37:10 +02:00
OBattler
ce8492d90f Remove the Hungarian translation. 2025-08-17 23:50:14 +02:00
Daniel Gurney
32a1e08b29 Temporarily remove the Finnish translation
The current version of the translation has a lot of bad machine
translations in it. Remove the translation until it has been improved
to avoid misleading and confusing users in the meantime.
2025-08-17 18:41:41 +03:00
Alexander Babikov
bc3caa557f Overhaul loading Qt base translations:
- Now comprehensively handles all possible locations and filenames
- Embedded translation files don't have to be renamed anymore
- Fixed Qt 6 deprecation warnings
2025-08-15 03:47:33 +05:00
Alexander Babikov
8d089b13cb Qt: fix a benign logic error 2025-08-01 03:17:37 +05:00
Alexander Babikov
c42f1e4d12 Remove the fullscreen hotkey message
No longer needed after the hotkeys to enter and exit full screen
mode were merged into one
2025-05-07 22:39:07 +05:00
Alexander Babikov
48903bb48e qt: Add Swedish translation
Contributed by toshineon on Discord
2025-04-18 03:47:21 +05:00
Alexander Babikov
e1007d2377 Get rid of Windows LCIDs as numeric language IDs 2025-04-18 02:14:29 +05:00
Alexander Babikov
de35961bb4 qt: Use Yu Gothic UI as the Japanese font on Windows 10 and later 2025-04-18 01:36:45 +05:00
Alexander Babikov
0a2d15db9b qt: Reword some error messages slightly 2025-04-11 23:31:05 +05:00
David Hrdlička
ed4a312f4f Remove support for icon sets 2025-03-29 00:31:50 +01:00
Cacodemon345
38de9b7a1b Add the other two confirmation dialog checkboxes in Preferences 2025-03-26 16:52:35 +06:00
Cacodemon345
e5aed7f9e6 Add confirmation dialog checkboxes in Preferences 2025-03-26 16:37:59 +06:00
Cacodemon345
7c4df701cb Add option to inhibit multimedia keys from host on Windows 2025-03-13 19:55:46 +06:00
Alexander Babikov
81283ac848 Embed Qt base translations in the executable
Fixes standard messagebox buttons not being translated
2024-11-18 04:16:16 +05:00
Alexander Babikov
2b6ca97ab4 qt_progsettings.cpp: use a switch case to determine the Windows font 2024-07-29 20:07:00 +05:00
Alexander Babikov
ae7d4454cb Move Windows font overrides away from translations
Determine which font to use with a dedicated function instead
2024-03-20 20:33:28 +05:00
OBattler
d2c5420a34 Merge remote-tracking branch 'origin/master' into version/4.2 2024-03-17 09:12:36 +01:00
Alexander Babikov
5b96375baf Sort the language dropdown alphabetically 2024-03-17 02:39:17 +05:00
OBattler
2c5a460d23 Removed the Win32 UI and the legacy makefiles. 2024-03-15 18:16:21 +01:00
Jasmine Iwanek
a40630ba63 Even more tabs to spaces 2023-01-07 14:09:51 -05:00
Jasmine Iwanek
3fe4f75108 A bit more clang-format 2022-11-19 11:53:07 -05:00
cold-brewed
dc046c5b5f qt: Use a single loop for icon dir search 2022-09-12 10:10:22 -04:00
cold-brewed
3d7fdf0eda qt: Fix searching for icon packs in roms dir 2022-09-08 11:19:37 -04:00
cold-brewed
9f15ffd4e9 qt: Adds a global option in preferences to use usr_path as the default
open directory for image file selection.
2022-07-30 14:56:44 -04:00
Adrien Moulin
24ee676b13 qt: switch to polling for status bar updating 2022-07-13 01:04:01 +02:00
Cacodemon345
0636e1cbbc qt: Make default button actually work 2022-06-01 16:31:06 +06:00
Cacodemon345
3b74aad9d6 qt: Add mouse sensitivity setting 2022-06-01 15:31:58 +06:00
RichardG867
1650b0692d CMI8x38: Fix for logging status bar segfault 2022-03-17 16:31:14 -03:00
Jasmine Iwanek
4287e44824 newlines at end of file 2022-02-18 21:38:51 -05:00
Cacodemon345
ad79da2700 qt: Fix compilation on Qt 6 2022-02-11 00:31:56 +06:00
Alexander Babikov
a349582388 Fix a compile-breaking typo 2022-02-10 20:08:15 +05:00
Cacodemon345
3594d7d7fa Part 2 2022-02-10 20:25:25 +06:00
Cacodemon345
6619bd5932 qt: Fix quote character in VM name on Windows 2022-02-10 16:55:38 +06:00
Cacodemon345
b61ae8eaa1 Fix window title after changing UI language 2022-02-08 16:40:46 +06:00
Cacodemon345
a637f61d4f Add missing copyright notices 2022-02-07 15:00:02 +06:00
Cacodemon345
9cd757c213 * Cursor on Windows should not break free anymore when captured
* Use RAWINPUT for joystick on Windows
* Load qt_*.qm instead of qtbase_*.qm
2022-02-05 13:28:18 +06:00
Cacodemon345
62a9b9c2b1 Load Qt's translations from application directory 2022-02-04 15:27:53 +06:00
Cacodemon345
c5e3d9a75f Fix Czech selection not appearing 2022-01-08 23:44:30 +06:00
Cacodemon345
62fd64730a Add icon set fallback feature 2022-01-08 23:17:20 +06:00