mirror of
https://github.com/usememos/memos.git
synced 2024-12-24 20:01:48 +03:00
chore: fix typo (#1355)
This commit is contained in:
parent
29f784cc20
commit
7f30e2e6ff
@ -15,11 +15,11 @@ const AppearanceSelect: FC<Props> = (props: Props) => {
|
|||||||
const { onChange, value, className } = props;
|
const { onChange, value, className } = props;
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const getPrefixIcon = (apperance: Appearance) => {
|
const getPrefixIcon = (appearance: Appearance) => {
|
||||||
const className = "w-4 h-auto";
|
const className = "w-4 h-auto";
|
||||||
if (apperance === "light") {
|
if (appearance === "light") {
|
||||||
return <Icon.Sun className={className} />;
|
return <Icon.Sun className={className} />;
|
||||||
} else if (apperance === "dark") {
|
} else if (appearance === "dark") {
|
||||||
return <Icon.Moon className={className} />;
|
return <Icon.Moon className={className} />;
|
||||||
} else {
|
} else {
|
||||||
return <Icon.Smile className={className} />;
|
return <Icon.Smile className={className} />;
|
||||||
@ -43,7 +43,7 @@ const AppearanceSelect: FC<Props> = (props: Props) => {
|
|||||||
>
|
>
|
||||||
{appearanceList.map((item) => (
|
{appearanceList.map((item) => (
|
||||||
<Option key={item} value={item} className="whitespace-nowrap">
|
<Option key={item} value={item} className="whitespace-nowrap">
|
||||||
{t(`setting.apperance-option.${item}`)}
|
{t(`setting.appearance-option.${item}`)}
|
||||||
</Option>
|
</Option>
|
||||||
))}
|
))}
|
||||||
</Select>
|
</Select>
|
||||||
|
@ -101,7 +101,7 @@ const PreferencesSection = () => {
|
|||||||
const handleDeleteUserClick = (user: User) => {
|
const handleDeleteUserClick = (user: User) => {
|
||||||
showCommonDialog({
|
showCommonDialog({
|
||||||
title: `Delete Member`,
|
title: `Delete Member`,
|
||||||
content: `Are you sure to delete ${user.username}? THIS ACTION IS IRREVERSIABLE.❗️`,
|
content: `Are you sure to delete ${user.username}? THIS ACTION IS IRREVERSIBLE.❗️`,
|
||||||
style: "warning",
|
style: "warning",
|
||||||
dialogName: "delete-user-dialog",
|
dialogName: "delete-user-dialog",
|
||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
|
@ -24,7 +24,7 @@ const SSOSection = () => {
|
|||||||
const handleDeleteIdentityProvider = async (identityProvider: IdentityProvider) => {
|
const handleDeleteIdentityProvider = async (identityProvider: IdentityProvider) => {
|
||||||
showCommonDialog({
|
showCommonDialog({
|
||||||
title: "Confirm delete",
|
title: "Confirm delete",
|
||||||
content: "Are you sure to delete this SSO? THIS ACTION IS IRREVERSIABLE❗",
|
content: "Are you sure to delete this SSO? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
style: "warning",
|
style: "warning",
|
||||||
dialogName: "delete-identity-provider-dialog",
|
dialogName: "delete-identity-provider-dialog",
|
||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Zusätzliches JavaScript",
|
"additional-script-placeholder": "Zusätzliches JavaScript",
|
||||||
"disable-public-memos": "Disable public memos"
|
"disable-public-memos": "Disable public memos"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "System",
|
"system": "System",
|
||||||
"light": "Hell",
|
"light": "Hell",
|
||||||
"dark": "Dunkel"
|
"dark": "Dunkel"
|
||||||
@ -200,7 +200,7 @@
|
|||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service",
|
"create-a-service": "Create a service",
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"delete-storage": "Delete Storage"
|
"delete-storage": "Delete Storage"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -196,7 +196,7 @@
|
|||||||
"additional-style-placeholder": "Additional CSS code",
|
"additional-style-placeholder": "Additional CSS code",
|
||||||
"additional-script-placeholder": "Additional JavaScript code"
|
"additional-script-placeholder": "Additional JavaScript code"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Follow system",
|
"system": "Follow system",
|
||||||
"light": "Always light",
|
"light": "Always light",
|
||||||
"dark": "Always dark"
|
"dark": "Always dark"
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Código JavaScript adicional",
|
"additional-script-placeholder": "Código JavaScript adicional",
|
||||||
"disable-public-memos": "Deshabilitar notas públicas"
|
"disable-public-memos": "Deshabilitar notas públicas"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Según el sistema",
|
"system": "Según el sistema",
|
||||||
"light": "Siempre claro",
|
"light": "Siempre claro",
|
||||||
"dark": "Siempre oscuro"
|
"dark": "Siempre oscuro"
|
||||||
|
@ -194,11 +194,11 @@
|
|||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service",
|
"create-a-service": "Create a service",
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗"
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗"
|
||||||
},
|
},
|
||||||
"storage": "Storage",
|
"storage": "Storage",
|
||||||
"sso": "SSO",
|
"sso": "SSO",
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Follow system",
|
"system": "Follow system",
|
||||||
"light": "Always light",
|
"light": "Always light",
|
||||||
"dark": "Always dark"
|
"dark": "Always dark"
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Codice JavaScript aggiuntivo",
|
"additional-script-placeholder": "Codice JavaScript aggiuntivo",
|
||||||
"disable-public-memos": "Disable public memos"
|
"disable-public-memos": "Disable public memos"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Sistema",
|
"system": "Sistema",
|
||||||
"light": "Chiaro",
|
"light": "Chiaro",
|
||||||
"dark": "Scuro"
|
"dark": "Scuro"
|
||||||
@ -200,7 +200,7 @@
|
|||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service",
|
"create-a-service": "Create a service",
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"delete-storage": "Delete Storage"
|
"delete-storage": "Delete Storage"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -206,7 +206,7 @@
|
|||||||
"additional-style-placeholder": "추가적인 CSS 코드",
|
"additional-style-placeholder": "추가적인 CSS 코드",
|
||||||
"additional-script-placeholder": "추가적인 JavaScript 코드"
|
"additional-script-placeholder": "추가적인 JavaScript 코드"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "시스템 설정을 따름",
|
"system": "시스템 설정을 따름",
|
||||||
"light": "항상 밝게",
|
"light": "항상 밝게",
|
||||||
"dark": "항상 어둡게"
|
"dark": "항상 어둡게"
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Optionele JavaScript code",
|
"additional-script-placeholder": "Optionele JavaScript code",
|
||||||
"disable-public-memos": "Openbare memos uitzetten"
|
"disable-public-memos": "Openbare memos uitzetten"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"light": "Altijd licht",
|
"light": "Altijd licht",
|
||||||
"dark": "Altijd donker",
|
"dark": "Altijd donker",
|
||||||
"system": "Volg systeem"
|
"system": "Volg systeem"
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
"additional-style-placeholder": "Dodatkowy kod CSS",
|
"additional-style-placeholder": "Dodatkowy kod CSS",
|
||||||
"additional-script-placeholder": "Dodatkowy kod JavaScript"
|
"additional-script-placeholder": "Dodatkowy kod JavaScript"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Systemowy",
|
"system": "Systemowy",
|
||||||
"light": "Zawsze jasny",
|
"light": "Zawsze jasny",
|
||||||
"dark": "Zawsze ciemny"
|
"dark": "Zawsze ciemny"
|
||||||
|
@ -72,13 +72,13 @@
|
|||||||
"fetching-data": "fetching data...",
|
"fetching-data": "fetching data...",
|
||||||
"upload": "Enviar",
|
"upload": "Enviar",
|
||||||
"preview": "Pré-visualizar",
|
"preview": "Pré-visualizar",
|
||||||
"warning-text": "Are you sure to delete this resource? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this resource? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"copy-link": "Copiar Link",
|
"copy-link": "Copiar Link",
|
||||||
"delete-resource": "Delete Resource",
|
"delete-resource": "Delete Resource",
|
||||||
"linked-amount": "Linked memo amount",
|
"linked-amount": "Linked memo amount",
|
||||||
"rename": "Renomear",
|
"rename": "Renomear",
|
||||||
"clear": "Limpar",
|
"clear": "Limpar",
|
||||||
"warning-text-unused": "Are you sure to delete these unused resource? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text-unused": "Are you sure to delete these unused resource? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"no-unused-resources": "No unused resources",
|
"no-unused-resources": "No unused resources",
|
||||||
"name": "Nome"
|
"name": "Nome"
|
||||||
},
|
},
|
||||||
@ -177,7 +177,7 @@
|
|||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service",
|
"create-a-service": "Create a service",
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"delete-storage": "Delete Storage"
|
"delete-storage": "Delete Storage"
|
||||||
},
|
},
|
||||||
"member-section": {
|
"member-section": {
|
||||||
@ -198,7 +198,7 @@
|
|||||||
"additional-style-placeholder": "Additional CSS codes",
|
"additional-style-placeholder": "Additional CSS codes",
|
||||||
"additional-script-placeholder": "Additional JavaScript codes"
|
"additional-script-placeholder": "Additional JavaScript codes"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Follow system",
|
"system": "Follow system",
|
||||||
"light": "Always light",
|
"light": "Always light",
|
||||||
"dark": "Always dark"
|
"dark": "Always dark"
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Настраиваемый код JavaScript",
|
"additional-script-placeholder": "Настраиваемый код JavaScript",
|
||||||
"disable-public-memos": "Disable public memos"
|
"disable-public-memos": "Disable public memos"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Системная",
|
"system": "Системная",
|
||||||
"light": "Светлая",
|
"light": "Светлая",
|
||||||
"dark": "Тёмная"
|
"dark": "Тёмная"
|
||||||
@ -200,7 +200,7 @@
|
|||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service",
|
"create-a-service": "Create a service",
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"delete-storage": "Delete Storage"
|
"delete-storage": "Delete Storage"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Ytterligare JavaScript kod",
|
"additional-script-placeholder": "Ytterligare JavaScript kod",
|
||||||
"disable-public-memos": "Inaktivera offentliga anteckningar"
|
"disable-public-memos": "Inaktivera offentliga anteckningar"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Follow system",
|
"system": "Follow system",
|
||||||
"light": "Alltid ljus",
|
"light": "Alltid ljus",
|
||||||
"dark": "Alltid mörk"
|
"dark": "Alltid mörk"
|
||||||
|
@ -179,7 +179,7 @@
|
|||||||
"additional-script-placeholder": "Ek JavaScript",
|
"additional-script-placeholder": "Ek JavaScript",
|
||||||
"disable-public-memos": "Halka açık notları devre dışı bırak"
|
"disable-public-memos": "Halka açık notları devre dışı bırak"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Otomatik",
|
"system": "Otomatik",
|
||||||
"light": "Her zaman açık renkli",
|
"light": "Her zaman açık renkli",
|
||||||
"dark": "Her zaman koyu renkli"
|
"dark": "Her zaman koyu renkli"
|
||||||
|
@ -189,7 +189,7 @@
|
|||||||
"additional-script-placeholder": "Додатковий JavaScript",
|
"additional-script-placeholder": "Додатковий JavaScript",
|
||||||
"disable-public-memos": "Disable public memos"
|
"disable-public-memos": "Disable public memos"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Автоматично",
|
"system": "Автоматично",
|
||||||
"light": "Завжди світла",
|
"light": "Завжди світла",
|
||||||
"dark": "Завжди темна"
|
"dark": "Завжди темна"
|
||||||
@ -197,7 +197,7 @@
|
|||||||
"storage": "Storage",
|
"storage": "Storage",
|
||||||
"storage-section": {
|
"storage-section": {
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"delete-storage": "Delete Storage",
|
"delete-storage": "Delete Storage",
|
||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service"
|
"create-a-service": "Create a service"
|
||||||
|
@ -195,10 +195,10 @@
|
|||||||
"storage-services-list": "Storage service list",
|
"storage-services-list": "Storage service list",
|
||||||
"create-a-service": "Create a service",
|
"create-a-service": "Create a service",
|
||||||
"update-a-service": "Update a service",
|
"update-a-service": "Update a service",
|
||||||
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIABLE❗",
|
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
|
||||||
"delete-storage": "Delete Storage"
|
"delete-storage": "Delete Storage"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "Follow system",
|
"system": "Follow system",
|
||||||
"light": "Always light",
|
"light": "Always light",
|
||||||
"dark": "Always dark"
|
"dark": "Always dark"
|
||||||
|
@ -195,7 +195,7 @@
|
|||||||
"additional-script-placeholder": "自定義 JavaScript 代碼",
|
"additional-script-placeholder": "自定義 JavaScript 代碼",
|
||||||
"disable-public-memos": "禁用公共memos"
|
"disable-public-memos": "禁用公共memos"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "跟隨系統",
|
"system": "跟隨系統",
|
||||||
"light": "總是淺色",
|
"light": "總是淺色",
|
||||||
"dark": "總是深色"
|
"dark": "總是深色"
|
||||||
|
@ -195,7 +195,7 @@
|
|||||||
"additional-script-placeholder": "自定义 JavaScript 代码",
|
"additional-script-placeholder": "自定义 JavaScript 代码",
|
||||||
"disable-public-memos": "禁用公共memos"
|
"disable-public-memos": "禁用公共memos"
|
||||||
},
|
},
|
||||||
"apperance-option": {
|
"appearance-option": {
|
||||||
"system": "跟随系统",
|
"system": "跟随系统",
|
||||||
"light": "总是浅色",
|
"light": "总是浅色",
|
||||||
"dark": "总是深色"
|
"dark": "总是深色"
|
||||||
|
Loading…
Reference in New Issue
Block a user