Commit Graph

10732 Commits

Author SHA1 Message Date
yairm210
f31463782b URGH 2024-07-08 13:45:59 +03:00
yairm210
54e1555ddb Don't store it dammit 2024-07-08 13:45:31 +03:00
yairm210
15759b143f Resolve detekt error 2024-07-08 13:45:06 +03:00
yairm210
6ed43a2280 Resolved #11892 - Duplicate notifications are all shown
@SomeTroglodyte We need to better fine-tune the notification de-duplication, often we *do* want duplicates
2024-07-08 12:30:54 +03:00
yairm210
661d7a1b79 Resolved #11901 - Can no longer build infinite air units in cities 2024-07-08 00:24:25 +03:00
yairm210
13c1ef89a5 Resolved #11926 - Countable parameter doesn't display error for "[buildingFilter] Buildings" 2024-07-07 23:15:09 +03:00
SpacedOutChicken
ac6964d290
Correct Unique parameters doc to display terrain quality (#11927)
* - Turn Privateer's unique ability into a promotion
- Add promotion to Privateer and Sea Beggar

* Update uniques for withdrawing before melee combat

* List terrain quality in relevant section - correct capitalization of Enemy Land
2024-07-07 23:12:41 +03:00
yairm210
8b4d5195a3 Resolved #11886 - Friendship-based modifiers calculated correctly 2024-07-07 14:50:41 +03:00
SomeTroglodyte
95bc8d09d1
Update flag for Latin so it's same size as the others (#11918) 2024-07-07 13:13:38 +03:00
yairm210
39a303358b 4.12.8 2024-07-05 16:23:35 +03:00
Yair Morgenstern
351c515e02
Version rollout (#11917)
* Bump version and create initial changelog entry

* Ninjum patch 2 (#11916)

* Update Galician.properties

translate up to line 2000

* Update Galician.properties

line 2137

* Update Galician.properties

2249 line

* Update Galician.properties

translate up to line 2300

* Update Galician.properties

repair line 2269, translate up to line 2300

* Update Galician.properties

translate up to line 2400

* Update Galician.properties

translate up to line 2800

* Update Galician.properties

translate up to line 2800 and repair some lines

* Update Galician.properties

translate up to line 3200

* Update Galician.properties

translate up to line 3500

* Update Galician.properties

translate up to line 4090

* Update Galician.properties

translate up to line 4670

* Update Galician.properties

translate up to line 5057

* Update Galician.properties

translate update to line 6036

* Update Galician.properties

translate up to line 6700

* Update Galician.properties

all lines translated

* Update Turkish.properties (#11914)

* Update Catalan.properties (#11912)

* Update Hungarian.properties (#11910)

Added some translations

* Update Indonesian.properties (#11906)

Corrected the mistranslated word.

* Update Ukrainian translations (#11905)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: ninjum <138787523+ninjum@users.noreply.github.com>
Co-authored-by: ygz213 <77006222+ygz213@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: JurDan | Werewolf Cookie <80947706+JurDan775@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
2024-07-05 16:17:46 +03:00
SomeTroglodyte
1483ac54b3
Fix TranslationFileWriter changing diacritic-using languages (#11913)
* Fix TranslationFileWriter so it works with original translations, not fake-alphabet-mapped ones.

* Kdoc and remove redundant code as per review
2024-07-05 16:10:24 +03:00
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
SomeTroglodyte
ebba2eaeea
Galician support (#11742)
* Galician support

* Redo Flags.atlas
2024-07-05 16:09:01 +03:00
yairm210
8ea510d239 perf: Don't update civ stats when calculating production for construction 2024-07-04 00:09:32 +03:00
yairm210
d9deb12df9 perf: Calculate resource modifiers *once* when calculating resources 2024-07-04 00:02:14 +03:00
yairm210
b6414aef9d Unified "all techs are researched" check 2024-07-03 23:43:11 +03:00
yairm210
32e7099ada perf: Add unique cache to building choices 2024-07-03 23:28:57 +03:00
yairm210
45ec525a47 perf: Send current tile stats when choosing improvement, ~6% CPU reduction 2024-07-03 23:19:21 +03:00
yairm210
740f7bdb93 Simulation - Print text on each simulation end, not just once at end of 2024-07-03 18:55:53 +03:00
yairm210
fba4128c02 Simulation civ names are constants, so we can reference them from wherever inside the code for A/B testing 2024-07-03 18:34:50 +03:00
yairm210
e397c52f4c Better simulation automation 2024-07-03 18:04:24 +03:00
yairm210
698b7db255 Added missing deprecation validation for unit uniques 2024-07-03 15:09:34 +03:00
SpacedOutChicken
aeea13bb71
Update uniques for withdrawing before melee combat (#11904)
* - Turn Privateer's unique ability into a promotion
- Add promotion to Privateer and Sea Beggar

* Update uniques for withdrawing before melee combat
2024-07-03 15:08:49 +03:00
yairm210
9c864c34f0 4.12.7 2024-07-02 22:10:47 +03:00
yairm210
fb4735908a 4.12.7 2024-07-02 21:25:54 +03:00
Yair Morgenstern
ebd7f0cd34
Version rollout (#11902)
* Bump version and create initial changelog entry

* Update Italian.properties (#11897)

* Update French.properties (#11894)

* Update translations to Ukrainian (#11893)

Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>

* Update Indonesian.properties (#11887)

Put "" on the right of diacritics support codes.

* Bangla Translations (15%) (#11755)

* Start Bangla Translations

* translations from previous night

* try to fix linting errors

* Update GameSettings.kt

* Update completionPercentages.properties

* Add Bangladeshi Circular Flag

Designed by: Md. Touhidur Rahman (@touhidurrr)
Special thanks to: H M Naimuzzaman Shuvo

* Update Credits.md

* add changes from 0a357e3 and 5967f56

* start managing requires translation strings to track translation progress

* add more translations

* fix png metadata

* interlacing, rgba 16, compression 1, anitalias 2

* Update Credits.md

* add more translations

* add more translations, reached 500th line!

* possibly last commit for now

* fix flag issue

* add diacritics support stuff, thanks to #11806

* update diacritics settings for ae779ed and complete main screen translations for testing

* add some translations

* support modified diacritics settings

* Add changes from recent commits and some translations

* save work. lines translated: 1103 / 5665 (19.47%), characters translated: 24856 / 198675 (12.51%).

* Update completionPercentages.properties

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: Md. Touhidur Rahman <46617994+touhidurrr@users.noreply.github.com>
2024-07-02 21:19:41 +03:00
Oskar Niesen
bcbe6a6812
Fixed team war giving "they declared war on us" notification to a civ declaring war (#11900) 2024-07-02 20:49:07 +03:00
yairm210
d9f0535a1f AI: Better placement for Great Improvements 2024-07-02 20:47:28 +03:00
yairm210
9776df3d81 City focus resets to default when annexed 2024-07-02 18:28:53 +03:00
yairm210
2700ef6963 Allow multiplication for event triggers 2024-07-02 10:25:14 +03:00
Yair Morgenstern
58e58ccfec Regenerated altases from scratch so other contributors don't encounter problems 2024-07-02 08:35:08 +03:00
Yair Morgenstern
9b3ea6beb3 Resolved #11890 - oxipng lossless compression 2024-07-02 00:00:04 +03:00
Yair Morgenstern
519939adc2 Move debug keystore to android folder 2024-07-01 23:24:25 +03:00
Yair Morgenstern
1155aec310
Move detekt configs to workflow (#11899)
* Move detekt configs to workflow

* Update documentation
2024-07-01 22:55:53 +03:00
yairm210
2ea40c7cde "Consumes resources" unique not displayed twice for buildings in city screen 2024-07-01 19:21:29 +03:00
yairm210
a05b8e4177 "Consumes resources" unique not displayed twice for units 2024-07-01 19:19:47 +03:00
yairm210
41c7e4e9b1 Remove "wildcard imports" as a detekt warning 2024-07-01 19:03:22 +03:00
yairm210
b20c89733b Don't give simulation stats for civs that never won 2024-07-01 09:50:57 +03:00
yairm210
dcaf3bd68e Split tr() into subfunctions, was getting very large for a single function 2024-07-01 09:21:48 +03:00
yairm210
2ef7c15538 Added "generic civ" comparisons to ConsoleLauncher, for testing AI changes 2024-07-01 00:13:14 +03:00
yairm210
37b9943ff3 Added promotionName as possible value for mapUnitFilter 2024-06-30 23:43:28 +03:00
yairm210
3dbedf04ba FINALLY got ConsoleLauncher returning actual simulation results!! 2024-06-30 23:36:56 +03:00
partev
36c7f0b2d9
IOS -> iOS (#11889)
minor clean up
2024-06-30 18:43:02 +03:00
yairm210
346d5626d2 Remove 10% rollout of Google Play - practically I don't have time to deal with that, 100% for everything 2024-06-30 11:01:51 +03:00
yairm210
0f07ec93e4 DAMN you autoformat 2024-06-30 10:45:49 +03:00
yairm210
c2ca4e6acb 4.12.6-patch1 2024-06-30 07:36:02 +00:00
Yair Morgenstern
0d45915df9
Hotfix for endless stats (#11888) 2024-06-30 10:35:54 +03:00
yairm210
96db86cdc2 translation: Map types section clarity 2024-06-30 00:58:31 +03:00
yairm210
2f99b166eb 4.12.6 2024-06-30 00:39:17 +03:00