Merge pull request #2889 from MikeBishop/no_day_after

English doesn't have a "day after tomorrow" word
This commit is contained in:
Michael Teeuw 2022-07-28 15:24:49 +02:00 committed by GitHub
commit aaa9042810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -13,6 +13,8 @@ _This release is scheduled to be released on 2022-10-01._
## Updated ## Updated
- Removed DAYAFTERTOMORROW from English
## Fixed ## Fixed
- Broadcast all calendar events while still honoring global and per-calendar maximumEntries. - Broadcast all calendar events while still honoring global and per-calendar maximumEntries.

View File

@ -164,7 +164,7 @@ describe("Translations", function () {
dom.window.onload = function () { dom.window.onload = function () {
const { Translator } = dom.window; 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(); base = Object.keys(Translator.translations[mmm.name]).sort();
done(); done();
}); });
@ -175,8 +175,10 @@ describe("Translations", function () {
console.log(missing); 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) { for (let language in translations) {
if (language === "en") { if (language === "de") {
continue; continue;
} }

View File

@ -3,7 +3,6 @@
"TODAY": "Today", "TODAY": "Today",
"TOMORROW": "Tomorrow", "TOMORROW": "Tomorrow",
"DAYAFTERTOMORROW": "In 2 days",
"RUNNING": "Ends in", "RUNNING": "Ends in",
"EMPTY": "No upcoming events.", "EMPTY": "No upcoming events.",
"WEEK": "Week {weekNumber}", "WEEK": "Week {weekNumber}",