chore: update i18n for filter

pull/275/head
Steven 3 years ago
parent 4ada7dce77
commit 88ade2c0b7

@ -132,7 +132,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
); );
})} })}
<div className="create-filter-btn" onClick={handleAddFilterBenClick}> <div className="create-filter-btn" onClick={handleAddFilterBenClick}>
{t("shortcut-list.new-filter")} {t("filter.new-filter")}
</div> </div>
</div> </div>
</div> </div>

@ -11,11 +11,11 @@ export const filterConsts = {
value: "TAG", value: "TAG",
operators: [ operators: [
{ {
text: "shortcut-list.operator.contains", text: "filter.operator.contains",
value: "CONTAIN", value: "CONTAIN",
}, },
{ {
text: "shortcut-list.operator.not-contains", text: "filter.operator.not-contains",
value: "NOT_CONTAIN", value: "NOT_CONTAIN",
}, },
], ],
@ -25,21 +25,21 @@ export const filterConsts = {
value: "TYPE", value: "TYPE",
operators: [ operators: [
{ {
text: "shortcut-list.operator.is", text: "filter.operator.is",
value: "IS", value: "IS",
}, },
{ {
text: "shortcut-list.operator.is-not", text: "filter.operator.is-not",
value: "IS_NOT", value: "IS_NOT",
}, },
], ],
values: [ values: [
{ {
text: "shortcut-list.value.not-tagged", text: "filter.value.not-tagged",
value: "NOT_TAGGED", value: "NOT_TAGGED",
}, },
{ {
text: "shortcut-list.value.linked", text: "filter.value.linked",
value: "LINKED", value: "LINKED",
}, },
], ],
@ -49,11 +49,11 @@ export const filterConsts = {
value: "TEXT", value: "TEXT",
operators: [ operators: [
{ {
text: "shortcut-list.operator.contains", text: "filter.operator.contains",
value: "CONTAIN", value: "CONTAIN",
}, },
{ {
text: "shortcut-list.operator.not-contains", text: "filter.operator.not-contains",
value: "NOT_CONTAIN", value: "NOT_CONTAIN",
}, },
], ],

@ -93,10 +93,12 @@
"shortcut-title": "shortcut title", "shortcut-title": "shortcut title",
"create-shortcut": "Create Shortcut", "create-shortcut": "Create Shortcut",
"edit-shortcut": "Edit Shortcut", "edit-shortcut": "Edit Shortcut",
"new-filter": "New Filter",
"eligible-memo": "eligible memo", "eligible-memo": "eligible memo",
"fill-previous": "Please fill in previous filter value", "fill-previous": "Please fill in previous filter value",
"title-required": "Title is required", "title-required": "Title is required"
},
"filter": {
"new-filter": "New Filter",
"operator": { "operator": {
"contains": "Contains", "contains": "Contains",
"not-contains": "Does not contain", "not-contains": "Does not contain",

@ -7,9 +7,11 @@
"repeat-new-password": "Nhập lại mật khẩu mới", "repeat-new-password": "Nhập lại mật khẩu mới",
"username": "Tên đăng nhập", "username": "Tên đăng nhập",
"save": "Lưu", "save": "Lưu",
"close": "Close",
"cancel": "Hủy", "cancel": "Hủy",
"create": "Tạo mới", "create": "Tạo mới",
"change": "Thay đổi", "change": "Thay đổi",
"confirm": "Confirm",
"reset": "Khôi phục", "reset": "Khôi phục",
"language": "Ngôn Ngữ", "language": "Ngôn Ngữ",
"version": "Phiên bản", "version": "Phiên bản",
@ -58,7 +60,10 @@
"fetching-data": "đang tải dữ liệu...", "fetching-data": "đang tải dữ liệu...",
"upload": "Tải lên", "upload": "Tải lên",
"preview": "Xem trước", "preview": "Xem trước",
"copy-link": "Sao chép" "copy-link": "Sao chép",
"delete-resource": "Delete Resource",
"warning-text": "Are you sure to delete this resource? THIS ACTION IS IRREVERSIABLE❗",
"linked-amount": "Linked memo amount"
}, },
"archived": { "archived": {
"archived-memos": "Memo đã lưu trữ", "archived-memos": "Memo đã lưu trữ",
@ -88,11 +93,23 @@
"shortcut-title": "Tên lối tắt", "shortcut-title": "Tên lối tắt",
"create-shortcut": "Tạo lối tắt", "create-shortcut": "Tạo lối tắt",
"edit-shortcut": "Chỉnh sửa lối tắt", "edit-shortcut": "Chỉnh sửa lối tắt",
"new-filter": "Bộ lọc mới",
"eligible-memo": "memo đạt chuẩn", "eligible-memo": "memo đạt chuẩn",
"fill-previous": "Vui lòng nhập vào giá trị của bộ lọc trước đó", "fill-previous": "Vui lòng nhập vào giá trị của bộ lọc trước đó",
"title-required": "Tiêu đề là bắt buộc" "title-required": "Tiêu đề là bắt buộc"
}, },
"filter": {
"new-filter": "Bộ lọc mới",
"operator": {
"contains": "Contains",
"not-contains": "Does not contain",
"is": "Is",
"is-not": "Is Not"
},
"value": {
"not-tagged": "No tags",
"linked": "Has links"
}
},
"tag-list": { "tag-list": {
"tip-text": "Nhập `#tag` để tạo mới" "tip-text": "Nhập `#tag` để tạo mới"
}, },

@ -93,10 +93,12 @@
"shortcut-title": "捷径标题", "shortcut-title": "捷径标题",
"create-shortcut": "创建捷径", "create-shortcut": "创建捷径",
"edit-shortcut": "编辑捷径", "edit-shortcut": "编辑捷径",
"new-filter": "新建过滤器",
"eligible-memo": "符合条件的 memo", "eligible-memo": "符合条件的 memo",
"fill-previous": "请填写之前的过滤值", "fill-previous": "请填写之前的过滤值",
"title-required": "标题是必填项。", "title-required": "标题是必填项。"
},
"filter": {
"new-filter": "新建过滤器",
"operator": { "operator": {
"contains": "包含", "contains": "包含",
"not-contains": "不包含", "not-contains": "不包含",

Loading…
Cancel
Save