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/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", 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": "已豁免工作日列表", diff --git a/renderer/i18n-translator.js b/renderer/i18n-translator.js index 8a84027b9..1a0adf35c 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.html b/src/preferences.html index 108ee72b3..e368c058b 100644 --- a/src/preferences.html +++ b/src/preferences.html @@ -2,7 +2,6 @@ - Time to Leave - Preferences diff --git a/src/preferences.js b/src/preferences.js index af50c9d68..7aeb1a276 100644 --- a/src/preferences.js +++ b/src/preferences.js @@ -34,7 +34,7 @@ function listenerLanguage() preferences['language'] = this.value; window.mainApi.changeLanguagePromise(this.value).then((languageData) => { - translatePage(this.value, languageData); + translatePage(this.value, languageData, 'Preferences'); window.mainApi.notifyNewPreferences(preferences); }); }); @@ -46,7 +46,7 @@ function setupLanguages() listenerLanguage(); window.mainApi.getLanguageDataPromise().then(languageData => { - translatePage(usersStyles['language'], languageData.data); + translatePage(usersStyles['language'], languageData.data, 'Preferences'); }); } diff --git a/src/workday-waiver.html b/src/workday-waiver.html index 9aa6d5f9a..761936a8e 100644 --- a/src/workday-waiver.html +++ b/src/workday-waiver.html @@ -2,7 +2,6 @@ - Time to Leave - Workday Waiver Manager diff --git a/src/workday-waiver.js b/src/workday-waiver.js index c19e1add5..ce5be3ecf 100644 --- a/src/workday-waiver.js +++ b/src/workday-waiver.js @@ -464,7 +464,7 @@ $(() => }); bindDevToolsShortcut(window); - translatePage(languageData.language, languageData.data); + translatePage(languageData.language, languageData.data, 'WorkdayWaiver'); }); });