Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ coverage:
patch:
default:
threshold: 0%
target: 0
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 thai language to alert module

### Removed

Expand Down
3 changes: 2 additions & 1 deletion modules/default/alert/alert.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ Module.register("alert", {
fr: "translations/fr.json",
hu: "translations/hu.json",
nl: "translations/nl.json",
ru: "translations/ru.json"
ru: "translations/ru.json",
th: "translations/th.json"
};
},

Expand Down
4 changes: 4 additions & 0 deletions modules/default/alert/translations/th.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sysTitle": "การแจ้งเตือน MagicMirror²",
"welcome": "ยินดีต้อนรับ การเริ่มต้นสำเร็จแล้ว!"
}
3 changes: 2 additions & 1 deletion translations/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ let translations = {
hi: "translations/hi.json", // Hindi
gu: "translations/gu.json", // Gujarati
gl: "translations/gl.json", // Galego
lt: "translations/lt.json" // Lithuanian
lt: "translations/lt.json", // Lithuanian
th: "translations/th.json" // Thai
};

if (typeof module !== "undefined") {
Expand Down