Commit graph

2966 commits

Author SHA1 Message Date
Yair Morgenstern
2c3441c536 Fixed translation tests 2019-12-18 23:42:17 +02:00
Yair Morgenstern
3627d4e6e2 Now load only necessary translations
Since loading all the translation files was taking around 2.5 seconds on my phone, and I assume much longer on older phones, we now only load the translations of the currently selected file, and if we need to find the translation percentage of all the files we deal with that separately. Down to around 200-300 ms on my phone =)
Also Translations is no longer part of the Ruleset, instead meing located in UncivGame
2019-12-18 23:32:31 +02:00
Yair Morgenstern
77d00f35bb Translation files now take a huge amount of time to load, moved their loading into a thread and put up a "loading screen" beforehand 2019-12-18 22:24:18 +02:00
RafeHaab
83ad3c6949 Update Spanish.properties (#1481)
Translations added
2019-12-18 22:19:50 +02:00
Smashfanful
31a9a74abd Update Italian.properties (#1480)
Update
2019-12-18 22:19:40 +02:00
uvehj
e64089305e Spanish translation (#1478)
Mostly menus/UI/messages
Some other misc corrections/additions
2019-12-18 17:02:56 +02:00
Selyanyn
7582d59f7e Update Russian.properties (#1477)
The translation is almost over: there're only education and a few different things left.
2019-12-18 16:52:00 +02:00
uvehj
249a144aed Spanish translation (#1476)
Buildings
Diplomacy
City-states
Trade
New game menu
2019-12-18 11:55:46 +02:00
Yair Morgenstern
c4d3be6576 Th whole point of the previous operation was to add these translation lines... and so of course I forgot 2019-12-17 23:01:04 +02:00
Yair Morgenstern
fd7160b785 Added line spacings in the translation files, for organization 2019-12-17 22:57:39 +02:00
armandberger
f1de01dd89 Many new french translations (#1475)
Thank you for your new organisation of the langages file, it's much easier to merge.
2019-12-17 22:54:24 +02:00
Maron [RUNO]
db0d894de2 Updated Polish translation (#1474)
Only 149 lines left ^^
2019-12-17 22:54:15 +02:00
Prosta4okua
6e8ab97e1f Update Ukrainian.properties (#1473) 2019-12-17 22:54:07 +02:00
Kevin Fisher
52111430ef Add close icon for the UnitTable (#1472) 2019-12-17 21:44:20 +02:00
Yair Morgenstern
a90d93c27e 3.4.0-patch1 2019-12-17 21:05:25 +02:00
uvehj
7cbd7862cd Update Spanish.properties (#1471)
Added Spanish text for the tutorial tasks
Changed Muro -> Muralla
Added translation for some buildings
2019-12-17 20:49:28 +02:00
Yair Morgenstern
b0a0638e84 Hopefully solved ANR when loading the game initially 2019-12-17 20:46:30 +02:00
Yair Morgenstern
e82cdd42fa Solved Application Not Responding when downloading map 2019-12-17 20:39:46 +02:00
Yair Morgenstern
fc4eb01be8 Added tests to ensure we don't miss translations in the future 2019-12-17 19:16:31 +02:00
Yair Morgenstern
809cd70f88
Create FUNDING.yml 2019-12-17 17:57:07 +02:00
Yair Morgenstern
113531a695 Spanish Civ is not production-ready, and natural wonders should be opt-in at the beginning 2019-12-17 16:56:07 +02:00
Yair Morgenstern
4f03322565 Tutorial task table now becomes visible when turning displayTutorials on - kudos @r3versi 2019-12-17 14:39:32 +02:00
Yair Morgenstern
486dba97df Added first images for resources - not implemented yet! 2019-12-17 14:25:28 +02:00
Yair Morgenstern
95b3397c48 Merge branch 'master' of https://github.com/yairm210/Unciv
# Conflicts:
#	core/src/com/unciv/logic/civilization/TechManager.kt
2019-12-17 14:24:17 +02:00
Yair Morgenstern
0de84e60a9 Not all Natural Wonders look good enough to enter the game as-of-now. 2019-12-17 14:23:17 +02:00
Smashfanful
5942cbdb85 Update Italian.properties (#1470)
Fixed typo
2019-12-17 14:00:52 +02:00
lishaoxia1985
fad3210a3d 1. some translation update. 2. modify limitOverflowScience Decision condition. (#1469) 2019-12-17 12:59:39 +02:00
r3versi
aa02a2d321 Natural Wonders (#1456)
* NaturalWonders initial commit
* Created models/ruleset/tile/NaturalWonder and assets/json/NaturalWonders
* MapGenerator now spawns NaturalWonders in random compatible random locations
* MapParameters has a noNaturalWonders option
* TileInfo has naturalWonder property (set to null if none)
* TileInfo and  UnitMovementAlgorithms correctly manages stats and consider the tile unpassable and unimprovable

* Notification and happiness on NaturalWonder discovery

* El Dorado discovery bonus, Spain unique

* Doubled tile yields for Spain

* NaturalWonders implemented as TerrainType + Fountain of Youth promotion

* Images issue #124

* NaturalWonder TileImages (Fantasy) and Overlay (Default)

* NaturalWonderOverlay.png : https://www.flaticon.com/free-icon/mount-fuji_2166259

* Bugfix

* Added translations

* Italian translations

* Fix translation issue
* missing space after = in template.properties breaks translations

* Improved NaturalWonder spawn logic

* Great Barrier Reef spawns on 2 contiguous tiles
* Each wonder has specific spawn requirements
* Number of wonders spawned scales with map radius

* Fix unused import
2019-12-16 20:37:49 +02:00
Yair Morgenstern
0366233be5 Translations will always be read with UTF-8 encoding 2019-12-16 19:47:35 +02:00
Yair Morgenstern
7abd0143c6 Excess settler food to production conversion moved to CityStats, solving the "0 production for settler" bug and also it's now displayed in the stats breakdown =) 2019-12-16 19:41:17 +02:00
Owlareyou
fc2286dfe3 Update Traditional_Chinese.properties (#1467)
I changed the wording for Chinese a little bit, to make it more natural.
2019-12-16 19:25:52 +02:00
LeMoonStar
02ccf95349 added missing German Tutorial translations and made some sound better (#1466) 2019-12-16 19:11:30 +02:00
Smashfanful
d3d8e8c2b5 Update Italian.properties (#1463)
Tell me if I skipped some untranslated lines
2019-12-16 13:38:27 +02:00
Erwin
5e9c4d8f68 Updated polish translation (#1465)
I deleted  # Requires translation! comment wherever I added my own translation.
2019-12-16 13:36:39 +02:00
Yair Morgenstern
a0dd770a3a 'Show tutorials' setting now controls tutorial tasks as well 2019-12-15 23:12:34 +02:00
LeMoonStar
4fd9d18093 added some German tutorial translations, more coming tomorrow (#1461) 2019-12-15 22:56:29 +02:00
Yair Morgenstern
8ae0d9d191 Maybe fixed the 'no languages except Chinese' bug in Android phones, but since I can't check this, I'll stick with both of them. Better safe... 2019-12-15 22:50:51 +02:00
Yair Morgenstern
4251637ac1 Added TutorialTask translations - this is SUPER IMPORTANT to translate, so I put it first! 2019-12-15 22:08:24 +02:00
Yair Morgenstern
94a960abc2 All languages should work for everyone 2019-12-15 22:00:12 +02:00
Yair Morgenstern
873f578d9f Added explanations for Great Scientist and overflow things in techManager 2019-12-15 21:32:32 +02:00
Yair Morgenstern
4b99656719 Changed Great Scientist unique and action strings in all languages, and removed BasicHelp - all the important info should be in the tutorials anyway. 2019-12-15 21:21:17 +02:00
lishaoxia1985
418a4968a4 great scienstist does the job like original game (#1453) 2019-12-15 20:41:39 +02:00
lishaoxia1985
e937ea0af1 all codes are writen in Kotlin (#1452) 2019-12-15 20:28:34 +02:00
Yair Morgenstern
5d75c3d65e 3.3.9 2019-12-15 20:04:10 +02:00
LeMoonStar
4e7ec0ac0e added some translations (#1459) 2019-12-15 13:52:45 +02:00
Prosta4okua
85df4080b2 Update Ukrainian.properties (#1458) 2019-12-15 12:51:00 +02:00
Yair Morgenstern
23f972eb2b Merge branch 'master' of https://github.com/yairm210/Unciv 2019-12-14 23:39:41 +02:00
Yair Morgenstern
ddf2794902 Fixed quote typo 2019-12-14 23:37:29 +02:00
Yair Morgenstern
91e414d29b
Update README.md 2019-12-14 23:31:26 +02:00
Yair Morgenstern
66af60b107 templates.properties -> template.properties 2019-12-14 23:31:11 +02:00