Commit Graph

14 Commits

Author SHA1 Message Date
Ben V. Brown
51420829f0 update build script 2019-12-23 18:33:24 +11:00
Alessandro Gatti
495073425e Make build.sh Bash 3.x compatible.
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.
2019-07-20 00:06:17 +02:00
Ben V. Brown
449e21ae65 Fix build using already variable, updated translations file 2019-01-31 07:25:42 +11:00
Rockman18
23b8353614 New build.sh script : detect languages with translation_*.json files (#400)
* [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
2018-11-18 14:09:25 +11:00
Konstantin Đorđević
d052edaf9a Improve consistency in translations, fix language codes, use cyrillicGlyphs, tweak Serbian translation strings (#407)
* 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
2018-11-17 11:08:39 +11:00
David Hilton
ffeacca74d update Translation.cpp before build (#391) 2018-10-26 11:09:27 +11:00
Ben V. Brown
2e210da7a6 Add TS80 to build.sh 2018-10-11 15:38:25 +11:00
Julius Vitkauskas
54ec20cd9f Update translations and use new translations infrastructure (#357)
* Align Lithuanian translation with text length restrictions

* Make translation generation script work also with Python 3

* Fix compilation error by introducing "OffString" string to translations

* Update translations

* Update remaining translations

* Add Finnish, Dutch, Portuguese and Ukrainian languages

* Add Swedish language, update build script

* Add Norwegian and Serbian (Latin) translations

* Update translation file, add automatically generated file warning

* PIDSETTINGS support. Thanks Andre Bernet (kilrah)

* Update Hungarian translation. Thanks adrianmihalko.
2018-09-18 09:55:52 +10:00
Ben V. Brown
3d1d47acee Long overdue additions
Closes #329
Closes #324
Closes #331
Should Close #321
Should Close #301
2018-07-27 19:21:12 +10:00
Ben V. Brown
cc09157106 Fix UK -> UA for Ukrainian
#261
2018-04-13 17:27:22 +10:00
Ben V. Brown
58061e3c26 Drop SE, add FI 2018-04-13 09:51:03 +10:00
Denis Goncharov
2928e4d39c add UK (#265) 2018-04-09 08:00:32 +10:00
Ben V. Brown
c4230d79bf Update Build Script
Fixes #252
2018-03-25 11:33:24 +11:00
Ben V. Brown
4c0ba72542 Update Makefile and build script 2017-12-14 21:59:09 +11:00