Version rollout (#13919)

* Bump version and create initial changelog entry

* Adding the Maltese Language - Fixed! (#13912)

* Update completionPercentages.properties

* Update LocaleCode.kt

* Add files via upload

* Rename malta.png to Maltese.png

* Update Flags.atlas

* Update Flags.atlas

* Create Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update completionPercentages.properties

* Update Maltese.properties

* Update LocaleCode.kt

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Update Maltese.properties

* Adding to the European Portuguese Translation (#13909)

* Update Portuguese.properties, up to Songhai empire

* Update Portuguese.properties

Finished Civilization entries. Added "Astronomy" quote translation

* Update Portuguese.properties

Continued until the Netherlands

* Update Portuguese.properties

Added Gustavus Adolphus translation

* Update Portuguese.properties

Added translations for Austria and Carthage

* Update Portuguese.properties

Added translation for Byzantium

* Update Portuguese.properties

Finished Civilization dialogues and continued up to We Love the King Day

* Update Portuguese.properties

Finished translating all I kew and resolved all of my translations I had doubts about (marked #Unsure)

* Fix tests

---------

Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Jioido <j9725206@gmail.com>
Co-authored-by: santolas2000 <73234638+santolas2000@users.noreply.github.com>
This commit is contained in:
Yair Morgenstern 2025-09-13 22:58:34 +03:00 committed by GitHub
parent 311611bee5
commit 1a75d8a435
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
12 changed files with 8053 additions and 711 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -193,6 +193,13 @@ FlagIcons/Malay
orig: 128, 128
offset: 0, 0
index: -1
FlagIcons/Maltese
rotate: false
xy: 1908, 4
size: 128, 128
orig: 128, 128
offset: 0, 0
index: -1
FlagIcons/Norwegian
rotate: false
xy: 1092, 4

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,7 @@ Korean = 94
Latin = 60
Lithuanian = 80
Malay = 28
Maltese = 11
Norwegian = 68
Persian_(Pinglish-DIN) = 11
Persian_(Pinglish-UN) = 29

View File

@ -3,7 +3,7 @@ package com.unciv.build
object BuildConfig {
const val appName = "Unciv"
const val appCodeNumber = 1162
const val appVersion = "4.18.0"
const val appCodeNumber = 1163
const val appVersion = "4.18.1"
const val identifier = "com.unciv.app"
}

View File

@ -1,3 +1,12 @@
## 4.18.1
By RobLoach:
- Add Global Uniques to the Civilopedia
- Add `Adopt [policy/belief]` Unique
- Add diplomacy status to `civFilter`
button alignment - By SidedYapper
## 4.18.0
CPU performance improvements

View File

@ -494,7 +494,7 @@ open class UncivGame(val isConsoleMode: Boolean = false) : Game(), PlatformSpeci
companion object {
//region AUTOMATICALLY GENERATED VERSION DATA - DO NOT CHANGE THIS REGION, INCLUDING THIS COMMENT
val VERSION = Version("4.18.0", 1162)
val VERSION = Version("4.18.1", 1163)
//endregion
/** Global reference to the one Gdx.Game instance created by the platform launchers - do not use without checking [isCurrentInitialized] first. */

View File

@ -147,6 +147,7 @@ class Religion() : INamed, IsPartOfGameInfoSerialization {
}
}
@Readonly
private fun unlockedBuildingsPurchasable(): List<String> {
return getAllBeliefsOrdered().flatMap { belief ->
belief.getMatchingUniques(UniqueType.BuyBuildingsWithStat).map { it.params[0] } +

View File

@ -46,6 +46,7 @@ enum class LocaleCode(val languageTag: String, private val fastlaneFolder: Strin
Latvian("lv-LV"),
Lithuanian("lt-LT"),
Malay("ms-MY"),
Maltese("mt-MT"),
Norwegian("no-NO"),
NorwegianNynorsk("nn-NO"),
PersianPinglishDIN("fa-IR"), // These might just fall back to default

View File

@ -12,6 +12,7 @@ import com.unciv.ui.components.input.KeyCharAndCode
import com.unciv.ui.images.ImageGetter
import com.unciv.ui.popups.Popup
import com.unciv.ui.screens.civilopediascreen.ICivilopediaText
import yairm210.purity.annotations.Readonly
class TutorialController(screen: BaseScreen) {
@ -76,6 +77,7 @@ class TutorialController(screen: BaseScreen) {
}
}
@Readonly
private fun getTutorial(tutorial: TutorialTrigger): List<String> {
val name = tutorial.value.replace('_', ' ').trimStart()
return tutorials[name]?.steps ?: emptyList()

View File

@ -0,0 +1,8 @@
By RobLoach:
- Add Global Uniques to the Civilopedia
- Add `Adopt [policy/belief]` Unique
- Add diplomacy status to `civFilter`
button alignment - By SidedYapper