Support for pt-PT (Portuguese language, Portugal country "variation") #37
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is part 1 of PR, including string resources for translation of shapes and colors
To whoever doesn't want to wait for next release or manually build the project:
BabySmash.exe
if you're using the single file archive), create aResources\Strings
(note: two folders, nested)pt-PT.json
(included in this PR) insideStrings
folderA related glitch was identified, in
PlaySound
, where the reading is hard-coded to<color> <shape>
order; in Portuguese, that will by default be the reverse<shape> <color>
; guessing that a parameter stating the order will be enough, possibly as part of string resources — Question:Is there any known language that is dynamic regarding the shape-color ordering?
A follow-up might be added to this PR ("part 2") or as separate PR if this is reviewed/merged in the meantime.