fix(i18n): add time format translations to all 13 missing locales

Also translate server error message to English and remove stale
comment from calendar.js catch block.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas Kalayci
2026-04-30 19:54:12 +02:00
parent 8c9a5c6aa2
commit e59a9818a9
15 changed files with 41 additions and 4 deletions
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "تنسيق التاريخ المفضل",
"dateFormatHint": "اختر كيف تظهر التواريخ في التطبيق.",
"dateFormatSavedToast": "تم حفظ تنسيق التاريخ.",
"timeFormatLabel": "تنسيق الوقت",
"timeFormatHours": "ساعة",
"timeFormatSavedToast": "تم حفظ تنسيق الوقت.",
"themeSystem": "النظام",
"themeSysLabel": "استخدام إعداد النظام",
"themeLight": "فاتح",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Προτιμώμενη μορφή ημερομηνίας",
"dateFormatHint": "Επιλέξτε πώς εμφανίζονται οι ημερομηνίες στην εφαρμογή.",
"dateFormatSavedToast": "Η μορφή ημερομηνίας αποθηκεύτηκε.",
"timeFormatLabel": "Μορφή ώρας",
"timeFormatHours": "ώρες",
"timeFormatSavedToast": "Η μορφή ώρας αποθηκεύτηκε.",
"themeSystem": "Σύστημα",
"themeSysLabel": "Χρήση ρύθμισης συστήματος",
"themeLight": "Ανοιχτό",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Formato de fecha preferido",
"dateFormatHint": "Elige cómo se muestran las fechas en toda la app.",
"dateFormatSavedToast": "Formato de fecha guardado.",
"timeFormatLabel": "Formato de hora",
"timeFormatHours": "horas",
"timeFormatSavedToast": "Formato de hora guardado.",
"themeSystem": "Sistema",
"themeSysLabel": "Usar configuración del sistema",
"themeLight": "Claro",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Format de date préféré",
"dateFormatHint": "Choisissez comment les dates sont affichées dans l'application.",
"dateFormatSavedToast": "Format de date enregistré.",
"timeFormatLabel": "Format de l'heure",
"timeFormatHours": "heures",
"timeFormatSavedToast": "Format de l'heure enregistré.",
"themeSystem": "Système",
"themeSysLabel": "Utiliser le paramètre système",
"themeLight": "Clair",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "पसंदीदा तारीख प्रारूप",
"dateFormatHint": "चुनें कि ऐप में तारीखें कैसे दिखाई दें।",
"dateFormatSavedToast": "तारीख प्रारूप सहेजा गया।",
"timeFormatLabel": "समय प्रारूप",
"timeFormatHours": "घंटे",
"timeFormatSavedToast": "समय प्रारूप सहेजा गया।",
"themeSystem": "सिस्टम",
"themeSysLabel": "सिस्टम सेटिंग का उपयोग करें",
"themeLight": "हल्का",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Formato data preferito",
"dateFormatHint": "Scegli come vengono mostrate le date nell'app.",
"dateFormatSavedToast": "Formato data salvato.",
"timeFormatLabel": "Formato orario",
"timeFormatHours": "ore",
"timeFormatSavedToast": "Formato orario salvato.",
"themeSystem": "Sistema",
"themeSysLabel": "Usa impostazione di sistema",
"themeLight": "Chiaro",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "希望する日付形式",
"dateFormatHint": "アプリ内で日付をどう表示するかを選択します。",
"dateFormatSavedToast": "日付形式を保存しました。",
"timeFormatLabel": "時刻形式",
"timeFormatHours": "時間",
"timeFormatSavedToast": "時刻形式を保存しました。",
"themeSystem": "システム設定",
"themeSysLabel": "システム設定を使用",
"themeLight": "ライト",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Formato preferido da data",
"dateFormatHint": "Escolha como as datas aparecem em toda a aplicação.",
"dateFormatSavedToast": "Formato da data salvo.",
"timeFormatLabel": "Formato de hora",
"timeFormatHours": "horas",
"timeFormatSavedToast": "Formato de hora salvo.",
"themeSystem": "Sistema",
"themeSysLabel": "Usar configuração do sistema",
"themeLight": "Claro",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Предпочитаемый формат даты",
"dateFormatHint": "Выберите, как даты отображаются в приложении.",
"dateFormatSavedToast": "Формат даты сохранён.",
"timeFormatLabel": "Формат времени",
"timeFormatHours": "часов",
"timeFormatSavedToast": "Формат времени сохранён.",
"themeSystem": "Система",
"themeSysLabel": "Использовать системную настройку",
"themeLight": "Светлая",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Önskat datumformat",
"dateFormatHint": "Välj hur datum visas i appen.",
"dateFormatSavedToast": "Datumformat sparat.",
"timeFormatLabel": "Tidsformat",
"timeFormatHours": "timmar",
"timeFormatSavedToast": "Tidsformat sparat.",
"themeSystem": "System",
"themeSysLabel": "Använd systeminställning",
"themeLight": "Ljus",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Tercih edilen tarih biçimi",
"dateFormatHint": "Tarihlerin uygulamada nasıl görüneceğini seçin.",
"dateFormatSavedToast": "Tarih biçimi kaydedildi.",
"timeFormatLabel": "Saat biçimi",
"timeFormatHours": "saat",
"timeFormatSavedToast": "Saat biçimi kaydedildi.",
"themeSystem": "Sistem",
"themeSysLabel": "Sistem ayarını kullan",
"themeLight": "Açık",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "Бажаний формат дати",
"dateFormatHint": "Виберіть, як дати відображаються в застосунку.",
"dateFormatSavedToast": "Формат дати збережено.",
"timeFormatLabel": "Формат часу",
"timeFormatHours": "годин",
"timeFormatSavedToast": "Формат часу збережено.",
"themeSystem": "Системна",
"themeSysLabel": "Використовувати системні налаштування",
"themeLight": "Світла",
+3
View File
@@ -607,6 +607,9 @@
"dateFormatLabel": "首选日期格式",
"dateFormatHint": "选择日期在应用中的显示方式。",
"dateFormatSavedToast": "日期格式已保存。",
"timeFormatLabel": "时间格式",
"timeFormatHours": "小时",
"timeFormatSavedToast": "时间格式已保存。",
"themeSystem": "跟随系统",
"themeSysLabel": "使用系统设置",
"themeLight": "浅色",
+1 -3
View File
@@ -226,9 +226,7 @@ function setSavedCalendarView(view) {
if (!VIEWS.includes(view)) return;
try {
localStorage.setItem(CALENDAR_VIEW_STORAGE_KEY, view);
} catch {
// Ignore storage failures; view still works for this session.
}
} catch {}
}
// Extract YYYY-MM-DD in the browser's local timezone from any datetime string.