mirror of
https://github.com/usememos/memos.git
synced 2025-03-31 02:50:17 +02:00
chore: update i18n for filter
This commit is contained in:
parent
4ada7dce77
commit
88ade2c0b7
web/src
@ -132,7 +132,7 @@ const CreateShortcutDialog: React.FC<Props> = (props: Props) => {
|
||||
);
|
||||
})}
|
||||
<div className="create-filter-btn" onClick={handleAddFilterBenClick}>
|
||||
{t("shortcut-list.new-filter")}
|
||||
{t("filter.new-filter")}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -11,11 +11,11 @@ export const filterConsts = {
|
||||
value: "TAG",
|
||||
operators: [
|
||||
{
|
||||
text: "shortcut-list.operator.contains",
|
||||
text: "filter.operator.contains",
|
||||
value: "CONTAIN",
|
||||
},
|
||||
{
|
||||
text: "shortcut-list.operator.not-contains",
|
||||
text: "filter.operator.not-contains",
|
||||
value: "NOT_CONTAIN",
|
||||
},
|
||||
],
|
||||
@ -25,21 +25,21 @@ export const filterConsts = {
|
||||
value: "TYPE",
|
||||
operators: [
|
||||
{
|
||||
text: "shortcut-list.operator.is",
|
||||
text: "filter.operator.is",
|
||||
value: "IS",
|
||||
},
|
||||
{
|
||||
text: "shortcut-list.operator.is-not",
|
||||
text: "filter.operator.is-not",
|
||||
value: "IS_NOT",
|
||||
},
|
||||
],
|
||||
values: [
|
||||
{
|
||||
text: "shortcut-list.value.not-tagged",
|
||||
text: "filter.value.not-tagged",
|
||||
value: "NOT_TAGGED",
|
||||
},
|
||||
{
|
||||
text: "shortcut-list.value.linked",
|
||||
text: "filter.value.linked",
|
||||
value: "LINKED",
|
||||
},
|
||||
],
|
||||
@ -49,11 +49,11 @@ export const filterConsts = {
|
||||
value: "TEXT",
|
||||
operators: [
|
||||
{
|
||||
text: "shortcut-list.operator.contains",
|
||||
text: "filter.operator.contains",
|
||||
value: "CONTAIN",
|
||||
},
|
||||
{
|
||||
text: "shortcut-list.operator.not-contains",
|
||||
text: "filter.operator.not-contains",
|
||||
value: "NOT_CONTAIN",
|
||||
},
|
||||
],
|
||||
|
@ -93,10 +93,12 @@
|
||||
"shortcut-title": "shortcut title",
|
||||
"create-shortcut": "Create Shortcut",
|
||||
"edit-shortcut": "Edit Shortcut",
|
||||
"new-filter": "New Filter",
|
||||
"eligible-memo": "eligible memo",
|
||||
"fill-previous": "Please fill in previous filter value",
|
||||
"title-required": "Title is required",
|
||||
"title-required": "Title is required"
|
||||
},
|
||||
"filter": {
|
||||
"new-filter": "New Filter",
|
||||
"operator": {
|
||||
"contains": "Contains",
|
||||
"not-contains": "Does not contain",
|
||||
@ -157,4 +159,4 @@
|
||||
"copied": "Copied",
|
||||
"succeed-copy-content": "Succeed to copy content to clipboard."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -7,9 +7,11 @@
|
||||
"repeat-new-password": "Nhập lại mật khẩu mới",
|
||||
"username": "Tên đăng nhập",
|
||||
"save": "Lưu",
|
||||
"close": "Close",
|
||||
"cancel": "Hủy",
|
||||
"create": "Tạo mới",
|
||||
"change": "Thay đổi",
|
||||
"confirm": "Confirm",
|
||||
"reset": "Khôi phục",
|
||||
"language": "Ngôn Ngữ",
|
||||
"version": "Phiên bản",
|
||||
@ -58,7 +60,10 @@
|
||||
"fetching-data": "đang tải dữ liệu...",
|
||||
"upload": "Tải lên",
|
||||
"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-memos": "Memo đã lưu trữ",
|
||||
@ -88,11 +93,23 @@
|
||||
"shortcut-title": "Tên lối tắt",
|
||||
"create-shortcut": "Tạo 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",
|
||||
"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"
|
||||
},
|
||||
"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": {
|
||||
"tip-text": "Nhập `#tag` để tạo mới"
|
||||
},
|
||||
|
@ -93,10 +93,12 @@
|
||||
"shortcut-title": "捷径标题",
|
||||
"create-shortcut": "创建捷径",
|
||||
"edit-shortcut": "编辑捷径",
|
||||
"new-filter": "新建过滤器",
|
||||
"eligible-memo": "符合条件的 memo",
|
||||
"fill-previous": "请填写之前的过滤值",
|
||||
"title-required": "标题是必填项。",
|
||||
"title-required": "标题是必填项。"
|
||||
},
|
||||
"filter": {
|
||||
"new-filter": "新建过滤器",
|
||||
"operator": {
|
||||
"contains": "包含",
|
||||
"not-contains": "不包含",
|
||||
@ -157,4 +159,4 @@
|
||||
"copied": "Copied",
|
||||
"succeed-copy-content": "Succeed to copy content to clipboard."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user