diff --git a/packages/core/client/src/collection-manager/interfaces/properties/operators.ts b/packages/core/client/src/collection-manager/interfaces/properties/operators.ts index ed58efc79..5e3530d84 100644 --- a/packages/core/client/src/collection-manager/interfaces/properties/operators.ts +++ b/packages/core/client/src/collection-manager/interfaces/properties/operators.ts @@ -35,7 +35,7 @@ export const array = [ }, }, { - label: '{{t("contains")}}', + label: '{{t("is any of")}}', value: '$anyOf', schema: { 'x-component': 'Select', @@ -43,7 +43,7 @@ export const array = [ }, }, { - label: '{{t("does not contain")}}', + label: '{{t("is none of")}}', value: '$noneOf', schema: { 'x-component': 'Select', @@ -102,7 +102,7 @@ export const enumType = [ schema: { 'x-component': 'Select' }, }, { - label: '{{t("contains")}}', + label: '{{t("is any of")}}', value: '$in', schema: { 'x-component': 'Select', @@ -110,7 +110,7 @@ export const enumType = [ }, }, { - label: '{{t("does not contain")}}', + label: '{{t("is none of")}}', value: '$notIn', schema: { 'x-component': 'Select', @@ -135,7 +135,7 @@ export const boolean = [ export const tableoid = [ { - label: '{{t("contains")}}', + label: '{{t("is any of")}}', value: '$childIn', schema: { 'x-component': 'CollectionSelect', @@ -143,7 +143,7 @@ export const tableoid = [ }, }, { - label: '{{t("does not contain")}}', + label: '{{t("is none of")}}', value: '$childNotIn', schema: { 'x-component': 'CollectionSelect', @@ -165,7 +165,7 @@ export const collection = [ schema: { 'x-component': 'CollectionSelect' }, }, { - label: '{{t("contains")}}', + label: '{{t("is any of")}}', value: '$in', schema: { 'x-component': 'CollectionSelect', @@ -173,7 +173,7 @@ export const collection = [ }, }, { - label: '{{t("does not contain")}}', + label: '{{t("is none of")}}', value: '$notIn', schema: { 'x-component': 'CollectionSelect', diff --git a/packages/core/client/src/locale/en_US.json b/packages/core/client/src/locale/en_US.json index 3602c0cb0..87633b810 100644 --- a/packages/core/client/src/locale/en_US.json +++ b/packages/core/client/src/locale/en_US.json @@ -833,5 +833,7 @@ "Expand All": "Expand All", "Search": "Search", "Clear default value": "Clear default value", - "Open in new window": "Open in new window" + "Open in new window": "Open in new window", + "is none of": "is none of", + "is any of": "is any of" } diff --git a/packages/core/client/src/locale/zh-CN.json b/packages/core/client/src/locale/zh-CN.json index d7b483e8f..8d68823ba 100644 --- a/packages/core/client/src/locale/zh-CN.json +++ b/packages/core/client/src/locale/zh-CN.json @@ -965,6 +965,8 @@ "Search": "搜索", "Clear default value": "清除默认值", "Open in new window": "新窗口打开", + "is none of": "不包含任何一个", + "is any of": "包含任何一个", "Paging mode": "分页模式", "Simple Paginate": "简单分页" }