* 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>
* 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>
* Diacritics support - achieving 1-Char-Per-Glyph via a fake alphabet
* Diacritics support - Redesign state engine and polishing
* Diacritics support - Unit test
* Diacritics support - Expand unit test to cover more cases
* Diacritics support - Expand unit test to cover more cases
* Clarify a function name
* Change format of diacritic definitions
* Refactor DiacriticSupport to per-language class with statics in Companion
* Update DiacriticSupport to use CharCategory and enable support of surrogate pairs
* Documentation
* Bump version and create initial changelog entry
* Update Catalan.properties (#11869)
* Update Simplified_Chinese.properties (#11868)
* Update Simplified_Chinese.properties
* Update Simplified_Chinese.properties
* Provide translations to Ukrainian (#11867)
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update Italian.properties (#11866)
* Update French.properties (#11862)
* galician translate (#11848)
* Add files via upload
* Update Galician.properties
under construction
* Update Galician.properties
corrections and translated more
* Update Galician.properties
all lines translated, errors missing
* Update Galician.properties
Complete translation, revised brackets, pending text revision but already functional
* Update Galician.properties
* Update Galician.properties
correxida liña 637 posto [time] que e o correcto.
* Update Galician.properties
revisado ata 2000
* Update Galician.properties
repair line 1496 and 1905
* Update Galician.properties
lines 1496 to 1499 repair
* Update Galician.properties
hei por he varias, liña 995 correxida
* Update Galician.properties
+ correccions
* Update Galician.properties
starting the translation again and little by little to see if we can make it through this one, the other one pains me to say but it was real garbage.
Only the first 500 lines have been translated to check for errors
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Joan Josep <juanjo.ng.83@gmail.com>
Co-authored-by: 焕晨HChen <123531821+HChenX@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.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: ninjum <138787523+ninjum@users.noreply.github.com>
* Bump version and create initial changelog entry
* Apply a few fixes to wording in Ukrainian (#11840)
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update Italian.properties (#11838)
* Update Indonesian.properties (#11814)
Corrected a capitalisation and translated the new words.
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
* Bump version and create initial changelog entry
* Provide translations to Ukrainian (#11809)
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
* Update Simplified_Chinese.properties (#11805)
* Update Simplified_Chinese.properties
Has been a long time since my last translation. (Seems to be, a few months?)
* Update Simplified_Chinese.properties
* Update Spanish.properties (#11797)
* Update French.properties (#11796)
* Update Indonesian.properties (#11794)
Translated the new words.
* Update Hungarian.properties (#11793)
* Update Hungarian.properties
* Update Hungarian.properties
* Update Brazilian_Portuguese.properties (#11792)
---------
Co-authored-by: yairm210 <yairm210@users.noreply.github.com>
Co-authored-by: Kostiantyn Ko <test9@mormat.name>
Co-authored-by: Kostiantyn Ko <mormat.iam@gmail.com>
Co-authored-by: heipizhu4 <100454479+heipizhu4@users.noreply.github.com>
Co-authored-by: Caballero Arepa <78449553+Caballero-Arepa@users.noreply.github.com>
Co-authored-by: Ouaz <Ouaz@users.noreply.github.com>
Co-authored-by: X2003 <158255876+Xenia2003@users.noreply.github.com>
Co-authored-by: balazsszalab <balazsszalab@freemail.hu>
Co-authored-by: Vitor Gabriel <59321138+Ranbut@users.noreply.github.com>
* Reduced max motivationToAttack from relative combat strength
* Refactored MotivationToAttackAutomation to use a float instead of an int
* Added personality values to MotivationToAttackAutomation
* Fixed minor build errors
* Added DiplomacyAutomation personality modifiers
* Improved ConstructionAutomation personality values
* Added some more personality implementations
* Tweaked trainSettler
* Fixed civilizations asking for help against city-states
* Adjusted DiplomacyAutomation to account for war mongering
* Fixed typo
* 🎵 A little linting 🎶
* Prevent queueing unresearched removals by adding their problem reports on top
* More linting and bugfixes
* Hide "too advanced" Improvements in the PickerScreen
* ImprovementPickerScreen fully Civilopedia-linked
* Fix dumb mistake
* Slightly improve PickerPane descriptionLabel layout
* Slightly improve ImprovementPickerScreen top padding
* Fixed a crash when rigging a city-state election the turn before meeting them
* Civilizations move their spies back to the hideout when defeated
* Players can't move spies when defeated
* Removed some weird indents
* AI Civs now are happy for good trades
* Each gift point is worth 100 gold without inflation
* Gifts can now be used as credit for future trades
* Fixed giftAmount conversions
* Fixed get inflation returning NAN when gpt is negative
* diplomatic gifts are now rounded when checking trade acceptability
* Changed gold gift scaling to account for relationship level
* Fixed percent based value reduction
* Added gold gifting functions to DiplomacyManager
* Added tests
* Declaring war removes gold gifts
* Reversed trade evaluation
* Added more tests for trading
* Fixed who the gifts are given to
* Added more comments
* Added more tests and fixed stuff
* Gifting does not occur with trade treaties
* Renamed handleGoldGifted to GiftGold
* Added two more tests
* Improved comments
* Liberating a civ no longer gives positive relations from open borders
* Added city bombard, work and expand range ModConstants
* Changed some city range integers to city.getWorkRange() or some equivalent
* Fixed city screen
* Fixed create game error
* Improved support for CityScreen when work range is higher than expand range
* Improved WonderOverviewTab Style
* Improved Civilization.modConstants
* Improved random spacing
* Changed WonderOverviewTab to use a constant again
* Added comments in documentation
* Split off reuses of CityStateIcons/Cultured to allow modding separately
* Reposition floating tutorials in case the TopBar moved its buttons
* Event definition, art and basic support
* Split off Event rendering from AlertPopup
* Support Event presentation modes and replace hardcoded floating tutorials
* "Meet another civilization" art - can't find any better
* Tweak TranslationFileWriter and some polishing
* Made minimum duration of a war moddable
* Made turns until revolt moddable
* Made spy skill moddable
* Migrated city-state elections to use the Civ flag system
* Moved cityStateElectionTurns away from espionage
* Added new moddable constants to the documentation
* Fixed merge conflicts
* Solved combat resource conditionals vs cities being checked against the target's resources
* Crash fix - Don't attempt to ask civs you don't know for help
* UniqueParameterType getErrorSeverity/isKnownValue simplification
* Minor changes to a few UniqueType documentations
* Allow UnitsGainPromotion e.g. "[Melee] units gain the [Morale] promotion"
* Convert MapResources into an Enum
* Fix IsPartOfGameInfoSerialization where actually only the String is part of serialization
* Refactor MapResources to own file, package mapgenerator
* Refactor MapSize/MapSizeNew to own file and rename
* hasAtLeastMotivationToAttack now takes uses City.neighboringCities
* Changed attack pathing to use Astar
* Made the base force higher
* Declare war checks for total population instead of number of cities
* MotivationToAttackAutomation takes into account denunciation
* Set up DeclareWarTargetAutomation.kt
* Added logic for Civs to try and gang up on other Civs
* Added logic for civs to try and join an ally civ in their war and to declare war directly
* Added declineJoinWarOffer flag
* Reduced the likelyhood of declaring war a little
* Civs don't try to join wars against city-states
* Removed calculating targets with 0 motivation
* Relative production is not calculated against city-states
* Improved getAttackPathsModifier to only calculate the best path per city
* Refactored filter statements
* AI now tries to execute planned wars by default
* Culture Civs can now declare war, AI can declare multiple wars
* AI won't gift gold to city-states that it wants to attack
* Changed motivation from combat
* Changed AI aggression towards city-states
* Civs don't want to sign a DOF with the only nearby major civ as much
* City.neighboringCities filters out cities that are not visible
* Fixed some conditionals in tryJoinWar
* Fixed some war plan types breaking instead of continuing
* Civs are more likely to sign open borders if they haven't seen their cities
* Changed far away cities to have less of a value
* Fixed neighboringCities and getNeighboringCivilizations
* Other fixes
* Reduced motivation to attack from relative strength
* Added more to motivation to attack
* Added extra friendship modifiers
* Moved war evaluation to WarPlanEvaluator
* Added comments and re-named preparingWarPlan
* AI Team wars require neutral relations to send
* Added a team war notification
* Added evaluation of join war trades
* Tweaked MotivationToAttackAutomation
* Improved peace deal offers
* AI peace deals wait until 10 turns after declaring war
* Made the AI declare war a little less
* AI builds more military units
* AI keeps at least 2 great generals to not build citadels with
* AI TeamWar is more specialized for fighting stronger Civs
* Removed extra line
* Added more comments
* Improved unit tryPrepare logic
* Minor respelling and style improvements
* Changed MotivationToAttackAutomation HashMap to be a list
* Added a heuristic for the Astar search
* TeamWarPlan focuses more on relative force and fighting stronger civs
* MotivationToAttackAutomation takes into account planned wars and can target stronger civs
* Added logic for AI's to request other civs to join their war
* Fixed some WarDeclaration TradeEvaluation logic and reduced costs
* Added some extra safety against extreme force values in DeclareWarPlanEvaluator
* Restrict access to lastSeenImprovement
* Move TileInfoNormalizer to logic
* Remove all uses of gamestate- and transient-dependent changeImprovement from MapGenerator
* Update lastSeenImprovement from changeImprovement where appropriate
* Another rename removing an `Info`
* Remove redundant spectator test
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
---------
Co-authored-by: Yair Morgenstern <yairm210@hotmail.com>
* Changed the spy level cap to be a mod constant
* Spy rank shows with more stars
* Reverted some temporary debug changes
* Changed Promotes all spies to accept an amount
* Change Promotes all spies [amount] time(s) to have parenthesis around the s
* Fixed problem with merging
* Added an option to disable move by long press
* Moved setting check to tileGroup.onActivation and changed it to check for longTapMove
* Added translation
* Limit visibility inside devconsole package
* Make City an INamed to allow use of INamed-bounded generics on it
* CliInput class treats all DocConsole command line tokens, allows autocompleting quoted input to quoted full names
* Alternate, more flexible but also validating `civ activatetrigger` implementation
* Allow undisturbed display of square brackets in UncivTextField's
* Fix minor bug with OneTimeRevealSpecificMapTiles and move OneTimeReveal* implementations together
* SortableGrid architecture changes: defaultSort instead of defaultDescending
* SortableGrid architecture changes: Header cell actor management
* SortableGrid architecture changes: General Services and reusable defaults
* Fix EmpireOverviewScreen sometimes forgetting the last active tab
* Reimplement Unit Overview using SortableGrid (but dropping unit supply)
* Get UnitSupplyTable back into Unit Overview
* Fix unit overview does not know PromotionPickerScreen changed the name
* Simplify update after rename
* Fix "Ooops" wrong value in ranged strength column
* Linting
* Fix potential crash when having a multiplayer notification sound configured that is no longer available
* New media finder architecture
* Unit tests for new media finder architecture
* Apply new media finder architecture to solve "allow all mod sounds as multiplayer notifications" request
* Make DeveloperConsole callable from WorldScreenMenuPopup
* Better WorldScreenMenuPopup single/dual-column logic
* Allow developer console to stay open and persist history
* Fix console tab key closing onscreen keyboard
* Give the now persisted console history an upper size limit
* Ensure "up" always gives the new entry
* Fix merge leftovers
* Reviews