Add. new version.h, which included now the build version.
Adapted build.sh - to extract the build version from versioh.h and sends it to translation script.
The highest version of bash shipped by vanilla macOS is 3.2, and it will
stay like that for the foreseeable future (bash being removed as default
in 10.15 is a strong indicator for that).
The build.sh script used Bash 4.x syntax for enumerating available
translations - this patch dials back the clock to Bash 3.x making things
work again on macOS and (hopefully) still maintaining functionality on
other platforms that use a newer version of bash.
* [Build script] Detect languages with translation_*.json files
* [Build script] Swap model and language in the build loop to avoid full rebuild
* [Build script] Cleaning potential bugs according ShellCheck
* [Build script] Rewrite AVAILABLE_LANGUAGES calculation with @vomindoraan help
* Tweak Serbian translations
* Add "cyrillicGlyphs": true to translations that use Cyrillic
* translation_cs_cz.json → translation_cs.json
The correct language code for Czech is CS; CZ is the country code
* Add "cyrillicGlyphs": false to other translations, move "languageLocalName" to top
Also change BG and HU "localLanguageName" to start with a capital letter
* Add missing "languageLocalName" field for Slovak
* Rearrange a few fields so they're in the same order for all languages
* Regenerate translations source file
* Portugues → Português
* translation_dk.json → translation_da.json
DA is the ISO 639-1 code for Danish
* translation_ua.json → translation_uk.json
UK is the ISO 639-1 code for Ukrainian
* Update language codes in build.sh