Commit graph

231 commits

Author SHA1 Message Date
Leon Styhre 7791859d14 Added a menu title font size adjustment for the pl_PL translations 2024-08-09 19:51:35 +02:00
Leon Styhre c63184f010 Replaced all built-in Unicode case conversion logic and lookup tables with facilities from the ICU library 2024-08-09 17:48:46 +02:00
Leon Styhre 03f6567dd5 Added support for the ar_EG locale 2024-08-04 13:02:00 +02:00
Leon Styhre b1adbc0f2a Added support for the pl_PL locale 2024-08-01 21:36:45 +02:00
Leon Styhre f9d5b2b12e Added support for the nl_NL locale 2024-07-30 18:18:04 +02:00
Leon Styhre 4c1b5fde3c Reorganized some per-language menu title font size entries 2024-07-29 11:25:38 +02:00
Leon Styhre 9703531273 Added a code comment regarding Unicode case mapping entries for the Latin Extended-B Unicode block 2024-07-26 21:16:27 +02:00
Leon Styhre 3b5d5a7da4 Added a StringUtil function to return the string length in Unicode characters 2024-07-26 21:09:51 +02:00
Leon Styhre 0d41632352 Added a menu title font size adjustment for the Japanese translations 2024-07-25 13:13:00 +02:00
Leon Styhre 9300f00b94 Added case conversion support for the Latin Extended-B Unicode block 2024-07-24 19:02:30 +02:00
Leon Styhre 0cf89ea875 Changed some per-language menu title font sizes 2024-07-24 11:57:24 +02:00
Leon Styhre f4d1534bab Added gettext context support 2024-07-23 18:17:44 +02:00
Leon Styhre a1e31331b5 Added support for the ro_RO locale 2024-07-23 10:34:12 +02:00
Leon Styhre 39e0a1773b Added support for the ru_RU locale 2024-07-22 16:12:04 +02:00
Leon Styhre d86923fb98 Added menu title per-language font sizing to the entire application 2024-07-22 11:25:25 +02:00
Leon Styhre 298b371715 Added support for the es_ES locale 2024-07-21 11:50:06 +02:00
Leon Styhre 1f605347c3 Added support for the el_GR locale 2024-07-21 11:37:53 +02:00
Leon Styhre afea0eace9 Added support for the fr_FR locale 2024-07-21 11:13:49 +02:00
Leon Styhre 0582856b84 Fixed an issue where formatting translation strings could lead to crashes on some platforms 2024-07-20 22:17:44 +02:00
Leon Styhre 2dc805bcbd (Linux) Added workaround for a library or OS bug that prevented some locales from working correctly 2024-07-20 16:50:44 +02:00
Leon Styhre f1ee285b3e Added support for the pt_BR locale 2024-07-20 13:42:51 +02:00
Leon Styhre 335b3dd4ff Added support for the ja_JP locale 2024-07-20 13:35:37 +02:00
Leon Styhre 01406c27c3 Added support for the it_IT locale 2024-07-20 13:31:21 +02:00
Leon Styhre 0b5b0e0572 Added support for the en_GB locale 2024-07-20 13:24:37 +02:00
Leon Styhre 5bea1dfb8b Reverted the change where StringUtil::toCapitalized() would capitalize characters follow apostrophes 2024-07-16 21:27:29 +02:00
Leon Styhre b067481f3f tringUtil::toCapitalized() will now capitalize characters following apostrophes and quotation marks 2024-07-16 21:25:08 +02:00
Leon Styhre 7ea52c13a5 StringUtil::toCapitalized() will now capitalize characters following the ( and [ characters 2024-07-16 21:19:49 +02:00
Leon Styhre cac5ec0402 Fixed an issue where the StringUtil::toCapitalized() function didn't correctly capitalize multi-byte Unicode characters
Also modernized some code
2024-07-16 21:13:50 +02:00
Leon Styhre 42f7e46d08 Added localization plural rules support 2024-07-16 10:15:42 +02:00
Leon Styhre 4ffc5d6bf9 Added a very simplified implementation of std::format 2024-07-15 17:39:03 +02:00
Leon Styhre 59507ecc0c Renamed the zh_rCN locale to zh_CN 2024-07-12 21:25:43 +02:00
Leon Styhre a5b1b17c2c Changed the application name in all header files 2024-07-10 18:04:40 +02:00
Leon Styhre 6d9a95a667 Added initial zh_rCN localization support 2024-07-10 17:52:44 +02:00
Leon Styhre 1df2641e0c Changed to scaling the menu title per language instead of the overall menu 2024-07-04 19:33:07 +02:00
Leon Styhre 661bb5d539 Added support for per-language menu scaling 2024-07-04 18:38:49 +02:00
Leon Styhre dfc217d006 Added localization support for en_US to be able to handle special cases 2024-07-04 18:36:37 +02:00
Leon Styhre eeccee307d Added a menu option for selecting the application language 2024-07-02 23:57:44 +02:00
Leon Styhre e3148e6cda (Windows) Added an extra precaution in case of an invalid locale entry 2024-07-02 22:09:51 +02:00
Leon Styhre 2d3a559cee Added support for falling back to the closest matching locale if there is not an exact match 2024-07-02 22:05:40 +02:00
Leon Styhre 63729cce19 (Android) Added localization support 2024-07-02 18:04:42 +02:00
Leon Styhre 302305b3ee Changed to using SDL_GetPreferredLocales() also on Linux
Also set the LANGUAGE environment variable on Linux
2024-06-30 23:22:48 +02:00
Leon Styhre 552f540a49 (macOS) Added language auto-detection 2024-06-30 23:10:04 +02:00
Leon Styhre 51c9507b87 (Windows) Added localization support 2024-06-30 22:27:22 +02:00
Leon Styhre ec8a49623a Added initial localization support 2024-06-29 21:24:28 +02:00
Leon Styhre 4260ecdbfc (Linux and Unix) Made it possible to change the application data directory using the ESDE_APPDATA_DIR environment variable 2024-03-10 14:56:19 +01:00
Leon Styhre a49f22144f (Android) Removed symlink support 2024-03-09 12:30:28 +01:00
Leon Styhre 6bad84a27a Fixed a number of potential issues where SDL_Event unions were not properly initialized 2024-01-05 10:42:28 +01:00
Leon Styhre 83ff89acb2 (Android) Removed support for using the SAF to list directory contents 2024-01-03 17:32:04 +01:00
Leon Styhre d934cfb48f Added support for filtering UTF-8 strings using UTF8-CPP 2024-01-03 17:29:22 +01:00
Leon Styhre 63c21fcea0 (Android) Added support for getting directory listings via the SAF 2023-12-30 17:01:54 +01:00