Skip to content

Commit 900ec6f

Browse files
committed
Merge branch 'make-drag-instructions-translatable' of Arnei/opencast-admin-interface into r/17.x
Pull request #1332 Make drag and drop instructions translatable
2 parents 922c783 + 56d8d0e commit 900ec6f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/shared/EditTableViewModal.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ const EditTableViewModalContent = ({
221221
<li>
222222
<DragDropContext
223223
onDragEnd={onDragEnd}
224+
dragHandleUsageInstructions={t("PREFERENCES.TABLE.DRAG_HANDLE_USAGE_INSTRUCTIONS")}
224225
>
225226
<Droppable droppableId="droppable">
226227
{(provided, snapshot) => (

src/i18n/org/opencastproject/adminui/languages/lang-en_US.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@
105105
"SELECTED_COLUMNS": "Selected columns",
106106
"FOOTER_TEXT": "The order and selection will be saved automatically. Press \"{{resetTranslation}}\" to restore the default view.",
107107
"ADD_COLUMN": "Add column",
108-
"REMOVE_COLUMN": "Remove column"
108+
"REMOVE_COLUMN": "Remove column",
109+
"DRAG_HANDLE_USAGE_INSTRUCTIONS": "Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key"
109110
}
110111
},
111112
"CONFIRMATIONS": {

0 commit comments

Comments
 (0)