chore: fix typo (#1355)

pull/1356/head
远浅 2 years ago committed by GitHub
parent 29f784cc20
commit 7f30e2e6ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,11 +15,11 @@ const AppearanceSelect: FC<Props> = (props: Props) => {
const { onChange, value, className } = props;
const { t } = useTranslation();
const getPrefixIcon = (apperance: Appearance) => {
const getPrefixIcon = (appearance: Appearance) => {
const className = "w-4 h-auto";
if (apperance === "light") {
if (appearance === "light") {
return <Icon.Sun className={className} />;
} else if (apperance === "dark") {
} else if (appearance === "dark") {
return <Icon.Moon className={className} />;
} else {
return <Icon.Smile className={className} />;
@ -43,7 +43,7 @@ const AppearanceSelect: FC<Props> = (props: Props) => {
>
{appearanceList.map((item) => (
<Option key={item} value={item} className="whitespace-nowrap">
{t(`setting.apperance-option.${item}`)}
{t(`setting.appearance-option.${item}`)}
</Option>
))}
</Select>

@ -101,7 +101,7 @@ const PreferencesSection = () => {
const handleDeleteUserClick = (user: User) => {
showCommonDialog({
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",
dialogName: "delete-user-dialog",
onConfirm: async () => {

@ -24,7 +24,7 @@ const SSOSection = () => {
const handleDeleteIdentityProvider = async (identityProvider: IdentityProvider) => {
showCommonDialog({
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",
dialogName: "delete-identity-provider-dialog",
onConfirm: async () => {

@ -189,7 +189,7 @@
"additional-script-placeholder": "Zusätzliches JavaScript",
"disable-public-memos": "Disable public memos"
},
"apperance-option": {
"appearance-option": {
"system": "System",
"light": "Hell",
"dark": "Dunkel"
@ -200,7 +200,7 @@
"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 IRREVERSIABLE❗",
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
"delete-storage": "Delete Storage"
}
},

@ -196,7 +196,7 @@
"additional-style-placeholder": "Additional CSS code",
"additional-script-placeholder": "Additional JavaScript code"
},
"apperance-option": {
"appearance-option": {
"system": "Follow system",
"light": "Always light",
"dark": "Always dark"

@ -189,7 +189,7 @@
"additional-script-placeholder": "Código JavaScript adicional",
"disable-public-memos": "Deshabilitar notas públicas"
},
"apperance-option": {
"appearance-option": {
"system": "Según el sistema",
"light": "Siempre claro",
"dark": "Siempre oscuro"

@ -194,11 +194,11 @@
"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 IRREVERSIABLE❗"
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗"
},
"storage": "Storage",
"sso": "SSO",
"apperance-option": {
"appearance-option": {
"system": "Follow system",
"light": "Always light",
"dark": "Always dark"

@ -189,7 +189,7 @@
"additional-script-placeholder": "Codice JavaScript aggiuntivo",
"disable-public-memos": "Disable public memos"
},
"apperance-option": {
"appearance-option": {
"system": "Sistema",
"light": "Chiaro",
"dark": "Scuro"
@ -200,7 +200,7 @@
"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 IRREVERSIABLE❗",
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
"delete-storage": "Delete Storage"
}
},

@ -206,7 +206,7 @@
"additional-style-placeholder": "추가적인 CSS 코드",
"additional-script-placeholder": "추가적인 JavaScript 코드"
},
"apperance-option": {
"appearance-option": {
"system": "시스템 설정을 따름",
"light": "항상 밝게",
"dark": "항상 어둡게"

@ -189,7 +189,7 @@
"additional-script-placeholder": "Optionele JavaScript code",
"disable-public-memos": "Openbare memos uitzetten"
},
"apperance-option": {
"appearance-option": {
"light": "Altijd licht",
"dark": "Altijd donker",
"system": "Volg systeem"

@ -198,7 +198,7 @@
"additional-style-placeholder": "Dodatkowy kod CSS",
"additional-script-placeholder": "Dodatkowy kod JavaScript"
},
"apperance-option": {
"appearance-option": {
"system": "Systemowy",
"light": "Zawsze jasny",
"dark": "Zawsze ciemny"

@ -72,13 +72,13 @@
"fetching-data": "fetching data...",
"upload": "Enviar",
"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",
"delete-resource": "Delete Resource",
"linked-amount": "Linked memo amount",
"rename": "Renomear",
"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",
"name": "Nome"
},
@ -177,7 +177,7 @@
"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 IRREVERSIABLE❗",
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
"delete-storage": "Delete Storage"
},
"member-section": {
@ -198,7 +198,7 @@
"additional-style-placeholder": "Additional CSS codes",
"additional-script-placeholder": "Additional JavaScript codes"
},
"apperance-option": {
"appearance-option": {
"system": "Follow system",
"light": "Always light",
"dark": "Always dark"

@ -189,7 +189,7 @@
"additional-script-placeholder": "Настраиваемый код JavaScript",
"disable-public-memos": "Disable public memos"
},
"apperance-option": {
"appearance-option": {
"system": "Системная",
"light": "Светлая",
"dark": "Тёмная"
@ -200,7 +200,7 @@
"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 IRREVERSIABLE❗",
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
"delete-storage": "Delete Storage"
}
},

@ -189,7 +189,7 @@
"additional-script-placeholder": "Ytterligare JavaScript kod",
"disable-public-memos": "Inaktivera offentliga anteckningar"
},
"apperance-option": {
"appearance-option": {
"system": "Follow system",
"light": "Alltid ljus",
"dark": "Alltid mörk"

@ -179,7 +179,7 @@
"additional-script-placeholder": "Ek JavaScript",
"disable-public-memos": "Halka açık notları devre dışı bırak"
},
"apperance-option": {
"appearance-option": {
"system": "Otomatik",
"light": "Her zaman açık renkli",
"dark": "Her zaman koyu renkli"

@ -189,7 +189,7 @@
"additional-script-placeholder": "Додатковий JavaScript",
"disable-public-memos": "Disable public memos"
},
"apperance-option": {
"appearance-option": {
"system": "Автоматично",
"light": "Завжди світла",
"dark": "Завжди темна"
@ -197,7 +197,7 @@
"storage": "Storage",
"storage-section": {
"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",
"storage-services-list": "Storage service list",
"create-a-service": "Create a service"

@ -195,10 +195,10 @@
"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 IRREVERSIABLE❗",
"warning-text": "Are you sure to delete this storage service? THIS ACTION IS IRREVERSIBLE❗",
"delete-storage": "Delete Storage"
},
"apperance-option": {
"appearance-option": {
"system": "Follow system",
"light": "Always light",
"dark": "Always dark"

@ -195,7 +195,7 @@
"additional-script-placeholder": "自定義 JavaScript 代碼",
"disable-public-memos": "禁用公共memos"
},
"apperance-option": {
"appearance-option": {
"system": "跟隨系統",
"light": "總是淺色",
"dark": "總是深色"

@ -195,7 +195,7 @@
"additional-script-placeholder": "自定义 JavaScript 代码",
"disable-public-memos": "禁用公共memos"
},
"apperance-option": {
"appearance-option": {
"system": "跟随系统",
"light": "总是浅色",
"dark": "总是深色"

Loading…
Cancel
Save