Closed ilujito2 closed 2 months ago
Hey there,
just one comment: I think this is pretty cool, and if you have the time right now, I wouldn't mind if you were willing to change it in the remaining languages. I could provide you with the translations necessary for the search & replace, but only the week after next.
All the best, Noldorion
Hey there,
just one comment: I think this is pretty cool, and if you have the time right now, I wouldn't mind if you were willing to change it in the remaining languages. I could provide you with the translations necessary for the search & replace, but only the week after next.
All the best, Noldorion
If this PR gets accepted, doing the change for tiles setup is super easy and quick (it's just changing the new fields in ui.json for each language). For the mission files, it will require a little bit more time, but it's totally doable. I think it's best to do all this in another PR, following this one (if this one is accepted of course :-) )
Cheers, ilu
Hi everyone and thank you for all the provided work.
I think there is still some places where the tiles symbols are not considered:
Am i wrong?
You're right ! I totally missed that there was a "Tiles" button during setup phase that was also showing similar information. I'll try to quickly find how to fix this.
@jph33 : I just created a new PR (https://github.com/GlowPuff/ImperialCommander2/pull/101) to fix this.
Side note: So you're using the French translation of the app ? If so, do not hesitate to let me know if you see any typo in the translation (via BGG).
Cheers,
@ilujito2 Comptes sur moi! Je suis la personne qui a fait la première traduction de l'application en FR. En tout cas bravo à toi pour avoir repris le flambeau et traduit tout le reste et corriger l'existant!
Attention : this is not just a translation related PR. There are also few code changes. Of course, feel free to reject, this is just a proposition.
TL;DR: This PR proposes the following changes:
Through this PR, the feature is available for all languages, but it's only applied to French. Note: I will sent a PR as well for SagaTranslatorModern (in case this PR is accepted).
Information about a change I did to your previous code and that I wanted to share :
The use of the expansion symbols was already available (using "ImperialAssaultSymbols SDF" font) but it was forced to be of color Red (as the rest of the Icons). I searched in all the json files and I couldn't find any reference to these expansion symbols. I therefore removed the forced color (as it should not have any impact, as they were not used), so that symbols can now be used anywhere, inheriting the color of where they will be used (i.e. : orange for Tiles setup, white in the missions texts, yellow in tutorial1...) Once again, of course, feel free to reject this if you think it's not appropriate.
Side note: ui.json files were only changed for EN and FR. For other languages, they will default to EN when not set.
More details about the feature changes:
My initial concern was that during Tile setup, "CORE 1A" does not make sense in French ("CORE" isn't French). Adding translation now allows to have French translation:
However, even though the word "Base" is now in French, it's not really elegant (it's not clear what it means. I would have to use "Jeu de base" and then tile setup screen would be unreadable...). So, that's where the use of symbols makes things now a lot clearer (and most importantly, totally language independent). Using the "{0}" notation in the ui.json file, it now allows to have:
Once changed for the tile setup, I also changed the French mission json files. Couple examples of the end result:
in Hoth14:![image](https://github.com/GlowPuff/ImperialCommander2/assets/170425011/f5be5653-6043-48f9-9f7b-7e99441835e8)
in Tutorial1:![image](https://github.com/GlowPuff/ImperialCommander2/assets/170425011/56c7b145-9dcd-4439-b28d-186cf031a72d)
in Bespin2:![image](https://github.com/GlowPuff/ImperialCommander2/assets/170425011/6c488eaf-5eab-4606-a7c3-7c735e05df9a)
Hoping that you will find this PR proposition usefull, Do not hesitate if you have any comments ilu