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
+1 -1
View File
@@ -148,7 +148,7 @@ router.put('/', (req, res) => {
if (time_format !== undefined) {
if (!VALID_TIME_FORMATS.includes(time_format)) {
return res.status(400).json({ error: `Ungültiges Zeitformat. Erlaubt: ${VALID_TIME_FORMATS.join(', ')}`, code: 400 });
return res.status(400).json({ error: `Invalid time format. Allowed: ${VALID_TIME_FORMATS.join(', ')}`, code: 400 });
}
cfgSet('time_format', time_format);
}