feat(ui): editors listing page, footer links, and i18n keys
New /editors route listing SVG editor and pathology editor with descriptions and CTAs. Footer gains Éditeurs link, Paws iin Harmony credit, and pipe-separated layout. 69 i18n keys added (editors.*, footer.*, svg_editor.*) in both FR and EN dicts. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
569e57197f
commit
5e24c2f3d7
5 files changed
+242
-16
No files matched your search
@@ -33,6 +33,19 @@ export const en: Dict = {
|
||||
// footer
|
||||
'footer.all_rights_reserved': 'All rights reserved.',
|
||||
'footer.powered_by': 'Powered by',
|
||||
'footer.editors': 'Editors',
|
||||
'footer.with_help': 'With help from',
|
||||
|
||||
// editors page
|
||||
'editors.title': 'Editors',
|
||||
'editors.svg.title': 'SVG Editor',
|
||||
'editors.svg.description':
|
||||
'Annotate an anatomical SVG file: add clickable zones, categories, and FR/EN labels.',
|
||||
'editors.svg.cta': 'Open',
|
||||
'editors.pathology.title': 'Pathology Editor',
|
||||
'editors.pathology.description':
|
||||
'Create and edit the pathology catalog (JSON tree) for a species.',
|
||||
'editors.pathology.cta': 'Open',
|
||||
|
||||
'not_found.title': 'Page not found',
|
||||
'not_found.description': 'The requested path does not exist.',
|
||||
@@ -144,4 +157,64 @@ export const en: Dict = {
|
||||
'lang.switch_to_en': 'Switch to English',
|
||||
'lang.fr': 'FR',
|
||||
'lang.en': 'EN',
|
||||
|
||||
// svg editor
|
||||
'svg_editor.title': 'SVG Anatomy Editor',
|
||||
'svg_editor.subtitle': 'Points, zones & clickable categories',
|
||||
'svg_editor.file': 'File',
|
||||
'svg_editor.choose_file': 'Choose an SVG file',
|
||||
'svg_editor.change_file': 'Change SVG file',
|
||||
'svg_editor.export': 'Export SVG',
|
||||
'svg_editor.mode': 'Mode',
|
||||
'svg_editor.mode_select': 'Select / move',
|
||||
'svg_editor.mode_point': 'Add point',
|
||||
'svg_editor.mode_polygon': 'Add polygon',
|
||||
'svg_editor.validate_polygon': 'Validate polygon (Enter)',
|
||||
'svg_editor.cancel_polygon': 'Cancel (Esc)',
|
||||
'svg_editor.category_for_new': 'Category for new elements',
|
||||
'svg_editor.categories': 'Categories',
|
||||
'svg_editor.shared_color': '(shared color)',
|
||||
'svg_editor.category_placeholder': 'Category name',
|
||||
'svg_editor.selected_element': 'Selected element',
|
||||
'svg_editor.opens_detail': 'This zone opens a detail view',
|
||||
'svg_editor.detail_id_label': 'Detail view ID (e.g. head, front-leg)',
|
||||
'svg_editor.name_fr': 'French name',
|
||||
'svg_editor.name_en': 'English name',
|
||||
'svg_editor.category': 'Category',
|
||||
'svg_editor.radius': 'Radius (circle)',
|
||||
'svg_editor.fill_opacity': 'Fill opacity',
|
||||
'svg_editor.polygon_editing': 'Polygon editing:',
|
||||
'svg_editor.polygon_drag': 'Drag a yellow handle to move it',
|
||||
'svg_editor.polygon_insert': 'Click a white mid-handle to insert a vertex',
|
||||
'svg_editor.polygon_delete': 'Alt+click or right-click a yellow handle to delete it',
|
||||
'svg_editor.redraw_polygon': 'Redraw this polygon',
|
||||
'svg_editor.delete': 'Delete',
|
||||
'svg_editor.elements': 'Elements',
|
||||
'svg_editor.filter_placeholder': 'Filter...',
|
||||
'svg_editor.welcome_title': 'SVG Anatomy Editor',
|
||||
'svg_editor.welcome_text': 'Upload an SVG file to begin. If your file already has points/zones with ',
|
||||
'svg_editor.welcome_text_suffix': ', they will be detected and configured automatically.',
|
||||
'svg_editor.welcome_drag_hint': 'or drag & drop an SVG file anywhere',
|
||||
'svg_editor.no_categories': 'No categories yet. Use the form below to add one.',
|
||||
'svg_editor.new_point_fr': 'Nouveau point',
|
||||
'svg_editor.new_point_en': 'New point',
|
||||
'svg_editor.new_zone_fr': 'Nouvelle zone',
|
||||
'svg_editor.new_zone_en': 'New zone',
|
||||
'svg_editor.alert_drop_svg': 'Drop an SVG file.',
|
||||
'svg_editor.alert_invalid_svg': 'Invalid file: no SVG element found.',
|
||||
'svg_editor.alert_min_3': 'Need at least 3 points.',
|
||||
'svg_editor.alert_min_3_vertices': 'A polygon must have at least 3 vertices.',
|
||||
'svg_editor.alert_upload_first': 'Upload an SVG first.',
|
||||
'svg_editor.alert_no_svg_loaded': 'No SVG loaded. Upload a file first.',
|
||||
'svg_editor.alert_cat_name_required': 'Give the category a name.',
|
||||
'svg_editor.alert_cat_invalid_name': 'Invalid name.',
|
||||
'svg_editor.alert_cat_exists': 'This category already exists.',
|
||||
'svg_editor.confirm_delete_element': 'Delete this element?',
|
||||
'svg_editor.confirm_delete_cat': 'Delete category "{name}"?',
|
||||
'svg_editor.confirm_delete_cat_count': '\n\nIt contains {count} element(s) that will also be deleted.',
|
||||
'svg_editor.confirm_redraw': 'Erase this polygon and redraw it?',
|
||||
'svg_editor.handle_drag': 'Drag to move | Alt+click or right-click to delete',
|
||||
'svg_editor.handle_insert': 'Click to insert a vertex here',
|
||||
'svg_editor.polygon_vertices': 'polygon ({count} vertices)',
|
||||
'svg_editor.drop_svg_here': 'Drop SVG here',
|
||||
}
|
||||
Reference in new issue
Block a user