Michael Bernardi
1cb0650cba
Fix #21289 : Map window does not layout properly
2024-03-02 16:00:10 +01:00
AuraSpecs
d11a82aa4f
Add Ukrainian Language
...
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2024-02-23 20:37:48 +01: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
mrmbernardi
efea009ed5
Fix #20624 : Clear scrolling text cache on language change ( #20993 )
2023-11-20 22:31:35 +00:00
Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Gymnasiast
f4f6bfd5c5
Add Canadian French
2023-01-04 20:03:27 +01:00
Gymnasiast
08270d7d31
Close #18945 : Allow languages to fall back to more than just en-GB
2023-01-04 19:25:03 +01: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
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Michael Steenbeek
ae164e5228
Close #14888 : Change Esperanto code
2021-11-20 22:26:41 +01:00
Gymnasiast
d7d402747e
Add Vietnamese language
2021-03-31 14:26:31 +02:00
Ted John
b6a688e540
Refactor format tokens
2020-11-27 18:54:57 +00:00
Ted John
2f7c1aab14
Start eradicating old format codes
2020-11-27 18:54:56 +00:00
Keith Stellyes
3468d1fc6b
Close #13125 : Selecting the RCT2 files now uses localised dialogs
2020-10-09 21:13:14 +02:00
Michael Steenbeek
b835477542
Add Esperanto to language list ( #13096 )
2020-10-05 08:21:27 -03:00
Michael Steenbeek
9ef8d6da42
Convert most remaining C-style casts to C++-style ones ( #11867 )
2020-06-07 23:18:11 +02:00
Ted John
46d69126ea
Split identifier and legacyIdentifier on Object
2020-05-08 15:28:48 +01:00
Ted John
4501173c0d
Implement custom window tabs
2020-04-30 23:42:28 +01:00
Ted John
7628289eb3
Implement reverse of string processing
2020-04-26 14:35:04 +01:00
Ted John
4d221341da
Improve string handling and allow window update
2020-04-26 14:35:04 +01:00
Michał Janiszewski
2323cc1596
Use named casts instead of old-style casts
...
Change prepared with clang-tidy and google-readability-casting check
2020-04-22 17:09:29 +02:00
Gymnasiast
bbfa2570d5
Switch Czech to sprite font
2019-03-27 10:06:25 +01:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Michael Steenbeek
0ad2c74f0a
Do RTL fixes when loading language pack into memory
2018-09-29 22:44:18 +02:00
Matt
04928d4b84
Refactor reference over std::shared_ptr.
2018-08-31 07:18:48 +02:00
Michael Steenbeek
9e517a52ff
Add Turkish translation
2018-08-13 00:16:11 +02:00
Gymnasiast
00a8f41341
Use Russian name for Russian language.
...
This is possible now the sprite font supports it.
2018-07-23 23:44:13 +02:00
Gymnasiast
86aee96c3d
Add sprite glyphs for Cyrillic/Russian
2018-07-23 18:34:59 +02:00
clang-format
737d2c490c
clang-format localisation
2018-07-23 16:00:05 +02:00
Michael Steenbeek
8530d56a66
Add Danish translation ( #7771 )
2018-07-19 21:15:54 +02:00
Michael Steenbeek
1b08fb4e69
Replace our own integer types with standard ones
2018-06-20 17:30:40 +02:00
Hielke Morsink
0cf256ac9e
Ready copyright notice for clang-format
...
Clang-format sees the text behind `#pragma region` as code and formats it. Instead of stating the copyright and date there, it's now in the comment block right below it. The text "Copyright" is left in the `#pragma region` line, as clang-format sees it as a single identifier.
I took the opportunity to normalize the dates, and add the copyright notice to the source files where it was missing them (except for third-party and the generated resources.h file).
2018-06-15 14:07:34 +02:00
Aaron van Geffen
ee8bf9bd4a
Use ICU for converting strings to UTF-8 instead of our own tables.
...
Co-authored-by: Fusxfaranto <fusxfaranto@gmail.com >
2018-05-22 17:37:07 +02:00
Ted John
d1cbf998a0
Do not return shared_ptr for LocalisationService
...
GetLocalisationService is currently used a lot, so remove overhead of shared_ptr copy.
2018-05-11 20:39:00 +01:00
Ted John
8681b4fac9
[wip] Create new localisation service
2018-05-11 20:37:48 +01:00
Ted John
deaa60f8f1
Refactor string conversion between RCT2 and UTF8
...
Use Win32 API for conversion on Windows for non-1252 code pages instead of built-in tables.
2018-04-18 13:16:20 +02:00
Hielke Morsink
dc673a64d8
Give context the ownership of repositories and the object manager ( #7340 )
...
This makes them no longer a singleton, which fixes annoying behaviour when launching multiple contexts in one game session.
2018-04-10 13:19:23 +01:00
Ted John
900bc48efa
Write common JSON string loader
2018-03-26 21:37:22 +02:00
Gymnasiast
778ba466c5
Remove almost every extern C block
2018-02-05 16:20:15 +01:00
Michał Janiszewski
5a8cfb16c8
Clang-format guards for static data
...
This guards most of the hardcoded data from clang-format.
[ci skip]
2018-01-11 09:19:56 +01:00
Michael Steenbeek
755add6c9a
Compile localisation folder as C++
2018-01-06 18:32:25 +01:00
Aaron van Geffen
558cc07cb0
Implement CP949 to UTF-8 conversion for Korean.
2017-12-22 14:51:21 +01:00
Aaron van Geffen
0232bb5add
Implement CP932 to UTF-8 conversion for Japanese.
2017-12-22 14:51:21 +01:00
Hielke Morsink
3770b46e46
Replace 1 and 0 constants with bool where applicable
2017-12-21 23:47:30 +01:00
Ted John
14075b8d84
Fix #6835 : Undefined string in ride stats window
...
New changes to LanguagePack stop ability to tell apart an undefined string and an empty string. As a temporary measure, only allow string #0 to return empty string.
2017-12-16 17:40:46 +00:00
Ted John
2ea20552c4
Fix strings by std::string-ing LanguagePack
2017-12-14 14:38:14 +01:00
Ted John
31e112cf3b
Use std::string for objects
2017-12-14 14:38:14 +01:00