Skip to content

Commit

Permalink
fix: remove dup translation token and rearrange (AppFlowy-IO#4810)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardshiue authored Mar 4, 2024
1 parent 9014614 commit 6b05be2
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ function GridTableOverlay({
const [openConfirm, setOpenConfirm] = useState(false);
const [confirmModalProps, setConfirmModalProps] = useState<
| {
onOk: () => Promise<void>;
onCancel: () => void;
}
onOk: () => Promise<void>;
onCancel: () => void;
}
| undefined
>(undefined);

Expand Down Expand Up @@ -59,7 +59,7 @@ function GridTableOverlay({
{openConfirm && (
<DeleteConfirmDialog
open={openConfirm}
title={t('grid.removeSorting')}
title={t('grid.sort.removeSorting')}
okText={t('button.remove')}
cancelText={t('button.dontRemove')}
onClose={() => {
Expand Down
4 changes: 2 additions & 2 deletions frontend/resources/translations/am-ET.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
"editContact": "እውቂያ ያርትዑ"
},
"button": {
"OK": "እሺ",
"ok": "እሺ",
"cancel": "ይቅር",
"signIn": "ይግቡ",
"signOut": "ዘግተው ውጣ",
Expand Down Expand Up @@ -860,4 +860,4 @@
"noResult": "ምንም ውጤቶች የሉም",
"caseSensitive": "መጪ"
}
}
}
10 changes: 4 additions & 6 deletions frontend/resources/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,6 @@
"helpCenter": "Help Center",
"add": "Add",
"yes": "Yes",
"Done": "Done",
"Cancel": "Cancel",
"clear": "Clear",
"remove": "Remove",
"dontRemove": "Don't remove",
Expand Down Expand Up @@ -672,7 +670,8 @@
"empty": "No active sorts",
"cannotFindCreatableField": "Cannot find a suitable field to sort by",
"deleteAllSorts": "Delete all sorts",
"addSort": "Add new sort"
"addSort": "Add new sort",
"removeSorting": "Would you like to remove sorting?"
},
"row": {
"duplicate": "Duplicate",
Expand Down Expand Up @@ -733,8 +732,7 @@
"median": "Median",
"min": "Min",
"sum": "Sum"
},
"removeSorting": "Would you like to remove sorting?"
}
},
"document": {
"menuName": "Document",
Expand Down Expand Up @@ -1341,4 +1339,4 @@
"userIcon": "User icon"
},
"noLogFiles": "There're no log files"
}
}
10 changes: 4 additions & 6 deletions frontend/resources/translations/it-IT.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@
"helpCenter": "Centro assistenza",
"add": "Aggiungi",
"yes": "",
"Done": "Fatto",
"Cancel": "Annulla",
"remove": "Rimuovi",
"dontRemove": "Non rimuovere"
},
Expand Down Expand Up @@ -621,7 +619,8 @@
"cannotFindCreatableField": "Impossibile trovare un campo adatto per l'ordinamento",
"deleteAllSorts": "Elimina tutti gli ordinamenti",
"addSort": "Aggiungi ordinamento",
"deleteSort": "Elimina ordinamento"
"deleteSort": "Elimina ordinamento",
"removeSorting": "Si desidera rimuovere l'ordinamento?"
},
"row": {
"duplicate": "Duplicare",
Expand Down Expand Up @@ -675,8 +674,7 @@
"median": "Medio",
"min": "Minimo",
"sum": "Somma"
},
"removeSorting": "Si desidera rimuovere l'ordinamento?"
}
},
"document": {
"menuName": "Documento",
Expand Down Expand Up @@ -1266,4 +1264,4 @@
"userIcon": "Icona utente"
},
"noLogFiles": "Non ci sono file di log"
}
}
10 changes: 4 additions & 6 deletions frontend/resources/translations/ru-RU.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@
"helpCenter": "Центр помощи",
"add": "Добавить",
"yes": "Да",
"Done": "Готово",
"Cancel": "Отмена",
"clear": "Очистить",
"remove": "Удалить",
"dontRemove": "Не удалять",
Expand Down Expand Up @@ -645,7 +643,8 @@
"empty": "Нет активных сортировок",
"cannotFindCreatableField": "Не могу найти подходящее поле для сортировки",
"deleteAllSorts": "Удалить все сортировки",
"addSort": "Добавить сортировку"
"addSort": "Добавить сортировку",
"removeSorting": "Убрать сортировку?"
},
"row": {
"duplicate": "Дублировать",
Expand Down Expand Up @@ -706,8 +705,7 @@
"median": "Медиана",
"min": "Минимум",
"sum": "Сумма"
},
"removeSorting": "Убрать сортировку?"
}
},
"document": {
"menuName": "Документ",
Expand Down Expand Up @@ -1315,4 +1313,4 @@
"userIcon": "Пользовательская иконка"
},
"noLogFiles": "Нет файлов журналов"
}
}
10 changes: 4 additions & 6 deletions frontend/resources/translations/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@
"helpCenter": "帮助中心",
"add": "添加",
"yes": "",
"Done": "完成",
"Cancel": "取消",
"clear": "清空",
"remove": "删除",
"dontRemove": "请勿删除",
Expand Down Expand Up @@ -646,7 +644,8 @@
"descending": "降序",
"deleteAllSorts": "删除所有排序",
"addSort": "添加排序",
"deleteSort": "取消排序"
"deleteSort": "取消排序",
"removeSorting": "你确定要移除排序吗?"
},
"row": {
"duplicate": "复制",
Expand Down Expand Up @@ -705,8 +704,7 @@
"median": "中位数",
"min": "最小值",
"sum": "求和"
},
"removeSorting": "你确定要移除排序吗?"
}
},
"document": {
"menuName": "文档",
Expand Down Expand Up @@ -1293,4 +1291,4 @@
"userIcon": "用户图标"
},
"noLogFiles": "没有日志文件"
}
}

0 comments on commit 6b05be2

Please sign in to comment.