feat(#221): add i18n keys and error codes for tag hierarchy errors
Adds INVALID_TAG_COLOR and TAG_CYCLE_DETECTED to the frontend ErrorCode type and getErrorMessage() switch. German, English, and Spanish translations added for both codes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -501,6 +501,8 @@
|
||||
"error_ocr_document_not_uploaded": "El documento no tiene archivo — OCR no es posible.",
|
||||
"error_ocr_processing_failed": "El procesamiento OCR ha fallado.",
|
||||
"error_training_already_running": "Ya hay un proceso de entrenamiento en curso.",
|
||||
"error_invalid_tag_color": "El color elegido no es válido.",
|
||||
"error_tag_cycle_detected": "Esta etiqueta padre crearía un ciclo.",
|
||||
"ocr_script_type_typewriter": "Máquina de escribir",
|
||||
"ocr_script_type_handwriting_latin": "Escritura manuscrita (latina)",
|
||||
"ocr_script_type_handwriting_kurrent": "Escritura manuscrita (Kurrent/Sütterlin)",
|
||||
|
||||
Reference in New Issue
Block a user