Browse Source

fix: i18n for Table node

pull/6512/head
Muhammed Mustafa 1 year ago
parent
commit
a4dbf02db9
  1. 2
      packages/nc-gui/components/dashboard/TreeView/TableList.vue
  2. 2
      packages/nc-gui/components/dashboard/TreeView/TableNode.vue
  3. 2
      packages/nc-gui/lang/en.json

2
packages/nc-gui/components/dashboard/TreeView/TableList.vue

@ -140,7 +140,7 @@ const availableTables = computed(() => {
'ml-19.25': baseIndex !== 0, 'ml-19.25': baseIndex !== 0,
}" }"
> >
Empty {{ $t('general.empty') }}
</div> </div>
<div <div
v-if="project.bases?.[baseIndex] && project!.bases[baseIndex].enabled" v-if="project.bases?.[baseIndex] && project!.bases[baseIndex].enabled"

2
packages/nc-gui/components/dashboard/TreeView/TableNode.vue

@ -187,7 +187,7 @@ const isTableOpened = computed(() => {
<template #default> <template #default>
<NcTooltip class="flex" placement="topLeft" hide-on-click :disabled="!canUserEditEmote"> <NcTooltip class="flex" placement="topLeft" hide-on-click :disabled="!canUserEditEmote">
<template #title> <template #title>
{{ 'Change icon' }} {{ $t('general.changeIcon') }}
</template> </template>
<MdiTable <MdiTable

2
packages/nc-gui/lang/en.json

@ -53,6 +53,8 @@
"edit": "Edit", "edit": "Edit",
"remove": "Remove", "remove": "Remove",
"logout": "Log Out", "logout": "Log Out",
"empty": "Empty",
"changeIcon": "Change Icon",
"save": "Save", "save": "Save",
"abort": "Abort", "abort": "Abort",
"saving": "Saving", "saving": "Saving",

Loading…
Cancel
Save