Unciv/tests
Md. Touhidur Rahman 461a7ac99d
Translate numbers to selected language (#11898)
* implement number translation

* fix previous error

* maybe this will fix things?

* try to make the regex more concise and fix the issues

* update implementation

* Transient cache

* implement Number.tr()

* Update core/src/com/unciv/models/metadata/GameSettings.kt

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>

* fix formatting

* move getNumberFormatFromLanguage() to Translations.kt and cache NumberFormat

* remove null cases and resolve suggestions

* why was I doing this? I forgot.

* move getLocaleFromLanguage() to Translations.kt

* add tests

* Update TranslationTests.kt

fix issues

* also remove also

* fix all given cases

* fix missing language param

---------

Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
2024-07-05 16:09:19 +03:00
..
src/com/unciv Translate numbers to selected language (#11898) 2024-07-05 16:09:19 +03:00
build.gradle.kts SomeTrog's versioning test - compile on jdk 17 FOR jre 11, includes gradle upgrade (#11111) 2024-02-10 19:44:47 +02:00