summaryrefslogtreecommitdiff
path: root/config/locales/en.yml
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-30 19:52:09 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-30 19:52:09 +0200
commitbc116a2acfe2450d85229379d54c3344e485db6a (patch)
treebd49c465f45bcec6251325d406c7de3cd6733ddf /config/locales/en.yml
parent6a1102e69230ed62138b8e6aec8a6348e8571b23 (diff)
Replaces the grey slab and filled-box handle with the house card idiom,
a tabler grip and icon-only edit and delete actions. Shows each item's non-default translations muted below the title, read from the translation rows rather than the accessor so the fallback chain cannot disguise a missing label as a translated one. Adds move up/down buttons via acts_as_list, the single-pointer alternative WCAG 2.5.7 requires: the jQuery UI sortable binds mouse events only, so dragging works neither on touch nor from the keyboard. The grip is hidden below the desktop breakpoint for the same reason. The sort handler dropped dataType: "json" against a head :ok response, which sent every success down the error path, and now reloads so the disabled chevron states match the stored order after a drag.
Diffstat (limited to 'config/locales/en.yml')
-rw-r--r--config/locales/en.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 1b112e3d..da8282cf 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -481,6 +481,10 @@ en:
481 title: "Menu Items" 481 title: "Menu Items"
482 create_item: "Create menu item" 482 create_item: "Create menu item"
483 confirm_destroy: "Do you really want to destroy the menu entry?" 483 confirm_destroy: "Do you really want to destroy the menu entry?"
484 reorder_hint: "Drag the handles to change the order"
485 falls_back: "… falls back to German"
486 move_up: "Move up"
487 move_down: "Move down"
484 new: 488 new:
485 title: "Add Menu Item" 489 title: "Add Menu Item"
486 edit: 490 edit: