Logo
Explore Help
Sign In
home-assistant/core
1
0
Fork 1
You've already forked core
mirror of https://github.com/home-assistant/core.git synced 2026-01-25 00:52:39 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
b752ca3bef01acbb433d5f9e571e5a0601ac9f1b
core/script/travis_deploy

12 lines
244 B
Plaintext
Raw Normal View History

Support serving of backend translations (#12453) * Add view to support backend translation fetching * Load backend translations from component json * Translations for season sensor * Scripts to merge and unpack Lokalise translations * Fix copy paste error * Serve post-lokalise translations to frontend * Linting * Auto-deploy translations with Travis * Commit post-lokalise translation files * Split logic into more helper functions * Fall back to English for missing keys * Move local translation copies to `.translations` * Linting * Initial tests * Remove unnecessary file check * Convert translation helper to async/await * Convert translation helper tests to async/await * Use set subtraction to find missing_components * load_translation_files use component->file mapping * Remove duplicated resources fetching Get to take advantage of the slick Python 3.5 dict merging here. * Switch to live project ID
2018-02-28 22:31:38 -05:00
#!/usr/bin/env bash
# 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")/.."
script/translations_upload
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 37ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API