chore: update common dialog default color

pull/2369/head
Steven 2 years ago
parent acdeabb861
commit 1489feb054

@ -22,7 +22,7 @@ const ArchivedMemo: React.FC<Props> = (props: Props) => {
showCommonDialog({ showCommonDialog({
title: t("memo.delete-memo"), title: t("memo.delete-memo"),
content: t("memo.delete-confirm"), content: t("memo.delete-confirm"),
style: "warning", style: "danger",
dialogName: "delete-memo-dialog", dialogName: "delete-memo-dialog",
onConfirm: async () => { onConfirm: async () => {
await memoStore.deleteMemoById(memo.id); await memoStore.deleteMemoById(memo.id);

@ -1,3 +1,4 @@
import { Button } from "@mui/joy";
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import { toast } from "react-hot-toast"; import { toast } from "react-hot-toast";
import { getNormalizedTimeString, getUnixTime } from "@/helpers/datetime"; import { getNormalizedTimeString, getUnixTime } from "@/helpers/datetime";
@ -69,10 +70,6 @@ const ChangeMemoCreatedTsDialog: React.FC<Props> = (props: Props) => {
</button> </button>
</div> </div>
<div className="flex flex-col justify-start items-start !w-72 max-w-full"> <div className="flex flex-col justify-start items-start !w-72 max-w-full">
<div className="w-full bg-yellow-100 border border-yellow-400 rounded p-2 text-black">
<p className="uppercase">{t("message.change-memo-created-time-warning-1")}</p>
<p>{t("message.change-memo-created-time-warning-2")}</p>
</div>
<input <input
className="input-text mt-2" className="input-text mt-2"
type="datetime-local" type="datetime-local"
@ -80,13 +77,13 @@ const ChangeMemoCreatedTsDialog: React.FC<Props> = (props: Props) => {
max={maxDatetimeValue} max={maxDatetimeValue}
onChange={handleDatetimeInputChange} onChange={handleDatetimeInputChange}
/> />
<div className="flex flex-row justify-end items-center mt-2 w-full"> <div className="flex flex-row justify-end items-center mt-4 w-full gap-x-2">
<span className="btn-text" onClick={handleCloseBtnClick}> <Button color="neutral" variant="plain" onClick={handleCloseBtnClick}>
{t("common.cancel")} {t("common.cancel")}
</span> </Button>
<span className="btn-primary" onClick={handleSaveBtnClick}> <Button color="primary" onClick={handleSaveBtnClick}>
{t("common.save")} {t("common.save")}
</span> </Button>
</div> </div>
</div> </div>
</> </>

@ -149,7 +149,7 @@ const Memo: React.FC<Props> = (props: Props) => {
showCommonDialog({ showCommonDialog({
title: t("memo.delete-memo"), title: t("memo.delete-memo"),
content: t("memo.delete-confirm"), content: t("memo.delete-confirm"),
style: "warning", style: "danger",
dialogName: "delete-memo-dialog", dialogName: "delete-memo-dialog",
onConfirm: async () => { onConfirm: async () => {
await memoStore.deleteMemoById(memo.id); await memoStore.deleteMemoById(memo.id);

@ -78,7 +78,7 @@ const PreferencesSection = () => {
showCommonDialog({ showCommonDialog({
title: t("setting.member-section.archive-member"), title: t("setting.member-section.archive-member"),
content: t("setting.member-section.archive-warning", { username: user.username }), content: t("setting.member-section.archive-warning", { username: user.username }),
style: "warning", style: "danger",
dialogName: "archive-user-dialog", dialogName: "archive-user-dialog",
onConfirm: async () => { onConfirm: async () => {
await userStore.patchUser({ await userStore.patchUser({
@ -102,7 +102,7 @@ const PreferencesSection = () => {
showCommonDialog({ showCommonDialog({
title: t("setting.member-section.delete-member"), title: t("setting.member-section.delete-member"),
content: t("setting.member-section.delete-warning", { username: user.username }), content: t("setting.member-section.delete-warning", { username: user.username }),
style: "warning", style: "danger",
dialogName: "delete-user-dialog", dialogName: "delete-user-dialog",
onConfirm: async () => { onConfirm: async () => {
await userStore.deleteUser({ await userStore.deleteUser({

@ -41,7 +41,7 @@ const SSOSection = () => {
showCommonDialog({ showCommonDialog({
title: t("setting.sso-section.delete-sso"), title: t("setting.sso-section.delete-sso"),
content: content, content: content,
style: "warning", style: "danger",
dialogName: "delete-identity-provider-dialog", dialogName: "delete-identity-provider-dialog",
onConfirm: async () => { onConfirm: async () => {
try { try {

@ -40,7 +40,7 @@ const StorageSection = () => {
showCommonDialog({ showCommonDialog({
title: t("setting.storage-section.delete-storage"), title: t("setting.storage-section.delete-storage"),
content: t("setting.storage-section.warning-text", { name: storage.name }), content: t("setting.storage-section.warning-text", { name: storage.name }),
style: "warning", style: "danger",
dialogName: "delete-storage-dialog", dialogName: "delete-storage-dialog",
onConfirm: async () => { onConfirm: async () => {
try { try {

@ -88,7 +88,7 @@ const SystemSection = () => {
showCommonDialog({ showCommonDialog({
title: t("setting.system-section.enable-password-login"), title: t("setting.system-section.enable-password-login"),
content: t("setting.system-section.enable-password-login-warning"), content: t("setting.system-section.enable-password-login-warning"),
style: "warning", style: "danger",
dialogName: "enable-password-login-dialog", dialogName: "enable-password-login-dialog",
onConfirm: async () => { onConfirm: async () => {
setState({ ...state, disablePasswordLogin: value }); setState({ ...state, disablePasswordLogin: value });

@ -1,373 +1,371 @@
{ {
"common": { "common": {
"about": "About", "about": "About",
"home": "Home", "home": "Home",
"resources": "Resources", "resources": "Resources",
"settings": "Settings", "settings": "Settings",
"archived": "Archived", "archived": "Archived",
"email": "Email", "email": "Email",
"password": "Password", "password": "Password",
"avatar": "Avatar", "avatar": "Avatar",
"username": "Username", "username": "Username",
"nickname": "Nickname", "nickname": "Nickname",
"save": "Save", "save": "Save",
"close": "Close", "close": "Close",
"cancel": "Cancel", "cancel": "Cancel",
"create": "Create", "create": "Create",
"update": "Update", "update": "Update",
"change": "Change", "change": "Change",
"confirm": "Confirm", "confirm": "Confirm",
"reset": "Reset", "reset": "Reset",
"language": "Language", "language": "Language",
"version": "Version", "version": "Version",
"pin": "Pin", "pin": "Pin",
"unpin": "Unpin", "unpin": "Unpin",
"edit": "Edit", "edit": "Edit",
"restore": "Restore", "restore": "Restore",
"delete": "Delete", "delete": "Delete",
"null": "Null", "null": "Null",
"share": "Share", "share": "Share",
"archive": "Archive", "archive": "Archive",
"basic": "Basic", "basic": "Basic",
"admin": "Admin", "admin": "Admin",
"explore": "Explore", "explore": "Explore",
"sign-in": "Sign in", "sign-in": "Sign in",
"sign-in-with": "Sign in with {{provider}}", "sign-in-with": "Sign in with {{provider}}",
"or": "or", "or": "or",
"sign-up": "Sign up", "sign-up": "Sign up",
"sign-out": "Sign out", "sign-out": "Sign out",
"type": "Type", "type": "Type",
"title": "Title", "title": "Title",
"filter": "Filter", "filter": "Filter",
"filter-period": "{{from}} to {{to}}", "filter-period": "{{from}} to {{to}}",
"tags": "Tags", "tags": "Tags",
"yourself": "Yourself", "yourself": "Yourself",
"changed": "changed", "changed": "changed",
"fold": "Fold", "fold": "Fold",
"expand": "Expand", "expand": "Expand",
"image": "Image", "image": "Image",
"link": "Link", "link": "Link",
"vacuum": "Vacuum", "vacuum": "Vacuum",
"select": "Select", "select": "Select",
"database": "Database", "database": "Database",
"upload": "Upload", "upload": "Upload",
"preview": "Preview", "preview": "Preview",
"rename": "Rename", "rename": "Rename",
"clear": "Clear", "clear": "Clear",
"name": "Name", "name": "Name",
"visibility": "Visibility", "visibility": "Visibility",
"learn-more": "Learn more", "learn-more": "Learn more",
"beta": "Beta", "beta": "Beta",
"new": "New", "new": "New",
"mark": "Mark", "mark": "Mark",
"profile": "Profile" "profile": "Profile"
}, },
"router": { "router": {
"go-to-home": "Go to Home", "go-to-home": "Go to Home",
"back-to-top": "Back to Top" "back-to-top": "Back to Top"
}, },
"auth": { "auth": {
"create-your-account": "Create your account", "create-your-account": "Create your account",
"sign-up-tip": "Don't have an account yet?", "sign-up-tip": "Don't have an account yet?",
"sign-in-tip": "Already has an account?", "sign-in-tip": "Already has an account?",
"host-tip": "You are registering as the Site Host.", "host-tip": "You are registering as the Site Host.",
"new-password": "New password", "new-password": "New password",
"repeat-new-password": "Repeat the new password" "repeat-new-password": "Repeat the new password"
}, },
"editor": { "editor": {
"editing": "Editing...", "editing": "Editing...",
"cancel-edit": "Cancel edit", "cancel-edit": "Cancel edit",
"save": "Save", "save": "Save",
"placeholder": "Any thoughts...", "placeholder": "Any thoughts...",
"only-image-supported": "Only image file supported.", "only-image-supported": "Only image file supported.",
"cant-empty": "Content can't be empty", "cant-empty": "Content can't be empty",
"local": "Local", "local": "Local",
"resources": "Resources" "resources": "Resources"
}, },
"memo": { "memo": {
"view-detail": "View Detail", "view-detail": "View Detail",
"copy-link": "Copy Link", "copy-link": "Copy Link",
"embed": "Embed", "embed": "Embed",
"archived-memos": "Archived Memos", "archived-memos": "Archived Memos",
"no-archived-memos": "No archived memos.", "no-archived-memos": "No archived memos.",
"fetching-data": "Fetching data…", "fetching-data": "Fetching data…",
"fetch-more": "Click here to fetch more", "fetch-more": "Click here to fetch more",
"archived-at": "Archived at", "archived-at": "Archived at",
"search-placeholder": "Search memos", "search-placeholder": "Search memos",
"visibility": { "visibility": {
"private": "Private", "private": "Private",
"protected": "Workspace", "protected": "Workspace",
"public": "Public", "public": "Public",
"disabled": "Public memos are disabled" "disabled": "Public memos are disabled"
},
"delete-memo": "Delete Memo",
"delete-confirm": "Are you sure you want to delete this memo?\n\nTHIS ACTION IS IRREVERSIBLE",
"comment": {
"self": "Comments",
"no-comment": "No comment"
}
},
"resource": {
"no-resources": "No resources.",
"fetching-data": "Fetching data…",
"copy-link": "Copy Link",
"reset-link": "Reset Link",
"reset-resource-link": "Reset Resource Link",
"reset-link-prompt": "Are you sure to reset the link?\nThis will break all current link usages.\n\nTHIS ACTION IS IRREVERSIBLE",
"delete-resource": "Delete Resource",
"linked-amount": "Linked amount",
"warning-text": "Are you sure to delete this resource?\n\nTHIS ACTION IS IRREVERSIBLE",
"warning-text-unused": "Are you sure to delete these unused resources?\n\nTHIS ACTION IS IRREVERSIBLE",
"no-unused-resources": "No unused resources",
"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",
"search-bar-placeholder": "Search resource",
"clear": "Clear",
"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",
"link-placeholder": "https://the.link.to/your/resource",
"file-name": "File name",
"file-name-placeholder": "File name",
"type": "Type",
"type-placeholder": "File type"
}
}
}, },
"tag-list": { "delete-memo": "Delete Memo",
"tip-text": "Input `#tag` to create", "delete-confirm": "Are you sure you want to delete this memo?\n\nTHIS ACTION IS IRREVERSIBLE",
"create-tag": "Create Tag", "comment": {
"all-tags": "All Tags", "self": "Comments",
"tag-name": "TAG_NAME", "no-comment": "No comment"
"invalid-tag-name": "Invalid tag name", }
"tag-suggestions": "Tag suggestions", },
"show": "Show", "resource": {
"hide": "Hide", "no-resources": "No resources.",
"save-all": "Save all" "fetching-data": "Fetching data…",
}, "copy-link": "Copy Link",
"daily-review": { "reset-link": "Reset Link",
"title": "Daily Review", "reset-resource-link": "Reset Resource Link",
"no-memos": "Oops, there is nothing." "reset-link-prompt": "Are you sure to reset the link?\nThis will break all current link usages.\n\nTHIS ACTION IS IRREVERSIBLE",
}, "delete-resource": "Delete Resource",
"setting": { "linked-amount": "Linked amount",
"my-account": "My Account", "warning-text": "Are you sure to delete this resource?\n\nTHIS ACTION IS IRREVERSIBLE",
"preference": "Preferences", "warning-text-unused": "Are you sure to delete these unused resources?\n\nTHIS ACTION IS IRREVERSIBLE",
"member": "Member", "no-unused-resources": "No unused resources",
"member-list": "Member list", "delete-selected-resources": "Delete Selected Resources",
"system": "System", "no-files-selected": "No files selected",
"storage": "Storage", "upload-successfully": "Upload successfully",
"sso": "SSO", "file-drag-drop-prompt": "Drag and drop your file here to upload file",
"account-section": { "search-bar-placeholder": "Search resource",
"title": "Account Information", "clear": "Clear",
"username-note": "Used to sign in", "create-dialog": {
"nickname-note": "Displayed in the banner", "title": "Create Resource",
"email-note": "Optional", "upload-method": "Upload method",
"update-information": "Update Information", "local-file": {
"change-password": "Change password", "option": "Local file",
"reset-api": "Reset API", "choose": "Choose a file…"
"openapi-title": "OpenAPI", },
"openapi-reset": "Reset OpenAPI Key", "external-link": {
"openapi-sample-post": "Hello #memos from {{url}}" "option": "External link",
}, "link": "Link",
"preference-section": { "link-placeholder": "https://the.link.to/your/resource",
"theme": "Theme", "file-name": "File name",
"default-memo-visibility": "Default memo visibility", "file-name-placeholder": "File name",
"default-resource-visibility": "Default resource visibility", "type": "Type",
"enable-folding-memo": "Enable folding memo", "type-placeholder": "File type"
"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", "tag-list": {
"telegram-user-id": "Telegram UserID", "tip-text": "Input `#tag` to create",
"telegram-user-id-placeholder": "Send any words to your Telegram Bot as a memo", "create-tag": "Create Tag",
"created_ts": "Created Time", "all-tags": "All Tags",
"updated_ts": "Updated Time", "tag-name": "TAG_NAME",
"daily-review-time-offset": "Daily Review Time Offset", "invalid-tag-name": "Invalid tag name",
"auto-collapse": "Auto Collapse" "tag-suggestions": "Tag suggestions",
}, "show": "Show",
"storage-section": { "hide": "Hide",
"current-storage": "Current object storage", "save-all": "Save all"
"type-database": "Database", },
"type-local": "Local file system", "daily-review": {
"storage-services-list": "Storage service list", "title": "Daily Review",
"create-a-service": "Create a service", "no-memos": "Oops, there is nothing."
"update-a-service": "Update a service", },
"warning-text": "Are you sure to delete storage service \"{{name}}\"?\n\nTHIS ACTION IS IRREVERSIBLE", "setting": {
"delete-storage": "Delete Storage", "my-account": "My Account",
"local-storage-path": "Local storage path", "preference": "Preferences",
"update-local-path": "Update Local Storage Path", "member": "Member",
"update-local-path-description": "Local storage path is a relative path to your database file", "member-list": "Member list",
"create-storage": "Create Storage", "system": "System",
"update-storage": "Update Storage", "storage": "Storage",
"endpoint": "Endpoint", "sso": "SSO",
"s3-compatible-url": "S3 Compatible URL", "account-section": {
"region": "Region", "title": "Account Information",
"region-placeholder": "Region name", "username-note": "Used to sign in",
"accesskey": "Access key", "nickname-note": "Displayed in the banner",
"accesskey-placeholder": "Access key / Access ID", "email-note": "Optional",
"secretkey": "Secret key", "update-information": "Update Information",
"secretkey-placeholder": "Secret key / Access Key", "change-password": "Change password",
"bucket": "Bucket", "reset-api": "Reset API",
"bucket-placeholder": "Bucket name", "openapi-title": "OpenAPI",
"path": "Storage Path", "openapi-reset": "Reset OpenAPI Key",
"path-description": "You can use the same dynamic variables from local storage, like {filename}", "openapi-sample-post": "Hello #memos from {{url}}"
"path-placeholder": "custom/path",
"url-prefix": "URL prefix",
"url-prefix-placeholder": "Custom URL prefix, optional",
"url-suffix": "URL suffix",
"url-suffix-placeholder": "Custom URL suffix, optional"
},
"member-section": {
"create-a-member": "Create a member",
"archive-member": "Archive member",
"archive-warning": "Are you sure to archive {{username}}?",
"delete-member": "Delete Member",
"delete-warning": "Are you sure to delete {{username}}?\n\nTHIS ACTION IS IRREVERSIBLE"
},
"system-section": {
"server-name": "Server Name",
"customize-server": {
"title": "Customize Server",
"default": "Default is memos",
"icon-url": "Icon URL",
"description": "Description",
"locale": "Server Locale",
"appearance": "Server Appearance"
},
"database-file-size": "Database File Size",
"allow-user-signup": "Allow user signup",
"disable-password-login": "Disable password login",
"disable-password-login-warning": "This will disable password login for all users. It is not possible to log in without reverting this setting in the database if your configured identity providers fail. Youll also have to be extra carefull when removing an identity provider",
"disable-password-login-final-warning": "Please type \"CONFIRM\" if you know what you are doing.",
"enable-password-login": "Enable password login",
"enable-password-login-warning": "This will enable password login for all users. Continue only if you want to users to be able to log in using both SSO and password",
"ignore-version-upgrade": "Ignore version upgrade",
"disable-public-memos": "Disable public memos",
"max-upload-size": "Maximum upload size (MiB)",
"max-upload-size-hint": "Recommended value is 32 MiB.",
"auto-backup-interval": "Auto backup interval (seconds)",
"auto-backup-interval-hint": "Set 0 to disable auto backup. Reboot is required after changing this value.",
"additional-style": "Additional style",
"additional-script": "Additional script",
"additional-style-placeholder": "Additional CSS code",
"additional-script-placeholder": "Additional JavaScript code",
"telegram-bot-token": "Telegram Bot Token",
"telegram-bot-token-description": "Telegram Bot Token or API Proxy like `http…/bot<token>`",
"telegram-bot-token-placeholder": "Your Telegram Bot token",
"display-with-updated-time": "Display with updated time"
},
"appearance-option": {
"system": "Follow system",
"light": "Always light",
"dark": "Always dark"
},
"sso-section": {
"sso-list": "SSO List",
"delete-sso": "Confirm delete",
"confirm-delete": "Are you sure to delete \"{{name}}\" SSO configuration?\n\nTHIS ACTION IS IRREVERSIBLE",
"create-sso": "Create SSO",
"update-sso": "Update SSO",
"sso-created": "SSO {{name}} created",
"sso-updated": "SSO {{name}} updated",
"identifier": "Identifier",
"display-name": "Display Name",
"template": "Template",
"custom": "Custom",
"identifier-filter": "Identifier Filter",
"redirect-url": "Redirect URL",
"client-id": "Client ID",
"client-secret": "Client secret",
"authorization-endpoint": "Authorization endpoint",
"token-endpoint": "Token endpoint",
"user-endpoint": "User endpoint",
"scopes": "Scopes",
"disabled-password-login-warning": "Password-login is disabled, be extra careful when removing identity providers"
}
}, },
"amount-text": { "preference-section": {
"memo": "MEMO" "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",
"telegram-user-id": "Telegram UserID",
"telegram-user-id-placeholder": "Send any words to your Telegram Bot as a memo",
"created_ts": "Created Time",
"updated_ts": "Updated Time",
"daily-review-time-offset": "Daily Review Time Offset",
"auto-collapse": "Auto Collapse"
}, },
"days": { "storage-section": {
"mon": "Mon", "current-storage": "Current object storage",
"tue": "Tue", "type-database": "Database",
"wed": "Wed", "type-local": "Local file system",
"thu": "Thu", "storage-services-list": "Storage service list",
"fri": "Fri", "create-a-service": "Create a service",
"sat": "Sat", "update-a-service": "Update a service",
"sun": "Sun" "warning-text": "Are you sure to delete storage service \"{{name}}\"?\n\nTHIS ACTION IS IRREVERSIBLE",
"delete-storage": "Delete Storage",
"local-storage-path": "Local storage path",
"update-local-path": "Update Local Storage Path",
"update-local-path-description": "Local storage path is a relative path to your database file",
"create-storage": "Create Storage",
"update-storage": "Update Storage",
"endpoint": "Endpoint",
"s3-compatible-url": "S3 Compatible URL",
"region": "Region",
"region-placeholder": "Region name",
"accesskey": "Access key",
"accesskey-placeholder": "Access key / Access ID",
"secretkey": "Secret key",
"secretkey-placeholder": "Secret key / Access Key",
"bucket": "Bucket",
"bucket-placeholder": "Bucket name",
"path": "Storage Path",
"path-description": "You can use the same dynamic variables from local storage, like {filename}",
"path-placeholder": "custom/path",
"url-prefix": "URL prefix",
"url-prefix-placeholder": "Custom URL prefix, optional",
"url-suffix": "URL suffix",
"url-suffix-placeholder": "Custom URL suffix, optional"
}, },
"embed-memo": { "member-section": {
"title": "Embed Memo", "create-a-member": "Create a member",
"text": "Copy and paste the below code into your blog or website.", "archive-member": "Archive member",
"only-public-supported": "* Only public memos can be embedded.", "archive-warning": "Are you sure to archive {{username}}?",
"copy": "Copy" "delete-member": "Delete Member",
"delete-warning": "Are you sure to delete {{username}}?\n\nTHIS ACTION IS IRREVERSIBLE"
}, },
"heatmap": { "system-section": {
"memo-in": "memo in {{period}}", "server-name": "Server Name",
"memos-in": "memos in {{period}}", "customize-server": {
"memo-on": "{{amount}} memo on {{date}}", "title": "Customize Server",
"memos-on": "{{amount}} memos on {{date}}", "default": "Default is memos",
"day": "day", "icon-url": "Icon URL",
"days": "days" "description": "Description",
"locale": "Server Locale",
"appearance": "Server Appearance"
},
"database-file-size": "Database File Size",
"allow-user-signup": "Allow user signup",
"disable-password-login": "Disable password login",
"disable-password-login-warning": "This will disable password login for all users. It is not possible to log in without reverting this setting in the database if your configured identity providers fail. Youll also have to be extra carefull when removing an identity provider",
"disable-password-login-final-warning": "Please type \"CONFIRM\" if you know what you are doing.",
"enable-password-login": "Enable password login",
"enable-password-login-warning": "This will enable password login for all users. Continue only if you want to users to be able to log in using both SSO and password",
"ignore-version-upgrade": "Ignore version upgrade",
"disable-public-memos": "Disable public memos",
"max-upload-size": "Maximum upload size (MiB)",
"max-upload-size-hint": "Recommended value is 32 MiB.",
"auto-backup-interval": "Auto backup interval (seconds)",
"auto-backup-interval-hint": "Set 0 to disable auto backup. Reboot is required after changing this value.",
"additional-style": "Additional style",
"additional-script": "Additional script",
"additional-style-placeholder": "Additional CSS code",
"additional-script-placeholder": "Additional JavaScript code",
"telegram-bot-token": "Telegram Bot Token",
"telegram-bot-token-description": "Telegram Bot Token or API Proxy like `http…/bot<token>`",
"telegram-bot-token-placeholder": "Your Telegram Bot token",
"display-with-updated-time": "Display with updated time"
}, },
"about": { "appearance-option": {
"about-memos": "About memos", "system": "Follow system",
"memos-description": "memos is a web-based note-taking application that you can use to write, organize, and share notes.", "light": "Always light",
"no-server-description": "No description configured for this server.", "dark": "Always dark"
"powered-by": "Powered by",
"other-projects": "Other Projects"
}, },
"message": { "sso-section": {
"no-data": "No data found.", "sso-list": "SSO List",
"memos-ready": "all memos are ready", "delete-sso": "Confirm delete",
"resource-ready": "all resource are ready", "confirm-delete": "Are you sure to delete \"{{name}}\" SSO configuration?\n\nTHIS ACTION IS IRREVERSIBLE",
"restored-successfully": "Restored successfully", "create-sso": "Create SSO",
"memo-updated-datetime": "Memo created datetime changed.", "update-sso": "Update SSO",
"invalid-created-datetime": "Invalid created datetime.", "sso-created": "SSO {{name}} created",
"change-memo-created-time": "Change memo created time", "sso-updated": "SSO {{name}} updated",
"change-memo-created-time-warning-1": "THIS IS NOT A NORMAL BEHAVIOR.", "identifier": "Identifier",
"change-memo-created-time-warning-2": "Please make sure you really need it.", "display-name": "Display Name",
"memo-not-found": "Memo not found.", "template": "Template",
"fill-all": "Please fill in all fields.", "custom": "Custom",
"password-not-match": "Passwords do not match.", "identifier-filter": "Identifier Filter",
"new-password-not-match": "New passwords do not match.", "redirect-url": "Redirect URL",
"image-load-failed": "Image load failed", "client-id": "Client ID",
"fill-form": "Please fill out this form", "client-secret": "Client secret",
"fill-server-name": "Please fill in the server name", "authorization-endpoint": "Authorization endpoint",
"login-failed": "Login failed", "token-endpoint": "Token endpoint",
"signup-failed": "Signup failed", "user-endpoint": "User endpoint",
"user-not-found": "User not found", "scopes": "Scopes",
"password-changed": "Password Changed", "disabled-password-login-warning": "Password-login is disabled, be extra careful when removing identity providers"
"private-only": "This memo is set to private.",
"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",
"succeed-vacuum-database": "Successfully vacuumed 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",
"maximum-upload-size-is": "Maximum allowed upload size is {{size}} MiB",
"file-exceeds-upload-limit-of": "File {{file}} exceeds upload limit of {{size}} MiB",
"updating-setting-failed": "Updating setting failed",
"password-login-disabled": "Can't remove last identity provider when password login is disabled"
} }
},
"amount-text": {
"memo": "MEMO"
},
"days": {
"mon": "Mon",
"tue": "Tue",
"wed": "Wed",
"thu": "Thu",
"fri": "Fri",
"sat": "Sat",
"sun": "Sun"
},
"embed-memo": {
"title": "Embed Memo",
"text": "Copy and paste the below code into your blog or website.",
"only-public-supported": "* Only public memos can be embedded.",
"copy": "Copy"
},
"heatmap": {
"memo-in": "memo in {{period}}",
"memos-in": "memos in {{period}}",
"memo-on": "{{amount}} memo on {{date}}",
"memos-on": "{{amount}} memos on {{date}}",
"day": "day",
"days": "days"
},
"about": {
"about-memos": "About memos",
"memos-description": "memos is a web-based note-taking application that you can use to write, organize, and share notes.",
"no-server-description": "No description configured for this server.",
"powered-by": "Powered by",
"other-projects": "Other Projects"
},
"message": {
"no-data": "No data found.",
"memos-ready": "all memos are ready",
"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",
"fill-server-name": "Please fill in the server name",
"login-failed": "Login failed",
"signup-failed": "Signup failed",
"user-not-found": "User not found",
"password-changed": "Password Changed",
"private-only": "This memo is set to private.",
"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",
"succeed-vacuum-database": "Successfully vacuumed 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",
"maximum-upload-size-is": "Maximum allowed upload size is {{size}} MiB",
"file-exceeds-upload-limit-of": "File {{file}} exceeds upload limit of {{size}} MiB",
"updating-setting-failed": "Updating setting failed",
"password-login-disabled": "Can't remove last identity provider when password login is disabled"
}
} }

Loading…
Cancel
Save