memos/web/src/locales/en.json
CorrectRoadH 424f10e180
feat: request pagination for resource(#1425)
* feat: add support for resource page on frontend

* [WIP]feat: add backend support for limit and offset search

* feat: add reducer to add resource

* support fetch all resource when first search

* beautify the fetch ui

* restore file

* feat: add all resource before clear resource

* eslint

* i18n

* chore:change the nane

* chore: change the name of param

* eslint

* feat: setIsComplete to true when first loading resource fully

* fix the bug of fetch

* feat change finally to then

* feat: add await and async to clear and search

* feat: return all resource when fetch

* chore: change variable name

* Update web/src/pages/ResourcesDashboard.tsx

Co-authored-by: boojack <stevenlgtm@gmail.com>

* fix missing const value

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-04-01 16:51:20 +08:00

321 lines
10 KiB
JSON

{
"common": {
"about": "About",
"home": "Home",
"resources": "Resources",
"settings": "Settings",
"daily-review": "Daily Review",
"ask-ai": "Ask AI",
"archived": "Archived",
"email": "Email",
"password": "Password",
"avatar": "Avatar",
"username": "Username",
"nickname": "Nickname",
"new-password": "New password",
"repeat-new-password": "Repeat the new password",
"save": "Save",
"close": "Close",
"cancel": "Cancel",
"create": "Create",
"change": "Change",
"confirm": "Confirm",
"reset": "Reset",
"language": "Language",
"version": "Version",
"pin": "Pin",
"unpin": "Unpin",
"edit": "Edit",
"restore": "Restore",
"delete": "Delete",
"null": "Null",
"share": "Share",
"archive": "Archive",
"basic": "Basic",
"admin": "Admin",
"explore": "Explore",
"sign-in": "Sign in",
"sign-up": "Sign up",
"sign-out": "Sign out",
"back-to-home": "Back to Home",
"type": "Type",
"shortcuts": "Shortcuts",
"title": "Title",
"filter": "Filter",
"tags": "Tags",
"yourself": "Yourself",
"archived-at": "Archived at",
"changed": "changed",
"update-on": "Update on",
"fold": "Fold",
"expand": "Expand",
"image": "Image",
"link": "Link",
"vacuum": "Vacuum",
"select": "Select",
"database": "Database"
},
"slogan": "An open-source, self-hosted memo hub with knowledge management and social networking.",
"auth": {
"signup-as-host": "Sign up as Host",
"host-tip": "You are registering as the Site Host.",
"not-host-tip": "If you don't have an account, please contact the site host."
},
"daily-review": {
"oops-nothing": "Oops, there is nothing."
},
"resources": {
"description": "View your static resources in memos. e.g. images",
"no-resources": "No resources.",
"fetching-data": "fetching data...",
"upload": "Upload",
"preview": "Preview",
"copy-link": "Copy Link",
"delete-resource": "Delete Resource",
"warning-text": "Are you sure to delete this resource? THIS ACTION IS IRREVERSIBLE❗",
"linked-amount": "Linked memo amount",
"rename": "Rename",
"clear": "Clear",
"warning-text-unused": "Are you sure to delete these unused resources? THIS ACTION IS IRREVERSIBLE❗",
"no-unused-resources": "No unused resources",
"name": "Name",
"delete-selected-resources": "Delete Selected Resources",
"no-files-selected": "No files selected❗",
"upload-successfully": "Upload successfully",
"file-drag-drop-prompt": "Drag and drop your file here to upload file",
"select": "Select",
"search-bar-placeholder": "Search resource",
"create-dialog": {
"title": "Create Resource",
"upload-method": "Upload method",
"local-file": {
"option": "Local file",
"choose": "Choose a file..."
},
"external-link": {
"option": "External link",
"link": "Link",
"file-name": "File name",
"file-name-placeholder": "File name",
"type": "Type",
"type-placeholder": "File type"
}
}
},
"archived": {
"archived-memos": "Archived Memos",
"no-archived-memos": "No archived memos.",
"fetching-data": "fetching data..."
},
"editor": {
"editing": "Editing...",
"cancel-edit": "Cancel edit",
"save": "Save",
"placeholder": "Any thoughts...",
"only-image-supported": "Only image file supported.",
"cant-empty": "Content can't be empty",
"local": "Local",
"resources": "Resources"
},
"memo": {
"view-detail": "View Detail",
"copy": "Copy",
"embed": "Embed memo",
"visibility": {
"private": "Only visible to you",
"protected": "Visible to members",
"public": "Everyone can see",
"disabled": "Public memos are disabled"
}
},
"memo-list": {
"fetching-data": "fetching data...",
"fetch-more": "Click here to fetch more"
},
"shortcut-list": {
"shortcut-title": "shortcut title",
"create-shortcut": "Create Shortcut",
"edit-shortcut": "Edit Shortcut",
"eligible-memo": "eligible memo",
"fill-previous": "Please fill in previous filter value",
"title-required": "Title is required",
"value-required": "Filter value is required"
},
"filter": {
"new-filter": "New Filter",
"type": {
"tag": "Tag",
"type": "Type",
"text": "Text",
"display-time": "Display Time",
"visibility": "Visibility"
},
"operator": {
"contains": "Contains",
"not-contains": "Does not contain",
"is": "Is",
"is-not": "Is Not",
"before": "Before",
"after": "After"
},
"value": {
"not-tagged": "No tags",
"linked": "Has links",
"has-attachment": "Has attachments"
},
"text-placeholder": "Starts with ^ to use regex"
},
"tag-list": {
"tip-text": "Input `#tag` to create",
"create-tag": "Create Tag",
"all-tags": "All Tags",
"tag-name": "TAG_NAME"
},
"search": {
"quickly-filter": "Quickly filter"
},
"search-bar": {
"input-placeholder": "Search memos"
},
"setting": {
"my-account": "My Account",
"preference": "Preferences",
"member": "Member",
"member-list": "Member list",
"system": "System",
"storage": "Storage",
"sso": "SSO",
"account-section": {
"title": "Account Information",
"update-information": "Update Information",
"change-password": "Change password"
},
"preference-section": {
"theme": "Theme",
"default-memo-visibility": "Default memo visibility",
"default-resource-visibility": "Default resource visibility",
"enable-folding-memo": "Enable folding memo",
"enable-double-click": "Enable double-click to edit",
"editor-font-style": "Editor font style",
"mobile-editor-style": "Mobile editor style",
"default-memo-sort-option": "Memo display time",
"created_ts": "Created Time",
"updated_ts": "Updated Time",
"daily-review-time-offset": "Daily Review Time Offset"
},
"storage-section": {
"storage-services-list": "Storage service list",
"create-a-service": "Create a service",
"update-a-service": "Update a service",
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
"delete-storage": "Delete Storage"
},
"member-section": {
"create-a-member": "Create a member"
},
"system-section": {
"server-name": "Server Name",
"customize-server": {
"title": "Customize Server",
"default": "Default is memos",
"icon-url": "Icon URL"
},
"database-file-size": "Database File Size",
"allow-user-signup": "Allow user signup",
"disable-public-memos": "Disable public memos",
"additional-style": "Additional style",
"additional-script": "Additional script",
"additional-style-placeholder": "Additional CSS code",
"additional-script-placeholder": "Additional JavaScript code"
},
"appearance-option": {
"system": "Follow system",
"light": "Always light",
"dark": "Always dark"
}
},
"amount-text": {
"memo_one": "MEMO",
"memo_other": "MEMOS",
"tag_one": "TAG",
"tag_other": "TAGS",
"day_one": "DAY",
"day_other": "DAYS"
},
"message": {
"no-memos": "no memos 🌃",
"memos-ready": "all memos are ready 🎉",
"no-resource": "no resource 🌃",
"resource-ready": "all resource are ready 🎉",
"restored-successfully": "Restored successfully",
"memo-updated-datetime": "Memo created datetime changed.",
"invalid-created-datetime": "Invalid created datetime.",
"change-memo-created-time": "Change memo created time",
"memo-not-found": "Memo not found.",
"fill-all": "Please fill in all fields.",
"password-not-match": "Passwords do not match.",
"new-password-not-match": "New passwords do not match.",
"image-load-failed": "Image load failed",
"fill-form": "Please fill out this form",
"login-failed": "Login failed",
"signup-failed": "Signup failed",
"user-not-found": "User not found",
"password-changed": "Password Changed",
"private-only": "This memo is private only.",
"copied": "Copied",
"succeed-copy-content": "Content copied successfully.",
"succeed-copy-code": "Code copied successfully.",
"succeed-copy-link": "Link copied successfully.",
"change-resource-filename": "Change resource filename",
"resource-filename-updated": "Resource filename changed.",
"invalid-resource-filename": "Invalid filename.",
"click-to-save-the-image": "Click to save the image",
"generating-the-screenshot": "Generating the screenshot...",
"count-selected-resources": "Total selected",
"too-short": "Too short",
"too-long": "Too long",
"not-allow-space": "Don't allow space",
"not-allow-chinese": "Don't allow chinese",
"succeed-vacuum-database": "Succeed to vacuum database",
"succeed-update-additional-style": "Additional style updated successfully.",
"succeed-copy-resource-link": "Resource link copied successfully.",
"succeed-update-customized-profile": "Profile successfully customized.",
"succeed-update-additional-script": "Additional script updated successfully.",
"update-succeed": "Update succeeded",
"page-not-found": "404 - Page Not Found 😥"
},
"days": {
"monday": "Monday",
"mon": "Mon",
"tuesday": "Tuesday",
"tue": "Tue",
"wednesday": "Wednesday",
"wed": "Wed",
"thursday": "Thursday",
"thu": "Thu",
"friday": "Friday",
"fri": "Fri",
"saturday": "Saturday",
"sat": "Sat",
"sunday": "Sunday",
"sun": "Sun"
},
"ask-ai": {
"title": "Ask AI",
"not-enabled": "You have not set up your OpenAI API key.",
"go-to-settings": "Go to settings",
"placeholder": "Ask anything…"
},
"embed-memo": {
"title": "Embed Memo",
"text": "Copy and paste the below codes into your blog or website.",
"only-public-supported": "* Only the public memo supports.",
"copy": "Copy"
},
"visibility": {
"PUBLIC": "PUBLIC",
"PROTECTED": "PROTECTED",
"PRIVATE": "PRIVATE"
}
}