Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JNG-5946 fix row delete translation #465

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -532,7 +532,7 @@ export function ViewGalaxyTableTableComponent(props: ViewGalaxyTableTableCompone
},
{
id: 'God/(esm/_YT0hQE7rEeycO-gUAWxcVg)/TransferObjectTableRowDeleteButton',
label: t('View.Galaxy.Table.Delete', { defaultValue: 'Delete' }) as string,
label: t('judo.action.row-delete', { defaultValue: 'Delete' }) as string,
icon: <MdiIcon path="delete_forever" />,
isCRUD: true,
hidden: (row: ViewGalaxyStored) => false,
Original file line number Diff line number Diff line change
@@ -177,6 +177,8 @@ private static String getSystemTranslationForVisualElement(VisualElement visualE
return "judo.action.update";
} else if (ad.getIsDeleteAction()) {
return "judo.action.delete";
} else if (ad.getIsRowDeleteAction()) {
return "judo.action.row-delete";
} else if (ad.getIsRemoveAction()) {
return "judo.action.remove";
} else if (ad.getIsFilterAction()) {
@@ -364,6 +366,7 @@ private static boolean hasSystemTranslation(VisualElement visualElement) {
|| ad.getIsSetAction()
|| ad.getIsUpdateAction()
|| ad.getIsDeleteAction()
|| ad.getIsRowDeleteAction()
|| ad.getIsRemoveAction()
|| ad.getIsFilterAction()
|| ad.getIsFilterRelationAction()
Original file line number Diff line number Diff line change
@@ -21,6 +21,8 @@
"judo.action.update": "Update",
"judo.action.delete": "Delete",
"judo.action.delete.success": "Delete successful",
"judo.action.row-delete": "Delete",
"judo.action.row-delete.success": "Delete successful",
"judo.action.remove": "Remove",
"judo.action.filter": "Filter",
"judo.action.refresh": "Refresh",
Original file line number Diff line number Diff line change
@@ -21,6 +21,8 @@
"judo.action.update": "Update",
"judo.action.delete": "Delete",
"judo.action.delete.success": "Delete successful",
"judo.action.row-delete": "Delete",
"judo.action.row-delete.success": "Delete successful",
"judo.action.remove": "Remove",
"judo.action.filter": "Filter",
"judo.action.refresh": "Refresh",
Original file line number Diff line number Diff line change
@@ -21,6 +21,8 @@
"judo.action.update": "Módosítás",
"judo.action.delete": "Törlés",
"judo.action.delete.success": "Sikeres törlés",
"judo.action.row-delete": "Törlés",
"judo.action.row-delete.success": "Sikeres törlés",
"judo.action.remove": "Eltávolítás",
"judo.action.filter": "Szűrés",
"judo.action.refresh": "Frissítés",