1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
ζeh Matt
6457eca67c Use the parse functions, adjust code to account for the split change 2025-09-28 23:09:11 +03:00
ζeh Matt
c41d07e40c Rename String::Parse to String::parse, use from_chars instead 2025-09-28 22:23:21 +03:00
Garv Changrani
67ccf997c7 Fix #24388, #24448: shortcut keys are not localised (#24440)
#ieeesoc

* fix: resolve issue where shortcut keys were not localised

* fix: correct Caps Lock shortcut misassigned to numpad dot

* Update changelog.txt

* Keep strings ordered by key

* Remove duplicate entries

* Add another changelog entry

---------

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2025-05-20 05:55:22 -03:00
Aaron van Geffen
2302f0d2e3 Rework Localisation includes (#23789)
* Clean up internal localisation header includes

* Remove some external localisation includes

* Remove dependency on FormatCodes.h from InteractiveConsole.h

* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +01:00
Aaron van Geffen
3d5c19de08 Drop Localisation.h include where not required 2024-07-13 13:33:32 +02:00
Aaron van Geffen
ef4cad5ee3 Move UI exclusive string ids to UiStringIds.h 2024-05-10 23:24:46 +02:00
Aaron van Geffen
2f68c7e823 Move STR_NONE, STR_EMPTY to StringIdType.h (#22019) 2024-05-15 20:29:11 +02:00
James103
1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
ζeh Matt
3d5e6ea932 Replace Equals with IEquals where appropriate 2023-07-05 23:14:05 +03:00
Michael Steenbeek
bf5f7e8e71 Rename format_string(2) and is_user_string_id() (#19178)
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-01-17 08:59:07 +00:00
Michael Steenbeek
b4480b344e Rename snake_case functions from localisation folder 2023-01-16 23:12:35 +00:00
James103
73738bbdc8 Replace 2022 with 2023 in copyright headers
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
73
b9e677945d Replace 20XX with 2022 (#18158)
* Replace 2020 with 2022

Replace all 2020 headers with 2022

* replace other years with 2022

add missing years
2022-10-01 08:42:14 +01:00
Gymnasiast
d3fd31c611 Rename rct_string_id to StringId 2022-07-31 22:30:13 +02:00
duncanspumpkin
f835a5b521 Apply clang-tidy to static variables 2022-03-18 00:38:26 -03:00
Hielke Morsink
4b4b3333d6 Remove unnecessary else blocks 2021-09-16 18:31:12 +02:00
ζeh Matt
59a6c34db4 Make use of std::optional strict 2021-09-13 20:02:32 +03:00
Ted John
817edff4bd Fix #14149: Numpad shortcut keys are not loaded correctly 2021-02-23 20:35:24 +00:00
Ted John
2b14fe9d7f Update shortcut listings 2021-02-21 03:14:19 +00:00
Ted John
ff86ebbfe5 Localise shortcut strings 2021-02-21 03:14:19 +00:00
Ted John
acfda711f5 Use std::string_view without reference 2021-02-21 03:14:19 +00:00
Ted John
2b197d0fb2 Fix parsing of shortcuts 2021-02-21 03:14:18 +00:00
Ted John
2b3aabb8e4 Remove old shortcut code and fix issues 2021-02-21 03:14:18 +00:00
Ted John
f2f658bf28 Refactor some code into more files 2021-02-21 03:14:18 +00:00