Browse Source

Merge pull request #9580 from armgong/develop

ColumnFilter ToolBar Correctly Show I18n string and LanguageAlias for zh_Hans
pull/9588/head
Pranav C 3 months ago committed by GitHub
parent
commit
8c6d21690e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue
  2. 2
      packages/nc-gui/lib/enums.ts

4
packages/nc-gui/components/smartsheet/toolbar/ColumnFilter.vue

@ -667,7 +667,7 @@ const changeToDynamic = async (filter, i) => {
>
<a-select-option v-for="op in logicalOps" :key="op.value" :value="op.value">
<div class="flex items-center w-full justify-between w-full gap-2">
<div class="truncate flex-1 capitalize">{{ op.value }}</div>
<div class="truncate flex-1 capitalize">{{ op.text }}</div>
<component
:is="iconMap.check"
v-if="filter.logical_op === op.value"
@ -719,7 +719,7 @@ const changeToDynamic = async (filter, i) => {
>
<a-select-option v-for="op of logicalOps" :key="op.value" :value="op.value">
<div class="flex items-center w-full justify-between w-full gap-2">
<div class="truncate flex-1 capitalize">{{ op.value }}</div>
<div class="truncate flex-1 capitalize">{{ op.text }}</div>
<component
:is="iconMap.check"
v-if="filter.logical_op === op.value"

2
packages/nc-gui/lib/enums.ts

@ -39,7 +39,7 @@ export enum Language {
}
export enum LanguageAlias {
zn_CN = 'zh-Hans',
zh_CN = 'zh-Hans',
zh_TW = 'zh-Hant',
}

Loading…
Cancel
Save