Skip to content

Commit

Permalink
Replace … by
Browse files Browse the repository at this point in the history
  • Loading branch information
KristjanESPERANTO committed Nov 26, 2022
1 parent bd0b3c0 commit af50f23
Show file tree
Hide file tree
Showing 45 changed files with 48 additions and 47 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Special thanks to: @rejas, @sdetweil, @MagMar94
- Use unix() method for parsing times, fix suntimes on the way (#2950)
- Refactor conversion functions into utils class (#2958)
- The `cors`-method in `server.js` now supports sending and recieving HTTP headers.
- Replace `…` by ``.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions modules/default/calendar/calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ Module.register("calendar", {
line++;
if (line > maxTitleLines - 1) {
if (i < words.length) {
currentLine += "&hellip;";
currentLine += "";
}
break;
}
Expand All @@ -831,7 +831,7 @@ Module.register("calendar", {
return (temp + currentLine).trim();
} else {
if (maxLength && typeof maxLength === "number" && string.length > maxLength) {
return string.trim().slice(0, maxLength) + "&hellip;";
return string.trim().slice(0, maxLength) + "";
} else {
return string.trim();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/mocks/translation_test.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Loading &hellip;",
"LOADING": "Loading ",

"TODAY": "Today",
"TOMORROW": "Tomorrow",
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/functions/calendar_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ describe("Functions into modules/default/calendar/calendar.js", () => {

describe("shorten", () => {
const strings = {
" String with whitespace at the beginning that needs trimming": { length: 16, return: "String with whit&hellip;" },
"long string that needs shortening": { length: 16, return: "long string that&hellip;" },
" String with whitespace at the beginning that needs trimming": { length: 16, return: "String with whit" },
"long string that needs shortening": { length: 16, return: "long string that" },
"short string": { length: 16, return: "short string" },
"long string with no maxLength defined": { return: "long string with no maxLength defined" }
};
Expand Down Expand Up @@ -121,7 +121,7 @@ describe("Functions into modules/default/calendar/calendar.js", () => {

it("should wrap and shorten the string in the second line if called with wrapEvents = true and maxTitleLines = 2", () => {
expect(Module.definitions.calendar.shorten("This is a wrapEvent and maxTitleLines test. Should wrap and shorten the string in the second line if called with wrapEvents = true and maxTitleLines = 2", undefined, true, 2)).toBe(
"This is a wrapEvent and <br>maxTitleLines test. Should wrap and &hellip;"
"This is a wrapEvent and <br>maxTitleLines test. Should wrap and "
);
});
});
Expand Down
2 changes: 1 addition & 1 deletion translations/af.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Besig om te laai &hellip;",
"LOADING": "Besig om te laai ",

"TODAY": "Vandag",
"TOMORROW": "Môre",
Expand Down
2 changes: 1 addition & 1 deletion translations/bg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Зареждане на &hellip;",
"LOADING": "Зареждане на ",

"TODAY": "Днес",
"TOMORROW": "Утре",
Expand Down
2 changes: 1 addition & 1 deletion translations/ca.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Carregant &hellip;",
"LOADING": "Carregant ",

"TODAY": "Avui",
"TOMORROW": "Demà",
Expand Down
2 changes: 1 addition & 1 deletion translations/cs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Načítání &hellip;",
"LOADING": "Načítání ",

"TODAY": "Dnes",
"TOMORROW": "Zítra",
Expand Down
2 changes: 1 addition & 1 deletion translations/cv.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Тиенет &hellip;",
"LOADING": "Тиенет ",

"TODAY": "Паян",
"TOMORROW": "Ыран",
Expand Down
2 changes: 1 addition & 1 deletion translations/cy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Llwytho &hellip;",
"LOADING": "Llwytho ",

"TODAY": "Heddiw",
"TOMORROW": "Yfory",
Expand Down
2 changes: 1 addition & 1 deletion translations/da.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Indlæser &hellip;",
"LOADING": "Indlæser ",

"TODAY": "I dag",
"TOMORROW": "I morgen",
Expand Down
2 changes: 1 addition & 1 deletion translations/el.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Φόρτωση &hellip;",
"LOADING": "Φόρτωση ",

"TODAY": "Σήμερα",
"TOMORROW": "Αύριο",
Expand Down
2 changes: 1 addition & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Loading &hellip;",
"LOADING": "Loading ",

"TODAY": "Today",
"TOMORROW": "Tomorrow",
Expand Down
2 changes: 1 addition & 1 deletion translations/es.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Cargando &hellip;",
"LOADING": "Cargando ",

"TODAY": "Hoy",
"TOMORROW": "Mañana",
Expand Down
2 changes: 1 addition & 1 deletion translations/et.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Laen &hellip;",
"LOADING": "Laen ",

"TODAY": "Täna",
"TOMORROW": "Homme",
Expand Down
2 changes: 1 addition & 1 deletion translations/fi.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Lataa &hellip;",
"LOADING": "Lataa ",

"TODAY": "Tänään",
"TOMORROW": "Huomenna",
Expand Down
2 changes: 1 addition & 1 deletion translations/fr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Chargement &hellip;",
"LOADING": "Chargement ",

"TODAY": "Aujourd'hui",
"TOMORROW": "Demain",
Expand Down
2 changes: 1 addition & 1 deletion translations/fy.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Bezich mei laden &hellip;",
"LOADING": "Bezich mei laden ",

"TODAY": "Hjoed",
"TOMORROW": "Moarn",
Expand Down
2 changes: 1 addition & 1 deletion translations/gl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Cargando &hellip;",
"LOADING": "Cargando ",

"TODAY": "Hoxe",
"TOMORROW": "Mañá",
Expand Down
2 changes: 1 addition & 1 deletion translations/gu.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "લોડ થઈ રહ્યું છે &hellip;",
"LOADING": "લોડ થઈ રહ્યું છે ",

"TODAY": "આજે",
"TOMORROW": "આવતી કાલે",
Expand Down
2 changes: 1 addition & 1 deletion translations/hi.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "लोड हो रहा है &hellip;",
"LOADING": "लोड हो रहा है ",

"TODAY": "आज",
"TOMORROW": "आने वाला कल",
Expand Down
2 changes: 1 addition & 1 deletion translations/hr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Učitavanje &hellip;",
"LOADING": "Učitavanje ",

"TODAY": "Danas",
"TOMORROW": "Sutra",
Expand Down
2 changes: 1 addition & 1 deletion translations/hu.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Betöltés &hellip;",
"LOADING": "Betöltés ",

"TODAY": "Ma",
"TOMORROW": "Holnap",
Expand Down
2 changes: 1 addition & 1 deletion translations/id.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Memuat &hellip;",
"LOADING": "Memuat ",

"TODAY": "Hari ini",
"TOMORROW": "Besok",
Expand Down
2 changes: 1 addition & 1 deletion translations/is.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Hleð upp &hellip;",
"LOADING": "Hleð upp ",

"TODAY": "Í dag",
"TOMORROW": "Á morgun",
Expand Down
2 changes: 1 addition & 1 deletion translations/it.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Caricamento in corso &hellip;",
"LOADING": "Caricamento in corso ",

"TODAY": "Oggi",
"TOMORROW": "Domani",
Expand Down
2 changes: 1 addition & 1 deletion translations/ja.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "ローディング &hellip;",
"LOADING": "ローディング ",

"TODAY": "今日",
"TOMORROW": "明日",
Expand Down
2 changes: 1 addition & 1 deletion translations/ko.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "로드 중 &hellip;",
"LOADING": "로드 중 ",

"TODAY": "오늘",
"TOMORROW": "내일",
Expand Down
2 changes: 1 addition & 1 deletion translations/lt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Kraunasi &hellip;",
"LOADING": "Kraunasi ",

"TODAY": "Šiandien",
"TOMORROW": "Rytoj",
Expand Down
2 changes: 1 addition & 1 deletion translations/ms-my.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Tunggu Sebentar &hellip;",
"LOADING": "Tunggu Sebentar ",

"TODAY": "Hari ini",
"TOMORROW": "Esok",
Expand Down
2 changes: 1 addition & 1 deletion translations/nb.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Laster &hellip;",
"LOADING": "Laster ",

"TODAY": "I dag",
"TOMORROW": "I morgen",
Expand Down
2 changes: 1 addition & 1 deletion translations/nl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Bezig met laden &hellip;",
"LOADING": "Bezig met laden ",

"TODAY": "Vandaag",
"TOMORROW": "Morgen",
Expand Down
2 changes: 1 addition & 1 deletion translations/nn.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Lastar &hellip;",
"LOADING": "Lastar ",

"TODAY": "I dag",
"TOMORROW": "I morgon",
Expand Down
2 changes: 1 addition & 1 deletion translations/pl.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Ładowanie &hellip;",
"LOADING": "Ładowanie ",

"TODAY": "Dziś",
"TOMORROW": "Jutro",
Expand Down
2 changes: 1 addition & 1 deletion translations/pt-br.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Carregando &hellip;",
"LOADING": "Carregando ",

"TODAY": "Hoje",
"TOMORROW": "Amanhã",
Expand Down
2 changes: 1 addition & 1 deletion translations/pt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "A carregar &hellip;",
"LOADING": "A carregar ",

"TODAY": "Hoje",
"TOMORROW": "Amanhã",
Expand Down
2 changes: 1 addition & 1 deletion translations/ro.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Se încarcă &hellip;",
"LOADING": "Se încarcă ",

"TODAY": "Astăzi",
"TOMORROW": "Mâine",
Expand Down
2 changes: 1 addition & 1 deletion translations/ru.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Загрузка &hellip;",
"LOADING": "Загрузка ",

"TODAY": "Сегодня",
"TOMORROW": "Завтра",
Expand Down
2 changes: 1 addition & 1 deletion translations/sk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Načítanie &hellip;",
"LOADING": "Načítanie ",

"TODAY": "Dnes",
"TOMORROW": "Zajtra",
Expand Down
2 changes: 1 addition & 1 deletion translations/sv.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Laddar &hellip;",
"LOADING": "Laddar ",

"TODAY": "I dag",
"TOMORROW": "I morgon",
Expand Down
2 changes: 1 addition & 1 deletion translations/tlh.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "loS &hellip;",
"LOADING": "loS ",

"TODAY": "DaHjaj",
"TOMORROW": "wa'leS",
Expand Down
2 changes: 1 addition & 1 deletion translations/tr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Yükleniyor &hellip;",
"LOADING": "Yükleniyor ",

"TODAY": "Bugün",
"TOMORROW": "Yarın",
Expand Down
2 changes: 1 addition & 1 deletion translations/uk.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "Завантаження &hellip;",
"LOADING": "Завантаження ",

"TODAY": "Сьогодні",
"TOMORROW": "Завтра",
Expand Down
2 changes: 1 addition & 1 deletion translations/zh-cn.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "正在加载 &hellip;",
"LOADING": "正在加载 ",

"TODAY": "今天",
"TOMORROW": "明天",
Expand Down
2 changes: 1 addition & 1 deletion translations/zh-tw.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"LOADING": "正在載入 &hellip;",
"LOADING": "正在載入 ",

"TODAY": "今天",
"TOMORROW": "明天",
Expand Down

0 comments on commit af50f23

Please sign in to comment.