From 35562daad3da6266f3adf13cb66f544328d304ae Mon Sep 17 00:00:00 2001 From: ge72mum Date: Mon, 9 Jan 2023 09:28:24 +0100 Subject: [PATCH 01/10] hard-code Time to leave in pref window --- js/menus.js | 1 + src/preferences.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/menus.js b/js/menus.js index 88a9d7857..9e27c2946 100644 --- a/js/menus.js +++ b/js/menus.js @@ -133,6 +133,7 @@ function getEditMenuTemplate(mainWindow) } }); prefWindow.setMenu(null); prefWindow.loadURL(htmlPath); + prefWindow.setTitle(`Time to leave - ${getCurrentTranslation('$Preferences.title')}`); prefWindow.show(); prefWindow.on('close', function() { diff --git a/src/preferences.html b/src/preferences.html index 108ee72b3..95e6482c4 100644 --- a/src/preferences.html +++ b/src/preferences.html @@ -2,7 +2,7 @@ - Time to Leave - Preferences + From e4190309d4c950a5b27278405d0e7c6cb2cb6432 Mon Sep 17 00:00:00 2001 From: ge72mum Date: Mon, 9 Jan 2023 09:34:22 +0100 Subject: [PATCH 02/10] hard-code Time to leave in waiver window --- js/windows.js | 6 ++++-- src/workday-waiver.html | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/js/windows.js b/js/windows.js index 34c048002..04d983c4c 100644 --- a/js/windows.js +++ b/js/windows.js @@ -4,6 +4,7 @@ const { BrowserWindow } = require('electron'); import { appConfig } from './app-config.js'; const path = require('path'); import { getDateStr } from './date-aux.js'; +const { getCurrentTranslation } = require('../src/configs/i18next.config'); // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. @@ -40,6 +41,7 @@ function openWaiverManagerWindow(mainWindow, event) } }); waiverWindow.setMenu(null); waiverWindow.loadURL(htmlPath); + waiverWindow.setTitle(`Time to leave - ${getCurrentTranslation('$WorkdayWaiver.title')}`); waiverWindow.show(); waiverWindow.on('close', function() { @@ -49,7 +51,7 @@ function openWaiverManagerWindow(mainWindow, event) } /** - * Return the x and y coordinate for a dialog window, + * Return the x and y coordinate for a dialog window, * so the dialog window is centered on the TTL window. * Round values, as coordinates have to be integers. * @param {number} dialogWidth @@ -58,7 +60,7 @@ function openWaiverManagerWindow(mainWindow, event) */ function getDialogCoordinates(dialogWidth, dialogHeight, mainWindow) { - return{ + return { x : Math.round(mainWindow.getBounds().x + mainWindow.getBounds().width/2 - dialogWidth/2), y : Math.round(mainWindow.getBounds().y + mainWindow.getBounds().height/2 - dialogHeight/2), }; diff --git a/src/workday-waiver.html b/src/workday-waiver.html index 9aa6d5f9a..3df2161c8 100644 --- a/src/workday-waiver.html +++ b/src/workday-waiver.html @@ -2,7 +2,7 @@ - Time to Leave - Workday Waiver Manager + From eb79eea7feca2adbb4e7ce2d5c967ee5eb21f87d Mon Sep 17 00:00:00 2001 From: ge72mum Date: Mon, 9 Jan 2023 09:39:29 +0100 Subject: [PATCH 03/10] delete waiver and pref title from html --- src/preferences.html | 1 - src/workday-waiver.html | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/preferences.html b/src/preferences.html index 95e6482c4..e368c058b 100644 --- a/src/preferences.html +++ b/src/preferences.html @@ -2,7 +2,6 @@ - diff --git a/src/workday-waiver.html b/src/workday-waiver.html index 3df2161c8..e9c0e55af 100644 --- a/src/workday-waiver.html +++ b/src/workday-waiver.html @@ -1,8 +1,7 @@ - - +s From a81c422696d70ffd068e80cae5185fccf7fbc69e Mon Sep 17 00:00:00 2001 From: ge72mum Date: Mon, 9 Jan 2023 09:48:49 +0100 Subject: [PATCH 04/10] fix typo --- src/workday-waiver.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workday-waiver.html b/src/workday-waiver.html index e9c0e55af..761936a8e 100644 --- a/src/workday-waiver.html +++ b/src/workday-waiver.html @@ -1,7 +1,7 @@ -s + From 779ec16f7942cdc55fd37cedba62bc28b4c608dd Mon Sep 17 00:00:00 2001 From: ge72mum Date: Tue, 10 Jan 2023 09:13:21 +0100 Subject: [PATCH 05/10] revert unrelated changes --- js/windows.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/windows.js b/js/windows.js index 04d983c4c..547f3877e 100644 --- a/js/windows.js +++ b/js/windows.js @@ -51,7 +51,7 @@ function openWaiverManagerWindow(mainWindow, event) } /** - * Return the x and y coordinate for a dialog window, + * Return the x and y coordinate for a dialog window, * so the dialog window is centered on the TTL window. * Round values, as coordinates have to be integers. * @param {number} dialogWidth @@ -60,7 +60,7 @@ function openWaiverManagerWindow(mainWindow, event) */ function getDialogCoordinates(dialogWidth, dialogHeight, mainWindow) { - return { + return{ x : Math.round(mainWindow.getBounds().x + mainWindow.getBounds().width/2 - dialogWidth/2), y : Math.round(mainWindow.getBounds().y + mainWindow.getBounds().height/2 - dialogHeight/2), }; From f7b849d0c4cdc86f6914610526f38f588b31d9c5 Mon Sep 17 00:00:00 2001 From: ge72mum Date: Wed, 18 Jan 2023 09:57:03 +0100 Subject: [PATCH 06/10] Move hard coded title to renderer pages --- js/menus.js | 1 - js/windows.js | 2 -- src/preferences.js | 9 +++++++++ src/workday-waiver.js | 3 +++ 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/js/menus.js b/js/menus.js index 035ac94bd..8d9f4894f 100644 --- a/js/menus.js +++ b/js/menus.js @@ -136,7 +136,6 @@ function getEditMenuTemplate(mainWindow) } }); prefWindow.setMenu(null); prefWindow.loadURL(htmlPath); - prefWindow.setTitle(`Time to leave - ${getCurrentTranslation('$Preferences.title')}`); prefWindow.show(); prefWindow.on('close', function() { diff --git a/js/windows.js b/js/windows.js index 547f3877e..34c048002 100644 --- a/js/windows.js +++ b/js/windows.js @@ -4,7 +4,6 @@ const { BrowserWindow } = require('electron'); import { appConfig } from './app-config.js'; const path = require('path'); import { getDateStr } from './date-aux.js'; -const { getCurrentTranslation } = require('../src/configs/i18next.config'); // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. @@ -41,7 +40,6 @@ function openWaiverManagerWindow(mainWindow, event) } }); waiverWindow.setMenu(null); waiverWindow.loadURL(htmlPath); - waiverWindow.setTitle(`Time to leave - ${getCurrentTranslation('$WorkdayWaiver.title')}`); waiverWindow.show(); waiverWindow.on('close', function() { diff --git a/src/preferences.js b/src/preferences.js index af50c9d68..b04dcd70e 100644 --- a/src/preferences.js +++ b/src/preferences.js @@ -35,6 +35,8 @@ function listenerLanguage() window.mainApi.changeLanguagePromise(this.value).then((languageData) => { translatePage(this.value, languageData); + const translatedTitle = languageData.translation.$Preferences.title; + $(document).attr('title', `Time to Leave - ${translatedTitle}`); window.mainApi.notifyNewPreferences(preferences); }); }); @@ -190,6 +192,13 @@ $(() => { usersStyles = userPreferences; preferences = usersStyles; + + window.mainApi.getLanguageDataPromise().then(languageData => + { + const translatedTitle = languageData.data.translation.$Preferences.title; + $(document).attr('title', `Time to Leave - ${translatedTitle}`); + }); + renderPreferencesWindow(); setupLanguages(); }); diff --git a/src/workday-waiver.js b/src/workday-waiver.js index c19e1add5..378251482 100644 --- a/src/workday-waiver.js +++ b/src/workday-waiver.js @@ -426,6 +426,9 @@ $(() => { languageData = data; + const translatedTitle = languageData.data.translation.$WorkdayWaiver.title; + $(document).attr('title', `Time to Leave - ${translatedTitle}`); + setDates(remote.getGlobal('waiverDay')); setHours(); toggleAddButton('waive-button', $('#reason').val()); From 2f647a684be2e31c854273cec827368dc736eef1 Mon Sep 17 00:00:00 2001 From: ge72mum Date: Fri, 20 Jan 2023 09:27:04 +0100 Subject: [PATCH 07/10] Move hard coded title to i18n-translator --- renderer/i18n-translator.js | 5 ++++- src/preferences.js | 13 ++----------- src/workday-waiver.js | 5 +---- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/renderer/i18n-translator.js b/renderer/i18n-translator.js index 8a84027b9..66254f808 100644 --- a/renderer/i18n-translator.js +++ b/renderer/i18n-translator.js @@ -22,7 +22,7 @@ function getTranslationInLanguageData(languageData, key) return getDataRecursive(languageData['translation'], keyList); } -function translatePage(language, languageData) +function translatePage(language, languageData, windowName) { $('html').attr('lang', language); @@ -46,6 +46,9 @@ function translatePage(language, languageData) $('th').each(callback); $('a').each(callback); $('button').each(callback); + + const titleAttr = `$${windowName}.title` + $(document).attr('title', `Time to Leave - ${getTranslationInLanguageData(languageData, titleAttr)}`); } export { diff --git a/src/preferences.js b/src/preferences.js index b04dcd70e..7aeb1a276 100644 --- a/src/preferences.js +++ b/src/preferences.js @@ -34,9 +34,7 @@ function listenerLanguage() preferences['language'] = this.value; window.mainApi.changeLanguagePromise(this.value).then((languageData) => { - translatePage(this.value, languageData); - const translatedTitle = languageData.translation.$Preferences.title; - $(document).attr('title', `Time to Leave - ${translatedTitle}`); + translatePage(this.value, languageData, 'Preferences'); window.mainApi.notifyNewPreferences(preferences); }); }); @@ -48,7 +46,7 @@ function setupLanguages() listenerLanguage(); window.mainApi.getLanguageDataPromise().then(languageData => { - translatePage(usersStyles['language'], languageData.data); + translatePage(usersStyles['language'], languageData.data, 'Preferences'); }); } @@ -192,13 +190,6 @@ $(() => { usersStyles = userPreferences; preferences = usersStyles; - - window.mainApi.getLanguageDataPromise().then(languageData => - { - const translatedTitle = languageData.data.translation.$Preferences.title; - $(document).attr('title', `Time to Leave - ${translatedTitle}`); - }); - renderPreferencesWindow(); setupLanguages(); }); diff --git a/src/workday-waiver.js b/src/workday-waiver.js index 378251482..ce5be3ecf 100644 --- a/src/workday-waiver.js +++ b/src/workday-waiver.js @@ -426,9 +426,6 @@ $(() => { languageData = data; - const translatedTitle = languageData.data.translation.$WorkdayWaiver.title; - $(document).attr('title', `Time to Leave - ${translatedTitle}`); - setDates(remote.getGlobal('waiverDay')); setHours(); toggleAddButton('waive-button', $('#reason').val()); @@ -467,7 +464,7 @@ $(() => }); bindDevToolsShortcut(window); - translatePage(languageData.language, languageData.data); + translatePage(languageData.language, languageData.data, 'WorkdayWaiver'); }); }); From 0122a5e3f197e9111987cc6c6805abcec4cd2b6c Mon Sep 17 00:00:00 2001 From: ge72mum Date: Fri, 20 Jan 2023 09:28:04 +0100 Subject: [PATCH 08/10] lint fix --- renderer/i18n-translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderer/i18n-translator.js b/renderer/i18n-translator.js index 66254f808..1a0adf35c 100644 --- a/renderer/i18n-translator.js +++ b/renderer/i18n-translator.js @@ -47,7 +47,7 @@ function translatePage(language, languageData, windowName) $('a').each(callback); $('button').each(callback); - const titleAttr = `$${windowName}.title` + const titleAttr = `$${windowName}.title`; $(document).attr('title', `Time to Leave - ${getTranslationInLanguageData(languageData, titleAttr)}`); } From 12c7940abf289141b1c512db43488e26ad2dc10f Mon Sep 17 00:00:00 2001 From: ge72mum Date: Fri, 20 Jan 2023 09:45:00 +0100 Subject: [PATCH 09/10] remove Time to Leave string from title translation --- locales/bn/translation.json | 4 ++-- locales/ca-CA/translation.json | 4 ++-- locales/de-DE/translation.json | 4 ++-- locales/es/translation.json | 4 ++-- locales/fa-IR/translation.json | 4 ++-- locales/fr-FR/translation.json | 4 ++-- locales/gu/translation.json | 4 ++-- locales/he/translation.json | 4 ++-- locales/hi/translation.json | 4 ++-- locales/id/translation.json | 4 ++-- locales/it/translation.json | 4 ++-- locales/ja/translation.json | 4 ++-- locales/ko/translation.json | 4 ++-- locales/mr/translation.json | 4 ++-- locales/nl/translation.json | 4 ++-- locales/pl/translation.json | 4 ++-- locales/pt-BR/translation.json | 4 ++-- locales/pt-MI/translation.json | 4 ++-- locales/pt-PT/translation.json | 4 ++-- locales/ru-RU/translation.json | 4 ++-- locales/sv-SE/translation.json | 4 ++-- locales/ta/translation.json | 4 ++-- locales/th-TH/translation.json | 4 ++-- locales/tr-TR/translation.json | 4 ++-- locales/zh-TW/translation.json | 4 ++-- 25 files changed, 50 insertions(+), 50 deletions(-) diff --git a/locales/bn/translation.json b/locales/bn/translation.json index 238a06f40..04d0466d8 100644 --- a/locales/bn/translation.json +++ b/locales/bn/translation.json @@ -151,7 +151,7 @@ "systemDefault": "সিস্টেম ডিফল্ট", "themes": "থিমস", "thu": "বৃহস্পতিবার", - "title": "Time to Leave - পছন্দ", + "title": "পছন্দ", "tue": "মঙ্গল", "userPreferences": "ব্যবহারকারীর পছন্দ", "view": "দেখুন", @@ -194,7 +194,7 @@ "source-selected-holidays": "উৎস নির্বাচিত ছুটির দিন", "start-date": "শুরুর তারিখ", "state": "রাষ্ট্র:", - "title": "Time to Leave - ওয়ার্ক ডে ওয়েভার ম্যানেজার", + "title": "ওয়ার্ক ডে ওয়েভার ম্যানেজার", "to": "থেকে", "waive": "মওকুফ", "waived-workday-list": "মওকুফ কর্মদিবসের তালিকা", diff --git a/locales/ca-CA/translation.json b/locales/ca-CA/translation.json index 786456de6..e361e4307 100644 --- a/locales/ca-CA/translation.json +++ b/locales/ca-CA/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Sistema por defecte", "themes": "Temes", "thu": "Dij", - "title": "Time to Leave - Preferències", + "title": "Preferències", "tue": "Dim", "userPreferences": "Preferéncias d' usuari", "view": "Vista", @@ -193,7 +193,7 @@ "source-selected-holidays": "Font: vacances seleccionades", "start-date": "Data d'inici", "state": "Estat:", - "title": "Time to Leave - Administrador de Dia lliure", + "title": "Administrador de Dia lliure", "to": "a", "waive": "Renúncia", "waived-workday-list": "Llista de dies lliures", diff --git a/locales/de-DE/translation.json b/locales/de-DE/translation.json index 118f5b480..1daca624b 100644 --- a/locales/de-DE/translation.json +++ b/locales/de-DE/translation.json @@ -150,7 +150,7 @@ "systemDefault": "System Standard", "themes": "Themes", "thu": "Do", - "title": "Time to Leave - Einstellungen", + "title": "Einstellungen", "tue": "Di", "userPreferences": "Benutzereinstellungen", "view": "Ansicht", @@ -193,7 +193,7 @@ "source-selected-holidays": "Ausgewählte Feiertage importieren", "start-date": "Startdatum", "state": "Bundesland:", - "title": "Time to Leave - Arbeitstag Ausschluss Manager", + "title": "Arbeitstag Ausschluss Manager", "to": "Bis", "waive": "Ausschließen", "waived-workday-list": "Liste ausgeschlossener Arbeitstage", diff --git a/locales/es/translation.json b/locales/es/translation.json index 80fabd3dc..97b6b64c6 100644 --- a/locales/es/translation.json +++ b/locales/es/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Sistema por defecto", "themes": "Temas", "thu": "Jue", - "title": "Time to Leave - Preferencias", + "title": "Preferencias", "tue": "Mar", "userPreferences": "Preferencias de usuario", "view": "Vista", @@ -193,7 +193,7 @@ "source-selected-holidays": "Fuente: vacaciones seleccionadas", "start-date": "Fecha de inicio", "state": "Estado:", - "title": "Time to Leave - Administrador de Día libre", + "title": "Administrador de Día libre", "to": "a", "waive": "Renuncia", "waived-workday-list": "Lista de días libres", diff --git a/locales/fa-IR/translation.json b/locales/fa-IR/translation.json index c68408cd6..fb00a9f7b 100644 --- a/locales/fa-IR/translation.json +++ b/locales/fa-IR/translation.json @@ -150,7 +150,7 @@ "systemDefault": "پیشفرض سیستم", "themes": "پوسته ها", "thu": "پنجشنبه", - "title": "Time to Leave - تنظیمات", + "title": "تنظیمات", "tue": "سه شنبه", "userPreferences": "تنظیمات کاربری", "view": "شیوه نمایش", @@ -193,7 +193,7 @@ "source-selected-holidays": "قراردادن تعطیلات انتخاب شده به عنوان منبع", "start-date": "تاریخ شروع", "state": "استان:", - "title": "Time to Leave - مدیریت معافیت روزهای کاری", + "title": "مدیریت معافیت روزهای کاری", "to": "تا", "waive": "ثبت معافیت", "waived-workday-list": "لیست روزهای کاری لغو شده (معاف از کار)", diff --git a/locales/fr-FR/translation.json b/locales/fr-FR/translation.json index eccd67040..1aada1254 100644 --- a/locales/fr-FR/translation.json +++ b/locales/fr-FR/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Système par défaut", "themes": "Thèmes", "thu": "Jeu", - "title": "Time to Leave - Préférences", + "title": "Préférences", "tue": "Mar", "userPreferences": "Préférences de l'utilisateur", "view": "Vue", @@ -193,7 +193,7 @@ "source-selected-holidays": "Source vacances sélectionnées", "start-date": "Date de début", "state": "Etat:", - "title": "Time to Leave - Gestionnaire de dispense", + "title": "Gestionnaire de dispense", "to": "au", "waive": "Dispense", "waived-workday-list": "Liste des jours de dispense", diff --git a/locales/gu/translation.json b/locales/gu/translation.json index 2e52c89a7..d88a26d31 100644 --- a/locales/gu/translation.json +++ b/locales/gu/translation.json @@ -150,7 +150,7 @@ "systemDefault": "સિસ્ટમ ડિફોલ્ટ", "themes": "થીમ્સ", "thu": "ગુરુવાર", - "title": "Time to Leave - પસંદગીઓ", + "title": "પસંદગીઓ", "tue": "મંગળ", "userPreferences": "વપરાશકર્તા પસંદગીઓ", "view": "જુઓ", @@ -193,7 +193,7 @@ "source-selected-holidays": "સોર્સ પસંદ કરેલ રજાઓ", "start-date": "પ્રારંભ તારીખ", "state": "રાજ્ય:", - "title": "Time to Leave - વર્કડે માફી મેનેજર", + "title": "વર્કડે માફી મેનેજર", "to": "પ્રતિ", "waive": "માફ કરો", "waived-workday-list": "માફ વર્કડે સૂચિ", diff --git a/locales/he/translation.json b/locales/he/translation.json index 4c3079e08..3e4cbfc26 100644 --- a/locales/he/translation.json +++ b/locales/he/translation.json @@ -150,7 +150,7 @@ "systemDefault": "ברירת מחדל של המערכת", "themes": "עררכות נושא", "thu": "יום חמישי", - "title": "Time to Leave - העדפות", + "title": "העדפות", "tue": "יום שלישי", "userPreferences": "העדפות משתמש", "view": "תצוגה", @@ -193,7 +193,7 @@ "source-selected-holidays": "בחר בימי חג נבחרים", "start-date": "תאריך התחלה", "state": "מדינה:", - "title": "Time to Leave - מנהל ויתורים עבור ימי עבודה", + "title": "מנהל ויתורים עבור ימי עבודה", "to": "ל", "waive": "ותר", "waived-workday-list": "רשימת ימי עבודה עם ויתורים", diff --git a/locales/hi/translation.json b/locales/hi/translation.json index 9794f60a2..0c49fb820 100644 --- a/locales/hi/translation.json +++ b/locales/hi/translation.json @@ -150,7 +150,7 @@ "systemDefault": "सिस्टम डिफ़ॉल्ट", "themes": "विषय-वस्तु", "thu": "गुरु", - "title": "Time to Leave - वरीयताएँ", + "title": "वरीयताएँ", "tue": "मंगल", "userPreferences": "उपयोगकर्ता वरीयताएं", "view": "देखे", @@ -193,7 +193,7 @@ "source-selected-holidays": "स्रोत चयनित छुट्टियां", "start-date": "आरंभ करने की तिथि", "state": "राज्य:", - "title": "Time to Leave - कार्य दिवस छूट प्रबंधक", + "title": "कार्य दिवस छूट प्रबंधक", "to": "तक", "waive": "माफ", "waived-workday-list": "कार्यवार सूची दी गई", diff --git a/locales/id/translation.json b/locales/id/translation.json index 1428108aa..775785a01 100644 --- a/locales/id/translation.json +++ b/locales/id/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Sistem Default", "themes": "Tema", "thu": "Kam", - "title": "Time to Leave - Pengaturan", + "title": "Pengaturan", "tue": "Sel", "userPreferences": "Pengaturan Akun", "view": "Tampilan", @@ -193,7 +193,7 @@ "source-selected-holidays": "Sumber memilih hari libur", "start-date": "Tanggal mulai", "state": "Negara:", - "title": "Time to Leave - Atur hari pengecualian", + "title": "Atur hari pengecualian", "to": "Sampai", "waive": "Pengecualian", "waived-workday-list": "Daftar pengecualian hari kerja", diff --git a/locales/it/translation.json b/locales/it/translation.json index 9c99cb1e0..db26ac61a 100644 --- a/locales/it/translation.json +++ b/locales/it/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Default di sistema", "themes": "Temi", "thu": "Gio", - "title": "Time to Leave - Preferenze", + "title": "Preferenze", "tue": "Mar", "userPreferences": "Preferenze utente", "view": "Visuale", @@ -193,7 +193,7 @@ "source-selected-holidays": "Origine vacanze selezionate", "start-date": "Data inizio", "state": "Stato:", - "title": "Time to Leave - Gestore giorni lavorativi esclusi", + "title": "Gestore giorni lavorativi esclusi", "to": "a", "waive": "Escludi", "waived-workday-list": "Lista giorni lavorativi esclusi", diff --git a/locales/ja/translation.json b/locales/ja/translation.json index fafd52289..b96db50c6 100644 --- a/locales/ja/translation.json +++ b/locales/ja/translation.json @@ -150,7 +150,7 @@ "systemDefault": "システム既定値", "themes": "テーマ", "thu": "木", - "title": "Time to Leave - 環境設定", + "title": "環境設定", "tue": "火", "userPreferences": "ユーザー環境設定", "view": "表示", @@ -193,7 +193,7 @@ "source-selected-holidays": "選択した祝日を勤務免除日にする", "start-date": "開始日", "state": "州:", - "title": "Time to Leave - 勤務免除日の管理", + "title": "勤務免除日の管理", "to": "終了", "waive": "勤務免除", "waived-workday-list": "勤務免除日リスト", diff --git a/locales/ko/translation.json b/locales/ko/translation.json index c8c212204..33eb7241e 100644 --- a/locales/ko/translation.json +++ b/locales/ko/translation.json @@ -150,7 +150,7 @@ "systemDefault": "시스템 기본값", "themes": "테마", "thu": "목", - "title": "Time to Leave - 설정", + "title": "설정", "tue": "화", "userPreferences": "사용자 설정", "view": "보기 모드", @@ -193,7 +193,7 @@ "source-selected-holidays": "선택된 공휴일 추가", "start-date": "시작일", "state": "주:", - "title": "Time to Leave - 휴가 관리자", + "title": "휴가 관리자", "to": "이 날까지", "waive": "휴가 추가", "waived-workday-list": "휴가로 지정된 근무일 목록", diff --git a/locales/mr/translation.json b/locales/mr/translation.json index 57cc726c3..d007f4999 100644 --- a/locales/mr/translation.json +++ b/locales/mr/translation.json @@ -150,7 +150,7 @@ "systemDefault": "सिस्टम डीफॉल्ट", "themes": "थीम्स", "thu": "गुरू", - "title": "Time to Leave - प्राधान्ये", + "title": "प्राधान्ये", "tue": "मंगळ", "userPreferences": "वापरकर्ता प्राधान्ये", "view": "पहा", @@ -193,7 +193,7 @@ "source-selected-holidays": "स्त्रोत निवडलेल्या सुट्टी", "start-date": "प्रारंभ तारीख", "state": "राज्यः", - "title": "सोडण्याची वेळ - वर्कडे माफी व्यवस्थापक", + "title": "वर्कडे माफी व्यवस्थापक", "to": "करण्यासाठी", "waive": "माफ करा", "waived-workday-list": "कामाच्या दिवसाची यादी माफ केली", diff --git a/locales/nl/translation.json b/locales/nl/translation.json index 8fd96d0fc..daec79bf0 100644 --- a/locales/nl/translation.json +++ b/locales/nl/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Systeemstandaard", "themes": "Thema's", "thu": "Do", - "title": "Time to Leave - Voorkeuren", + "title": "Voorkeuren", "tue": "Di", "userPreferences": "Gebruikersvoorkeuren", "view": "Weergeven op", @@ -193,7 +193,7 @@ "source-selected-holidays": "Geselecteerde feestdagen toevoegen", "start-date": "Startdatum", "state": "Staat:", - "title": "Time to Leave - Vrije dagen beheren", + "title": "Vrije dagen beheren", "to": "tot", "waive": "Vrije dag toevoegen", "waived-workday-list": "Vrije dagen", diff --git a/locales/pl/translation.json b/locales/pl/translation.json index 8de32c19a..f872d9bb1 100644 --- a/locales/pl/translation.json +++ b/locales/pl/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Systemowy", "themes": "Motywy", "thu": "Czw", - "title": "Time to Leave - Preferencje", + "title": "Preferencje", "tue": "Wt", "userPreferences": "Prefernecje użytkownika", "view": "Widok", @@ -193,7 +193,7 @@ "source-selected-holidays": "Załaduj wybrane święta", "start-date": "Data rozpoczęcia", "state": "Stan:", - "title": "Time to Leave - Menadżer zwolnień / czasu wolnego", + "title": "Menadżer zwolnień / czasu wolnego", "to": "do", "waive": "Dodaj zwolnienie", "waived-workday-list": "Lista zwolnień", diff --git a/locales/pt-BR/translation.json b/locales/pt-BR/translation.json index 08e6d4bc8..636d5b901 100644 --- a/locales/pt-BR/translation.json +++ b/locales/pt-BR/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Padrão do Sistema", "themes": "Temas", "thu": "Qui", - "title": "Time to Leave - Preferências", + "title": "Preferências", "tue": "Ter", "userPreferences": "Preferências de usuário", "view": "Visão", @@ -193,7 +193,7 @@ "source-selected-holidays": "Carregar feriados selecionados", "start-date": "Data de início", "state": "Estado:", - "title": "Time to Leave - Gerenciador de folgas", + "title": "Gerenciador de folgas", "to": "até", "waive": "Carregar", "waived-workday-list": "Lista de folgas", diff --git a/locales/pt-MI/translation.json b/locales/pt-MI/translation.json index e42592549..a0673f0e4 100644 --- a/locales/pt-MI/translation.json +++ b/locales/pt-MI/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Padrão do Sistema", "themes": "Temas", "thu": "Qui", - "title": "Horadimbora - Preferências", + "title": "Preferências", "tue": "Ter", "userPreferences": "Preferências de usuário", "view": "Visão", @@ -193,7 +193,7 @@ "source-selected-holidays": "Carregar feriados selecionados", "start-date": "Data de início", "state": "Estado:", - "title": "Horadimbora - Gerenciador de folgas", + "title": "Gerenciador de folgas", "to": "até", "waive": "Carregar", "waived-workday-list": "Lista de folgas", diff --git a/locales/pt-PT/translation.json b/locales/pt-PT/translation.json index 45cb53c46..048df34df 100644 --- a/locales/pt-PT/translation.json +++ b/locales/pt-PT/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Padrão do Sistema", "themes": "Temas", "thu": "Qui", - "title": "Time to Leave - Configurações", + "title": "Configurações", "tue": "Ter", "userPreferences": "Configurações do utilizador", "view": "Ver", @@ -193,7 +193,7 @@ "source-selected-holidays": "Carregar feriados selecionados", "start-date": "Data inicial", "state": "Estado:", - "title": "Time to Leave - Gestor de Folgas", + "title": "Gestor de Folgas", "to": "até", "waive": "Carregar", "waived-workday-list": "Lista de folgas", diff --git a/locales/ru-RU/translation.json b/locales/ru-RU/translation.json index 2984fc97b..406e92354 100644 --- a/locales/ru-RU/translation.json +++ b/locales/ru-RU/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Настройки системы по умолчанию", "themes": "Темы", "thu": "Чт", - "title": "Time to Leave - Настройки", + "title": "Настройки", "tue": "Вт", "userPreferences": "Настройки пользователя", "view": "Вид", @@ -193,7 +193,7 @@ "source-selected-holidays": "Добавить праздники", "start-date": "Дата начала", "state": "Состояние:", - "title": "Time to Leave - Менеджер отгулов", + "title": "Менеджер отгулов", "to": "по", "waive": "Отгул", "waived-workday-list": "Список отгулов", diff --git a/locales/sv-SE/translation.json b/locales/sv-SE/translation.json index 267abd75f..8193e7f5a 100644 --- a/locales/sv-SE/translation.json +++ b/locales/sv-SE/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Systemstandard", "themes": "Tema", "thu": "Tors", - "title": "Time to Leave - Preferenser", + "title": "Preferenser", "tue": "Tis", "userPreferences": "Användarpreferenser", "view": "Vy", @@ -193,7 +193,7 @@ "source-selected-holidays": "Ta in de valda helgdagarna", "start-date": "Startdatum", "state": "Status:", - "title": "Time to Leave - Hantera ledighet", + "title": "Hantera ledighet", "to": "till", "waive": "Lägg till ledighet", "waived-workday-list": "Lista med arbetsdagar med ledighet", diff --git a/locales/ta/translation.json b/locales/ta/translation.json index cd47c4678..204a5a7d7 100644 --- a/locales/ta/translation.json +++ b/locales/ta/translation.json @@ -150,7 +150,7 @@ "systemDefault": "ஸிஸ்டம் டீஃபால்ட்", "themes": "தீம்கள்", "thu": "வியாழன்", - "title": "Time to Leave - விருப்பத்தேர்வுகள்", + "title": "விருப்பத்தேர்வுகள்", "tue": "செவ்வாய்", "userPreferences": "பயனர் விருப்பத்தேர்வுகள்", "view": "காட்சி", @@ -193,7 +193,7 @@ "source-selected-holidays": "மூல தேர்ந்தெடுக்கப்பட்ட விடுமுறைகள்", "start-date": "தொடக்க தேதி", "state": "மாநிலம்:", - "title": "Time to Leave - வேலை நாள் விலக்கு மேலாளர்", + "title": "வேலை நாள் விலக்கு மேலாளர்", "to": "க்கு", "waive": "விலக்கு", "waived-workday-list": "வேலை நாள் பட்டியல் விலக்கு செய்யப்பட்டது", diff --git a/locales/th-TH/translation.json b/locales/th-TH/translation.json index 2616673f3..4a94a1885 100644 --- a/locales/th-TH/translation.json +++ b/locales/th-TH/translation.json @@ -150,7 +150,7 @@ "systemDefault": "ค่าตั้งต้นของระบบ", "themes": "ธีม", "thu": "พฤหัสบดี", - "title": "Time to Leave - การตั้งค่า", + "title": "การตั้งค่า", "tue": "อังคาร", "userPreferences": "การตั้งค่าผู้ใช้งาน", "view": "มุมมอง", @@ -193,7 +193,7 @@ "source-selected-holidays": "นำเข้าวันหยุดราชการ", "start-date": "วันที่เริ่มต้น", "state": "รัฐ:", - "title": "Time to Leave - จัดการวันหยุด", + "title": "จัดการวันหยุด", "to": "ถึง", "waive": "บันทึกวันหยุด", "waived-workday-list": "รายการวันหยุด", diff --git a/locales/tr-TR/translation.json b/locales/tr-TR/translation.json index 8085dafb2..267276ef5 100644 --- a/locales/tr-TR/translation.json +++ b/locales/tr-TR/translation.json @@ -150,7 +150,7 @@ "systemDefault": "Sistem Varsayılanı", "themes": "Tema", "thu": "Prş", - "title": "Time to Leave - Tercihler", + "title": "Tercihler", "tue": "Sl", "userPreferences": "Kullanıcı tercihleri", "view": "Görünüm", @@ -193,7 +193,7 @@ "source-selected-holidays": "Kaynak seçilen tatiller", "start-date": "Başlangıç Tarihi", "state": "Durum:", - "title": "Time to Leave - İş Günü İzin Yöneticisi", + "title": "İş Günü İzin Yöneticisi", "to": "için", "waive": "İzin", "waived-workday-list": "İzinli İş Günü Listesi", diff --git a/locales/zh-TW/translation.json b/locales/zh-TW/translation.json index 5d38605cc..683572779 100644 --- a/locales/zh-TW/translation.json +++ b/locales/zh-TW/translation.json @@ -150,7 +150,7 @@ "systemDefault": "系統默認", "themes": "主題", "thu": "四", - "title": "Time to Leave - 喜好設定", + "title": "喜好設定", "tue": "二", "userPreferences": "用戶喜好設定", "view": "查看", @@ -193,7 +193,7 @@ "source-selected-holidays": "導入已選擇假日", "start-date": "開始日期", "state": "狀態:", - "title": "Time to Leave - 工作日豁免管理員", + "title": "工作日豁免管理員", "to": "至", "waive": "豁免", "waived-workday-list": "已豁免工作日列表", From 077b0c9ca43c667ef3fe86ff09d83e6aed43fb46 Mon Sep 17 00:00:00 2001 From: ge72mum Date: Sat, 21 Jan 2023 10:39:43 +0100 Subject: [PATCH 10/10] remove Time to Leave string from title en --- locales/en/translation.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locales/en/translation.json b/locales/en/translation.json index 038b8414f..b8c69c513 100644 --- a/locales/en/translation.json +++ b/locales/en/translation.json @@ -150,7 +150,7 @@ "systemDefault": "System Default", "themes": "Themes", "thu": "Thu", - "title": "Time to Leave - Preferences", + "title": "Preferences", "tue": "Tue", "userPreferences": "User preferences", "view": "View", @@ -193,7 +193,7 @@ "source-selected-holidays": "Source selected holidays", "start-date": "Start Date", "state": "State:", - "title": "Time to Leave - Workday Waiver Manager", + "title": "Workday Waiver Manager", "to": "to", "waive": "Waive", "waived-workday-list": "Waived workday list",