mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
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:
parent
b08a4737af
commit
390e5d6490
1
.github/codecov.yaml
vendored
1
.github/codecov.yaml
vendored
@ -7,3 +7,4 @@ coverage:
|
|||||||
patch:
|
patch:
|
||||||
default:
|
default:
|
||||||
threshold: 0%
|
threshold: 0%
|
||||||
|
target: 0
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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"
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
4
modules/default/alert/translations/th.json
Normal file
4
modules/default/alert/translations/th.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"sysTitle": "การแจ้งเตือน MagicMirror²",
|
||||||
|
"welcome": "ยินดีต้อนรับ การเริ่มต้นสำเร็จแล้ว!"
|
||||||
|
}
|
@ -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") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user