Support for Vietnamese language translations

This commit is contained in:
Theo Arends 2020-10-12 11:29:36 +02:00
parent 63da7da7f8
commit fc524dff75
10 changed files with 77 additions and 1 deletions

View File

@ -573,3 +573,22 @@ jobs:
with:
name: firmware
path: ./build_output/firmware
tasmota-VN:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio upgrade --dev
platformio update
- name: Run PlatformIO
run: platformio run -e tasmota-VN
- uses: actions/upload-artifact@v2
with:
name: firmware
path: ./build_output/firmware

View File

@ -603,3 +603,23 @@ jobs:
with:
name: firmware
path: ./build_output/firmware
tasmota32-VN:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio upgrade --dev
platformio update
- name: Run PlatformIO
run: |
platformio run -e tasmota32-VN
- uses: actions/upload-artifact@v2
with:
name: firmware
path: ./build_output/firmware

View File

@ -1449,8 +1449,31 @@ jobs:
path: ./build_output/firmware
tasmota32-VN:
needs: tasmota_pull
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U platformio
platformio upgrade --dev
platformio update
- name: Run PlatformIO
run: |
platformio run -e tasmota32-VN
- uses: actions/upload-artifact@v2
with:
name: firmware
path: ./build_output/firmware
Upload:
needs: [tasmota-UK, tasmota32-ircustom, tasmota32-UK, tasmota32-TW, tasmota32-TR]
needs: [tasmota-VN, tasmota32-ircustom, tasmota32-VN, tasmota32-TW, tasmota32-TR]
runs-on: ubuntu-latest
continue-on-error: true
steps:

View File

@ -39,6 +39,7 @@ env:
- ENV=tasmota-TR
- ENV=tasmota-TW
- ENV=tasmota-UK
- ENV=tasmota-VN
script:
- platformio run -e $ENV

View File

@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
## [Unreleased] - Development
## [9.0.0.2]
### Added
- Support for Vietnamese language translations by Tâm.NT
### Changed
- Command ``Gpio17`` replaces command ``Adc``
- Command ``Gpios`` replaces command ``Adcs``

View File

@ -67,6 +67,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota
- Support for stateful ACs using ``StateMode`` in tasmota-ir.bin by Arik Yavilevich (#9472)
- Zigbee ``ZbData`` command for better support of device specific data
- Support for analog buttons indexed within standard button range
- Support for Vietnamese language translations by Tâm.NT
### Changed
- Redesigned ESP8266 GPIO internal representation in line with ESP32 changing ``Template`` layout too

View File

@ -43,6 +43,7 @@ default_envs =
; tasmota-TR
; tasmota-TW
; tasmota-UK
; tasmota-VN
;
; *** Selection for Tasmota ESP32 is done in platformio_tasmota32.ini
;

View File

@ -37,6 +37,7 @@ default_envs = ${build_envs.default_envs}
; tasmota32-TR
; tasmota32-TW
; tasmota32-UK
; tasmota32-VN
[core32]

View File

@ -106,3 +106,6 @@ build_flags = ${common.build_flags} -DMY_LANGUAGE=zh_TW
[env:tasmota-UK]
build_flags = ${common.build_flags} -DMY_LANGUAGE=uk_UA
[env:tasmota-VN]
build_flags = ${common.build_flags} -DMY_LANGUAGE=vi_VN

View File

@ -139,3 +139,7 @@ build_flags = ${common32.build_flags} -DMY_LANGUAGE=zh_TW
[env:tasmota32-UK]
extends = env:tasmota32
build_flags = ${common32.build_flags} -DMY_LANGUAGE=uk_UA
[env:tasmota32-VN]
extends = env:tasmota32
build_flags = ${common32.build_flags} -DMY_LANGUAGE=vi_VN