fix: remove dup translation token and rearrange (#4810)

This commit is contained in:
Richard Shiue 2024-03-04 12:01:31 +08:00 committed by GitHub
parent 90146148b6
commit 6b05be2362
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 22 additions and 30 deletions

View File

@ -20,9 +20,9 @@ function GridTableOverlay({
const [openConfirm, setOpenConfirm] = useState(false); const [openConfirm, setOpenConfirm] = useState(false);
const [confirmModalProps, setConfirmModalProps] = useState< const [confirmModalProps, setConfirmModalProps] = useState<
| { | {
onOk: () => Promise<void>; onOk: () => Promise<void>;
onCancel: () => void; onCancel: () => void;
} }
| undefined | undefined
>(undefined); >(undefined);
@ -59,7 +59,7 @@ function GridTableOverlay({
{openConfirm && ( {openConfirm && (
<DeleteConfirmDialog <DeleteConfirmDialog
open={openConfirm} open={openConfirm}
title={t('grid.removeSorting')} title={t('grid.sort.removeSorting')}
okText={t('button.remove')} okText={t('button.remove')}
cancelText={t('button.dontRemove')} cancelText={t('button.dontRemove')}
onClose={() => { onClose={() => {

View File

@ -193,7 +193,7 @@
"editContact": "እውቂያ ያርትዑ" "editContact": "እውቂያ ያርትዑ"
}, },
"button": { "button": {
"OK": "እሺ", "ok": "እሺ",
"cancel": "ይቅር", "cancel": "ይቅር",
"signIn": "ይግቡ", "signIn": "ይግቡ",
"signOut": "ዘግተው ውጣ", "signOut": "ዘግተው ውጣ",
@ -860,4 +860,4 @@
"noResult": "ምንም ውጤቶች የሉም", "noResult": "ምንም ውጤቶች የሉም",
"caseSensitive": "መጪ" "caseSensitive": "መጪ"
} }
} }

View File

@ -249,8 +249,6 @@
"helpCenter": "Help Center", "helpCenter": "Help Center",
"add": "Add", "add": "Add",
"yes": "Yes", "yes": "Yes",
"Done": "Done",
"Cancel": "Cancel",
"clear": "Clear", "clear": "Clear",
"remove": "Remove", "remove": "Remove",
"dontRemove": "Don't remove", "dontRemove": "Don't remove",
@ -672,7 +670,8 @@
"empty": "No active sorts", "empty": "No active sorts",
"cannotFindCreatableField": "Cannot find a suitable field to sort by", "cannotFindCreatableField": "Cannot find a suitable field to sort by",
"deleteAllSorts": "Delete all sorts", "deleteAllSorts": "Delete all sorts",
"addSort": "Add new sort" "addSort": "Add new sort",
"removeSorting": "Would you like to remove sorting?"
}, },
"row": { "row": {
"duplicate": "Duplicate", "duplicate": "Duplicate",
@ -733,8 +732,7 @@
"median": "Median", "median": "Median",
"min": "Min", "min": "Min",
"sum": "Sum" "sum": "Sum"
}, }
"removeSorting": "Would you like to remove sorting?"
}, },
"document": { "document": {
"menuName": "Document", "menuName": "Document",
@ -1341,4 +1339,4 @@
"userIcon": "User icon" "userIcon": "User icon"
}, },
"noLogFiles": "There're no log files" "noLogFiles": "There're no log files"
} }

View File

@ -238,8 +238,6 @@
"helpCenter": "Centro assistenza", "helpCenter": "Centro assistenza",
"add": "Aggiungi", "add": "Aggiungi",
"yes": "SÌ", "yes": "SÌ",
"Done": "Fatto",
"Cancel": "Annulla",
"remove": "Rimuovi", "remove": "Rimuovi",
"dontRemove": "Non rimuovere" "dontRemove": "Non rimuovere"
}, },
@ -621,7 +619,8 @@
"cannotFindCreatableField": "Impossibile trovare un campo adatto per l'ordinamento", "cannotFindCreatableField": "Impossibile trovare un campo adatto per l'ordinamento",
"deleteAllSorts": "Elimina tutti gli ordinamenti", "deleteAllSorts": "Elimina tutti gli ordinamenti",
"addSort": "Aggiungi ordinamento", "addSort": "Aggiungi ordinamento",
"deleteSort": "Elimina ordinamento" "deleteSort": "Elimina ordinamento",
"removeSorting": "Si desidera rimuovere l'ordinamento?"
}, },
"row": { "row": {
"duplicate": "Duplicare", "duplicate": "Duplicare",
@ -675,8 +674,7 @@
"median": "Medio", "median": "Medio",
"min": "Minimo", "min": "Minimo",
"sum": "Somma" "sum": "Somma"
}, }
"removeSorting": "Si desidera rimuovere l'ordinamento?"
}, },
"document": { "document": {
"menuName": "Documento", "menuName": "Documento",
@ -1266,4 +1264,4 @@
"userIcon": "Icona utente" "userIcon": "Icona utente"
}, },
"noLogFiles": "Non ci sono file di log" "noLogFiles": "Non ci sono file di log"
} }

View File

@ -242,8 +242,6 @@
"helpCenter": "Центр помощи", "helpCenter": "Центр помощи",
"add": "Добавить", "add": "Добавить",
"yes": "Да", "yes": "Да",
"Done": "Готово",
"Cancel": "Отмена",
"clear": "Очистить", "clear": "Очистить",
"remove": "Удалить", "remove": "Удалить",
"dontRemove": "Не удалять", "dontRemove": "Не удалять",
@ -645,7 +643,8 @@
"empty": "Нет активных сортировок", "empty": "Нет активных сортировок",
"cannotFindCreatableField": "Не могу найти подходящее поле для сортировки", "cannotFindCreatableField": "Не могу найти подходящее поле для сортировки",
"deleteAllSorts": "Удалить все сортировки", "deleteAllSorts": "Удалить все сортировки",
"addSort": "Добавить сортировку" "addSort": "Добавить сортировку",
"removeSorting": "Убрать сортировку?"
}, },
"row": { "row": {
"duplicate": "Дублировать", "duplicate": "Дублировать",
@ -706,8 +705,7 @@
"median": "Медиана", "median": "Медиана",
"min": "Минимум", "min": "Минимум",
"sum": "Сумма" "sum": "Сумма"
}, }
"removeSorting": "Убрать сортировку?"
}, },
"document": { "document": {
"menuName": "Документ", "menuName": "Документ",
@ -1315,4 +1313,4 @@
"userIcon": "Пользовательская иконка" "userIcon": "Пользовательская иконка"
}, },
"noLogFiles": "Нет файлов журналов" "noLogFiles": "Нет файлов журналов"
} }

View File

@ -242,8 +242,6 @@
"helpCenter": "帮助中心", "helpCenter": "帮助中心",
"add": "添加", "add": "添加",
"yes": "是", "yes": "是",
"Done": "完成",
"Cancel": "取消",
"clear": "清空", "clear": "清空",
"remove": "删除", "remove": "删除",
"dontRemove": "请勿删除", "dontRemove": "请勿删除",
@ -646,7 +644,8 @@
"descending": "降序", "descending": "降序",
"deleteAllSorts": "删除所有排序", "deleteAllSorts": "删除所有排序",
"addSort": "添加排序", "addSort": "添加排序",
"deleteSort": "取消排序" "deleteSort": "取消排序",
"removeSorting": "你确定要移除排序吗?"
}, },
"row": { "row": {
"duplicate": "复制", "duplicate": "复制",
@ -705,8 +704,7 @@
"median": "中位数", "median": "中位数",
"min": "最小值", "min": "最小值",
"sum": "求和" "sum": "求和"
}, }
"removeSorting": "你确定要移除排序吗?"
}, },
"document": { "document": {
"menuName": "文档", "menuName": "文档",
@ -1293,4 +1291,4 @@
"userIcon": "用户图标" "userIcon": "用户图标"
}, },
"noLogFiles": "没有日志文件" "noLogFiles": "没有日志文件"
} }