From 7de783dac071b67a5b8a980f50f7c71f1961df11 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 23 Sep 2022 17:31:07 +0800 Subject: [PATCH] feat(nc-gui): crowdin for kanban --- .../smartsheet-toolbar/KanbanStackEditOrAdd.vue | 3 +-- .../components/smartsheet-toolbar/StackedBy.vue | 8 ++++---- packages/nc-gui/components/smartsheet/Kanban.vue | 16 +++++----------- packages/nc-gui/lang/en.json | 11 ++++++++++- 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/packages/nc-gui/components/smartsheet-toolbar/KanbanStackEditOrAdd.vue b/packages/nc-gui/components/smartsheet-toolbar/KanbanStackEditOrAdd.vue index d10a500b07..729fcc4c1c 100644 --- a/packages/nc-gui/components/smartsheet-toolbar/KanbanStackEditOrAdd.vue +++ b/packages/nc-gui/components/smartsheet-toolbar/KanbanStackEditOrAdd.vue @@ -36,8 +36,7 @@ provide(IsKanbanInj, ref(true))
- - Add / Edit Stack + {{ $t('activity.kanban.addOrEditStack') }}
diff --git a/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue b/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue index 321f1b8489..3efa5ef48c 100644 --- a/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue +++ b/packages/nc-gui/components/smartsheet-toolbar/StackedBy.vue @@ -83,8 +83,9 @@ const handleChange = () => {
- - Stacked By {{ groupingField }} + + {{ $t('activity.kanban.stackedBy', { groupingField }) }} +
@@ -96,8 +97,7 @@ const handleChange = () => { @click.stop >
- - Choose a Grouping Field + {{ $t('activity.kanban.chooseGroupingField') }}
diff --git a/packages/nc-gui/components/smartsheet/Kanban.vue b/packages/nc-gui/components/smartsheet/Kanban.vue index 3129146359..93b609cdce 100644 --- a/packages/nc-gui/components/smartsheet/Kanban.vue +++ b/packages/nc-gui/components/smartsheet/Kanban.vue @@ -275,15 +275,13 @@ onMounted(async () => { >
- - Add new record + {{ $t('activity.addNewRecord') }}
- - Collapse Stack + {{ $t('activity.kanban.collapseStack') }}
{ >
- - Delete Stack + {{ $t('activity.kanban.deleteStack') }}
@@ -425,13 +422,10 @@ onMounted(async () => { />
- - Deleting this stack will also remove the select option `{{ stackToBeDeleted }}` from the `{{ groupingField }}`. The records - will move to the uncategorized stack. + {{ $t('msg.info.deleteKanbanStackConfirmation', { stackToBeDeleted, groupingField }) }}