Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
7f30e2e6
Unverified
Commit
7f30e2e6
authored
Mar 14, 2023
by
远浅
Committed by
GitHub
Mar 14, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix typo (#1355)
parent
29f784cc
Changes
19
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
3133 additions
and
3133 deletions
+3133
-3133
AppearanceSelect.tsx
web/src/components/AppearanceSelect.tsx
+4
-4
MemberSection.tsx
web/src/components/Settings/MemberSection.tsx
+1
-1
SSOSection.tsx
web/src/components/Settings/SSOSection.tsx
+1
-1
de.json
web/src/locales/de.json
+260
-260
en.json
web/src/locales/en.json
+1
-1
es.json
web/src/locales/es.json
+263
-263
fr.json
web/src/locales/fr.json
+260
-260
it.json
web/src/locales/it.json
+260
-260
ko.json
web/src/locales/ko.json
+260
-260
nl.json
web/src/locales/nl.json
+260
-260
pl.json
web/src/locales/pl.json
+260
-260
pt_BR.json
web/src/locales/pt_BR.json
+260
-260
ru.json
web/src/locales/ru.json
+260
-260
sv.json
web/src/locales/sv.json
+260
-260
tr.json
web/src/locales/tr.json
+1
-1
uk.json
web/src/locales/uk.json
+260
-260
vi.json
web/src/locales/vi.json
+260
-260
zh-Hant.json
web/src/locales/zh-Hant.json
+1
-1
zh.json
web/src/locales/zh.json
+1
-1
No files found.
web/src/components/AppearanceSelect.tsx
View file @
7f30e2e6
...
@@ -15,11 +15,11 @@ const AppearanceSelect: FC<Props> = (props: Props) => {
...
@@ -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
=
(
appe
a
rance
:
Appearance
)
=>
{
const
className
=
"w-4 h-auto"
;
const
className
=
"w-4 h-auto"
;
if
(
apperance
===
"light"
)
{
if
(
appe
a
rance
===
"light"
)
{
return
<
Icon
.
Sun
className=
{
className
}
/>;
return
<
Icon
.
Sun
className=
{
className
}
/>;
}
else
if
(
apperance
===
"dark"
)
{
}
else
if
(
appe
a
rance
===
"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) => {
...
@@ -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.appe
a
rance-option.${item}`
)
}
</
Option
>
</
Option
>
))
}
))
}
</
Select
>
</
Select
>
...
...
web/src/components/Settings/MemberSection.tsx
View file @
7f30e2e6
...
@@ -101,7 +101,7 @@ const PreferencesSection = () => {
...
@@ -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 IRREVERSI
A
BLE.❗️`
,
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
()
=>
{
...
...
web/src/components/Settings/SSOSection.tsx
View file @
7f30e2e6
...
@@ -24,7 +24,7 @@ const SSOSection = () => {
...
@@ -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 IRREVERSI
A
BLE❗"
,
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
()
=>
{
...
...
web/src/locales/de.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"System"
,
"system"
:
"System"
,
"light"
:
"Hell"
,
"light"
:
"Hell"
,
"dark"
:
"Dunkel"
"dark"
:
"Dunkel"
...
@@ -200,7 +200,7 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
,
"delete-storage"
:
"Delete Storage"
"delete-storage"
:
"Delete Storage"
}
}
},
},
...
...
web/src/locales/en.json
View file @
7f30e2e6
...
@@ -196,7 +196,7 @@
...
@@ -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"
:
{
"appe
a
rance-option"
:
{
"system"
:
"Follow system"
,
"system"
:
"Follow system"
,
"light"
:
"Always light"
,
"light"
:
"Always light"
,
"dark"
:
"Always dark"
"dark"
:
"Always dark"
...
...
web/src/locales/es.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Según el sistema"
,
"system"
:
"Según el sistema"
,
"light"
:
"Siempre claro"
,
"light"
:
"Siempre claro"
,
"dark"
:
"Siempre oscuro"
"dark"
:
"Siempre oscuro"
...
...
web/src/locales/fr.json
View file @
7f30e2e6
...
@@ -194,11 +194,11 @@
...
@@ -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 IRREVERSIA
BLE❗"
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
},
},
"storage"
:
"Storage"
,
"storage"
:
"Storage"
,
"sso"
:
"SSO"
,
"sso"
:
"SSO"
,
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Follow system"
,
"system"
:
"Follow system"
,
"light"
:
"Always light"
,
"light"
:
"Always light"
,
"dark"
:
"Always dark"
"dark"
:
"Always dark"
...
...
web/src/locales/it.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Sistema"
,
"system"
:
"Sistema"
,
"light"
:
"Chiaro"
,
"light"
:
"Chiaro"
,
"dark"
:
"Scuro"
"dark"
:
"Scuro"
...
@@ -200,7 +200,7 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
,
"delete-storage"
:
"Delete Storage"
"delete-storage"
:
"Delete Storage"
}
}
},
},
...
...
web/src/locales/ko.json
View file @
7f30e2e6
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
"additional-style-placeholder"
:
"추가적인 CSS 코드"
,
"additional-style-placeholder"
:
"추가적인 CSS 코드"
,
"additional-script-placeholder"
:
"추가적인 JavaScript 코드"
"additional-script-placeholder"
:
"추가적인 JavaScript 코드"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"시스템 설정을 따름"
,
"system"
:
"시스템 설정을 따름"
,
"light"
:
"항상 밝게"
,
"light"
:
"항상 밝게"
,
"dark"
:
"항상 어둡게"
"dark"
:
"항상 어둡게"
...
...
web/src/locales/nl.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"light"
:
"Altijd licht"
,
"light"
:
"Altijd licht"
,
"dark"
:
"Altijd donker"
,
"dark"
:
"Altijd donker"
,
"system"
:
"Volg systeem"
"system"
:
"Volg systeem"
...
...
web/src/locales/pl.json
View file @
7f30e2e6
...
@@ -198,7 +198,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Systemowy"
,
"system"
:
"Systemowy"
,
"light"
:
"Zawsze jasny"
,
"light"
:
"Zawsze jasny"
,
"dark"
:
"Zawsze ciemny"
"dark"
:
"Zawsze ciemny"
...
...
web/src/locales/pt_BR.json
View file @
7f30e2e6
...
@@ -72,13 +72,13 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this resource? THIS ACTION IS IRREVERSI
BLE❗"
,
"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 IRREVERSIA
BLE❗"
,
"warning-text-unused"
:
"Are you sure to delete these unused resource? THIS ACTION IS IRREVERSI
BLE❗"
,
"no-unused-resources"
:
"No unused resources"
,
"no-unused-resources"
:
"No unused resources"
,
"name"
:
"Nome"
"name"
:
"Nome"
},
},
...
@@ -177,7 +177,7 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
,
"delete-storage"
:
"Delete Storage"
"delete-storage"
:
"Delete Storage"
},
},
"member-section"
:
{
"member-section"
:
{
...
@@ -198,7 +198,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Follow system"
,
"system"
:
"Follow system"
,
"light"
:
"Always light"
,
"light"
:
"Always light"
,
"dark"
:
"Always dark"
"dark"
:
"Always dark"
...
...
web/src/locales/ru.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
"additional-script-placeholder"
:
"Настраиваемый код JavaScript"
,
"additional-script-placeholder"
:
"Настраиваемый код JavaScript"
,
"disable-public-memos"
:
"Disable public memos"
"disable-public-memos"
:
"Disable public memos"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Системная"
,
"system"
:
"Системная"
,
"light"
:
"Светлая"
,
"light"
:
"Светлая"
,
"dark"
:
"Тёмная"
"dark"
:
"Тёмная"
...
@@ -200,7 +200,7 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
,
"delete-storage"
:
"Delete Storage"
"delete-storage"
:
"Delete Storage"
}
}
},
},
...
...
web/src/locales/sv.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -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"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Follow system"
,
"system"
:
"Follow system"
,
"light"
:
"Alltid ljus"
,
"light"
:
"Alltid ljus"
,
"dark"
:
"Alltid mörk"
"dark"
:
"Alltid mörk"
...
...
web/src/locales/tr.json
View file @
7f30e2e6
...
@@ -179,7 +179,7 @@
...
@@ -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"
:
{
"appe
a
rance-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"
...
...
web/src/locales/uk.json
View file @
7f30e2e6
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
"additional-script-placeholder"
:
"Додатковий JavaScript"
,
"additional-script-placeholder"
:
"Додатковий JavaScript"
,
"disable-public-memos"
:
"Disable public memos"
"disable-public-memos"
:
"Disable public memos"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Автоматично"
,
"system"
:
"Автоматично"
,
"light"
:
"Завжди світла"
,
"light"
:
"Завжди світла"
,
"dark"
:
"Завжди темна"
"dark"
:
"Завжди темна"
...
@@ -197,7 +197,7 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
,
"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"
...
...
web/src/locales/vi.json
View file @
7f30e2e6
...
@@ -195,10 +195,10 @@
...
@@ -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 IRREVERSIA
BLE❗"
,
"warning-text"
:
"Are you sure to delete this storage service? THIS ACTION IS IRREVERSI
BLE❗"
,
"delete-storage"
:
"Delete Storage"
"delete-storage"
:
"Delete Storage"
},
},
"appe
rance-option"
:
{
"appea
rance-option"
:
{
"system"
:
"Follow system"
,
"system"
:
"Follow system"
,
"light"
:
"Always light"
,
"light"
:
"Always light"
,
"dark"
:
"Always dark"
"dark"
:
"Always dark"
...
...
web/src/locales/zh-Hant.json
View file @
7f30e2e6
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
"additional-script-placeholder"
:
"自定義 JavaScript 代碼"
,
"additional-script-placeholder"
:
"自定義 JavaScript 代碼"
,
"disable-public-memos"
:
"禁用公共memos"
"disable-public-memos"
:
"禁用公共memos"
},
},
"apperance-option"
:
{
"appe
a
rance-option"
:
{
"system"
:
"跟隨系統"
,
"system"
:
"跟隨系統"
,
"light"
:
"總是淺色"
,
"light"
:
"總是淺色"
,
"dark"
:
"總是深色"
"dark"
:
"總是深色"
...
...
web/src/locales/zh.json
View file @
7f30e2e6
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
"additional-script-placeholder"
:
"自定义 JavaScript 代码"
,
"additional-script-placeholder"
:
"自定义 JavaScript 代码"
,
"disable-public-memos"
:
"禁用公共memos"
"disable-public-memos"
:
"禁用公共memos"
},
},
"apperance-option"
:
{
"appe
a
rance-option"
:
{
"system"
:
"跟随系统"
,
"system"
:
"跟随系统"
,
"light"
:
"总是浅色"
,
"light"
:
"总是浅色"
,
"dark"
:
"总是深色"
"dark"
:
"总是深色"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment