Config flow translations (#13066)

* Development script for testing translation strings

* Localize backend of config flow

* Fix hue tests

* Update hue.en.json

* Move components to individual directories

* Bridge -> bridge
This commit is contained in:
Adam Mills authored and Paulus Schoutsen committed 2018-03-11 12:04:34 -07:00
1 parent f5cc40024d
commit 26960283a0
11 files changed
+147 -41

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Compile the current translation strings files for testing
# Safe bash settings
# -e Exit on command fail
# -u Exit on unset variable
# -o pipefail Exit if piped command has error code
set -eu -o pipefail
cd "$(dirname "$0")/.."
mkdir -p build/translations-download
script/translations_upload_merge.py
# Use the generated translations upload file as the mock output from the
# Lokalise download
mv build/translations-upload.json build/translations-download/en.json
script/translations_download_split.py