Commit Graph

109 Commits

Author SHA1 Message Date
maron2000
c3e8acda5d Make messages in dialog translatable (messages.cpp) 2025-04-26 11:39:16 +09:00
maron2000
4991228780 Delete unused function 2025-04-26 10:56:48 +09:00
maron2000
7ef7167080 Change insertion order of messages to make it easily findable 2025-04-26 10:55:49 +09:00
maron2000
9148698602 Refactor LoadMessageFile() 2025-04-26 10:52:45 +09:00
maron2000
a45168c7e5 Add prototype to header and some comments 2025-04-26 09:01:14 +09:00
maron2000
85c722c5d4 Fix build error on Linux 2025-04-20 22:18:50 +09:00
maron2000
53a5d3dd30 Some more refactoring of MSG_Write() function 2025-04-20 22:02:27 +09:00
maron2000
86146dcaea Refactor message related functions 2025-04-20 21:47:03 +09:00
maron2000
3855d51f5c Add function to generate string from format 2025-04-19 22:55:04 +09:00
maron2000
9d92f4e072 Fix dialog for error of loading language files 2025-03-07 20:22:51 +09:00
maron2000
886d868d09 Fix codepage didn't change when loading language files in some cases 2024-12-30 23:09:56 +09:00
maron2000
825b1be5ad Fix codepage conflicting with loaded language file on restart 2024-12-25 22:35:26 +09:00
maron2000
1023ced18c Fix regression of garbled menubar in Traditional Chinese menu 2024-12-23 23:52:14 +09:00
maron2000
6a958f9c20 Don't switch to CP950 if zh_tw.lng is loaded when CP is 951 2024-12-22 20:27:37 +09:00
maron2000
c766244d45 Fix initial rescan command slow on launch 2024-10-11 00:01:29 +09:00
maron2000
c58d4dc194 Fix loading DBCS language files on launch 2024-10-09 23:42:36 +09:00
maron2000
860f01b985 Always switch codepages for DBCS language files 2024-10-05 16:17:12 +09:00
maron2000
cbecf9eba0 Fix switching codepage on launch 2024-10-05 16:10:12 +09:00
maron2000
9447b8d203 CHCP: Fix handling of invalid codepage 2024-10-05 13:40:57 +09:00
maron2000
b55bb2a8b1 Add function to check codepage is DBCS 2024-10-05 08:56:07 +09:00
maron2000
9f73000855 Fix loading language files by CONFIG command 2024-09-13 21:07:39 +09:00
maron2000
2713fa00b9 Remove unrequired loading of keyboard layout 2024-09-13 14:36:34 +09:00
maron2000
64087fdd94 Don't warn changing codepage when language file is loaded for the first time. 2024-08-16 00:14:52 +09:00
aybe
e6a617aaba Remove help tooltip at bottom of each window 2024-07-10 02:35:59 +02:00
aybe
df8a0b3fb5 Remove "Configuration for" in each window title 2024-07-10 00:00:57 +02:00
aybe
42b6fa4016 Remove CONFIGURE_GROUP header 2024-07-09 16:45:42 +02:00
Jaak Ristioja
4a6bcc706e Use nullptr/NULL instead of 0 for pointers, two fixes for undefined behavior
This commit fixes most -Wzero-as-null-pointer-constant warnings, except in
some places which appear to be vendored 3rd party libraries, e.g. in sdl_ttf.c,
libchdr, physfs and gmock and in 3rd party components therein. Since it might
make more sense to update this 3rd party code to some later versions instead of
fixing the warnings manually, I decided not to enable the C++ compiler flag in
configure.ac at this point.

In two functions with the return type of std::string executed `return 0;`
statements, causing std::string to be constructed from a null pointer. To avoid
undefined behavior these were changed to `return {};`.

Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2024-05-09 14:18:10 +03:00
maron2000
9fe33126ef Refine codepage switching in loading language files 2024-02-12 23:36:19 +09:00
maron2000
a0836b63e2 Fix codepage switching when loading lang files 2024-02-10 22:59:43 +09:00
crazii
f3ce995980 adaption to win95 2023-11-29 18:49:46 +08:00
Allofich
e5524f435b Fix vexing-parse warnings 2023-04-04 21:52:00 +09:00
Wengier
0b95fd6265 use 850 as default de_DE cp 2022-08-31 21:31:39 -04:00
Wengier
66bb76f42e add code page 453 2022-08-31 17:31:32 -04:00
Wengier
0fb3bdd975 fix WinARM script 2022-08-26 22:14:39 -04:00
Wengier
28bf4edead fix build 2022-08-20 19:08:51 -04:00
Wengier
88362dac81 minor fixup 2022-07-28 17:25:39 -04:00
Wengier
b9c3a39cc1 save image and update config 2022-07-17 01:58:12 -04:00
Wengier
0098fc4339 update langcp 2022-07-15 22:38:01 -04:00
Wengier
3d0237004b more cp 2022-07-14 23:43:59 -04:00
Wengier
087bff5aaf update scripts 2022-06-30 17:46:32 -04:00
Wengier
da56cc290c update 2022-06-30 13:35:57 -04:00
Wengier
191a850228 more 2022-06-29 17:20:31 -04:00
Wengier
b46e3cc376 more fixups 2022-06-27 13:12:10 -04:00
Wengier
4242ac28e0 update languages 2022-05-26 22:51:33 -04:00
aybe
7ab61188d0 MAPPER: general improvements: layout, UX 2022-05-26 05:04:15 +02:00
Wengier
d542ac043b update config ref and timestamp 2022-05-01 18:59:38 -04:00
Wengier
19632c683c fix menu text for dynamic core 2022-04-06 23:02:24 -04:00
Wengier
5efa5dd3f6 more 2022-03-31 00:26:55 -04:00
Wengier
651e2cd725 update version 2022-03-23 18:22:23 -04:00
Wengier
9d5a14529a split file 2022-01-24 17:56:06 -05:00