Update thai language (#3044)

actually add it to the tanslation list
and also add the alert translations from
https://github.com/MichMich/MagicMirror/pull/3029 since the OP didnt
seem to work on it (yet)

---------

Co-authored-by: veeck <michael@veeck.de>
Co-authored-by: Suthep Yonphimai <tomzt@users.noreply.github.com>
This commit is contained in:
Veeck 2023-02-20 20:03:42 +01:00 committed by GitHub
parent b08a4737af
commit 390e5d6490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 2 deletions

View File

@ -7,3 +7,4 @@ coverage:
patch: patch:
default: default:
threshold: 0% threshold: 0%
target: 0

View File

@ -18,6 +18,7 @@ _This release is scheduled to be released on 2023-04-01._
- Added possibility to use your own templates in Alert module - Added possibility to use your own templates in Alert module
- Added error message if `<modulename>.js` file is missing in module folder to get a hint in the logs (#2403) - Added error message if `<modulename>.js` file is missing in module folder to get a hint in the logs (#2403)
- Added possibility to use environment variables in `config.js` (#1756) - Added possibility to use environment variables in `config.js` (#1756)
- Added thai language to alert module
### Removed ### Removed

View File

@ -35,7 +35,8 @@ Module.register("alert", {
fr: "translations/fr.json", fr: "translations/fr.json",
hu: "translations/hu.json", hu: "translations/hu.json",
nl: "translations/nl.json", nl: "translations/nl.json",
ru: "translations/ru.json" ru: "translations/ru.json",
th: "translations/th.json"
}; };
}, },

View File

@ -0,0 +1,4 @@
{
"sysTitle": "การแจ้งเตือน MagicMirror²",
"welcome": "ยินดีต้อนรับ การเริ่มต้นสำเร็จแล้ว!"
}

View File

@ -48,7 +48,8 @@ let translations = {
hi: "translations/hi.json", // Hindi hi: "translations/hi.json", // Hindi
gu: "translations/gu.json", // Gujarati gu: "translations/gu.json", // Gujarati
gl: "translations/gl.json", // Galego gl: "translations/gl.json", // Galego
lt: "translations/lt.json" // Lithuanian lt: "translations/lt.json", // Lithuanian
th: "translations/th.json" // Thai
}; };
if (typeof module !== "undefined") { if (typeof module !== "undefined") {