mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
![Adam Mills](/assets/img/avatar_default.png)
* 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
22 lines
555 B
Bash
Executable File
22 lines
555 B
Bash
Executable File
#!/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
|