* Refund wasted production as gold
Any wasted production, from for instance a partially completed wonder or
obsolete units, will now be refunded as gold (in a 1:1 ratio).
We update both at the start and end of the user turn. Updating at the
start to account for wonders completed after our previous turn and
updating at the end to account for obsolete buildings/units as a
consequence of our own turn.
When obsolete units get replaced by their upgraded version (as in civ 5)
this code should probably be updated.
* Implement wonder refund and obsolete unit upgrade
If a wonder is built somewhere else but the user has production in this
wonder, the production will be refunded as gold in a 1:1 ratio. A
notification will be shown to indicate this. This reflects the behaviour
in Civ 5.
If a unit becomes obsolete and an upgrade is available, the production
put into this unit will now be transferred to the upgraded version. If
the unit is queued, the queued unit will also be changed to the new
version and the user will be notified via notification.
* Shorten notification messages
* Update alerts: been obsolete -> become obsolete
* Chinese translation update (#3825)
* Update Czech.properties (#3815)
* Update Czech.properties
Note for czech translators:
Zakulacený svět zní divně, ale nevím, jak jinak to přeložit. Budu rád za nápady.
* Update Czech.properties
* Update Italian.properties (#3812)
Co-authored-by: lishaoxia1985 <49801619+lishaoxia1985@users.noreply.github.com>
Co-authored-by: jahodovykolac <79529669+jahodovykolac@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>
* Update French.properties (#3767)
* Create French.properties
* Update French.properties
* Update French.properties
* Update German.properties (#3764)
* Update Czech.properties (#3763)
Translated some new lines and city-states' diplomacy
* Hungarian.properties (#3761)
* Update Spanish.properties (#3774)
There were a few 'translation!' messages, I didn't check the already completed text. If any help is needed please let me know. My discord name is john2342#8925
* Deleted unnecessary space before colon, update czech.properties (#3773)
* Deleted space before colon
In VictoryScreen.kt was one extra space, looking like "Spain : 35" instead of "Spain: 35"
* Update Czech.properties
Co-authored-by: Loubard Kevin <70336598+subversive-eu@users.noreply.github.com>
Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com>
Co-authored-by: jahodovykolac <79529669+jahodovykolac@users.noreply.github.com>
Co-authored-by: JurDan775 <80947706+JurDan775@users.noreply.github.com>
Co-authored-by: juan234248 <77988217+juan234248@users.noreply.github.com>
* Update German.properties (#3680)
* Update German.properties
* Update German.properties
* Update German.properties
* Updated Spanish translations (#3677)
* Completed Spanish translations
* UnitTable.kt modifications to place cancel, previous idle unit and next idle unit below unit information
This was made in order to prevent previous idle unit and next idle unit keys' positions to change depending on how big the unit info box is.
* NotificationsScroll: Made notifications dark blue with white text.
* Improved Spanish translations
* Revert "NotificationsScroll: Made notifications dark blue with white text."
This reverts commit 63b8ba2e
* Completed Spanish translations
* UnitTable.kt modifications to place cancel, previous idle unit and next idle unit below unit information
This was made in order to prevent previous idle unit and next idle unit keys' positions to change depending on how big the unit info box is.
* NotificationsScroll: Made notifications dark blue with white text.
* Improved Spanish translations
* Revert "NotificationsScroll: Made notifications dark blue with white text."
This reverts commit 63b8ba2e
* Revert "UnitTable.kt modifications to place cancel, previous idle unit and next idle unit below unit information"
This reverts commit d970632b
* Improved Spanish translations
* Update German.properties (#3676)
* Replaced ß with ss in some words.
* Update German.properties
* Update TileImprovements.json
Fixed typo
* Update German.properties
* Update German.properties
* Update German.properties (#3673)
* Update German.properties (#3672)
* Update Czech.properties (#3670)
new strings, few typos
translated ottoman, kroean, iroquois and persian diplomacy and cities
Co-authored-by: Martin Pechstein <77325495+Mape6@users.noreply.github.com>
Co-authored-by: 71walceli <antonini2903@hotmail.com>
Co-authored-by: stoupa007 <60326342+stoupa007@users.noreply.github.com>
* Update Czech.properties (#3597)
* Update Czech.properties
new strings, american and japan diplomacy
* Update Czech.properties
fixed param typo
* Update Malay.properties (#3596)
Translate some of the tutorial phase, dialogues and other in-game selection buttons.
* Update Italian.properties (#3594)
Co-authored-by: stoupa007 <60326342+stoupa007@users.noreply.github.com>
Co-authored-by: SNN95 <41881544+SNN95@users.noreply.github.com>
Co-authored-by: Giuseppe D'Addio <41149920+Smashfanful@users.noreply.github.com>