mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Merge pull request #2889 from MikeBishop/no_day_after
English doesn't have a "day after tomorrow" word
This commit is contained in:
commit
aaa9042810
@ -13,6 +13,8 @@ _This release is scheduled to be released on 2022-10-01._
|
||||
|
||||
## Updated
|
||||
|
||||
- Removed DAYAFTERTOMORROW from English
|
||||
|
||||
## Fixed
|
||||
|
||||
- Broadcast all calendar events while still honoring global and per-calendar maximumEntries.
|
||||
|
@ -164,7 +164,7 @@ describe("Translations", function () {
|
||||
dom.window.onload = function () {
|
||||
const { Translator } = dom.window;
|
||||
|
||||
Translator.load(mmm, translations.en, false, function () {
|
||||
Translator.load(mmm, translations.de, false, function () {
|
||||
base = Object.keys(Translator.translations[mmm.name]).sort();
|
||||
done();
|
||||
});
|
||||
@ -175,8 +175,10 @@ describe("Translations", function () {
|
||||
console.log(missing);
|
||||
});
|
||||
|
||||
// Using German as the base rather than English, since
|
||||
// at least one translated word doesn't exist in English.
|
||||
for (let language in translations) {
|
||||
if (language === "en") {
|
||||
if (language === "de") {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
"TODAY": "Today",
|
||||
"TOMORROW": "Tomorrow",
|
||||
"DAYAFTERTOMORROW": "In 2 days",
|
||||
"RUNNING": "Ends in",
|
||||
"EMPTY": "No upcoming events.",
|
||||
"WEEK": "Week {weekNumber}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user