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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user