mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 01:39:34 +08:00
update translation files
This commit is contained in:
@@ -6,7 +6,7 @@ const config: LinguiConfig = {
|
|||||||
compileNamespace: "ts",
|
compileNamespace: "ts",
|
||||||
catalogs: [
|
catalogs: [
|
||||||
{
|
{
|
||||||
path: "<rootDir>/src/locales/{locale}/messages",
|
path: "<rootDir>/src/locales/{locale}/{locale}",
|
||||||
include: ["src"],
|
include: ["src"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@@ -155,7 +155,7 @@ export function UserAuthForm({
|
|||||||
id="email"
|
id="email"
|
||||||
name="email"
|
name="email"
|
||||||
required
|
required
|
||||||
placeholder={isFirstRun ? t`email` : t`name@example.com`}
|
placeholder={isFirstRun ? t`email` : "name@example.com"}
|
||||||
type="email"
|
type="email"
|
||||||
autoCapitalize="none"
|
autoCapitalize="none"
|
||||||
autoComplete="email"
|
autoComplete="email"
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
import { $direction } from "./stores"
|
import { $direction } from "./stores"
|
||||||
import { i18n } from "@lingui/core"
|
import { i18n } from "@lingui/core"
|
||||||
import { detect, fromUrl, fromStorage, fromNavigator } from "@lingui/detect-locale"
|
import { detect, fromUrl, fromStorage, fromNavigator } from "@lingui/detect-locale"
|
||||||
import { messages as enMessages } from "../locales/en/messages.ts"
|
import { messages as enMessages } from "../locales/en/en.ts"
|
||||||
|
|
||||||
// const locale = detect(fromUrl("lang"), fromStorage("lang"), fromNavigator(), "en")
|
// const locale = detect(fromUrl("lang"), fromStorage("lang"), fromNavigator(), "en")
|
||||||
const locale = detect(fromStorage("lang"), fromNavigator(), "en")
|
const locale = detect(fromStorage("lang"), fromNavigator(), "en")
|
||||||
@@ -13,7 +13,7 @@ if (import.meta.env.DEV) {
|
|||||||
|
|
||||||
export async function dynamicActivate(locale: string) {
|
export async function dynamicActivate(locale: string) {
|
||||||
try {
|
try {
|
||||||
const { messages } = await import(`../locales/${locale}/messages.ts`)
|
const { messages } = await import(`../locales/${locale}/${locale}.ts`)
|
||||||
i18n.load(locale, messages)
|
i18n.load(locale, messages)
|
||||||
i18n.activate(locale)
|
i18n.activate(locale)
|
||||||
document.documentElement.lang = locale
|
document.documentElement.lang = locale
|
||||||
|
@@ -433,10 +433,6 @@ msgstr "استخدام الذاكرة لحاويات Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "الاسم"
|
msgstr "الاسم"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "الشبكة"
|
msgstr "الشبكة"
|
1
beszel/site/src/locales/ar/ar.ts
Normal file
1
beszel/site/src/locales/ar/ar.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Speichernutzung der Docker-Container"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Name"
|
msgstr "Name"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@beispiel.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Netz"
|
msgstr "Netz"
|
1
beszel/site/src/locales/de/de.ts
Normal file
1
beszel/site/src/locales/de/de.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Memory usage of docker containers"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Name"
|
msgstr "Name"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Net"
|
msgstr "Net"
|
1
beszel/site/src/locales/en/en.ts
Normal file
1
beszel/site/src/locales/en/en.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Uso de memoria de los contenedores de Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nombre"
|
msgstr "Nombre"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "nombre@ejemplo.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Red"
|
msgstr "Red"
|
1
beszel/site/src/locales/es/es.ts
Normal file
1
beszel/site/src/locales/es/es.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Utilisation de la mémoire des conteneurs Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nom"
|
msgstr "Nom"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "nom@exemple.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Réseau"
|
msgstr "Réseau"
|
1
beszel/site/src/locales/fr/fr.ts
Normal file
1
beszel/site/src/locales/fr/fr.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,13 +433,9 @@ msgstr "Dockerコンテナのメモリ使用率"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "名前"
|
msgstr "名前"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "ネット"
|
msgstr "帯域"
|
||||||
|
|
||||||
#: src/components/routes/system.tsx:453
|
#: src/components/routes/system.tsx:453
|
||||||
msgid "Network traffic of docker containers"
|
msgid "Network traffic of docker containers"
|
1
beszel/site/src/locales/ja/ja.ts
Normal file
1
beszel/site/src/locales/ja/ja.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -77,7 +77,7 @@ msgstr "관리자"
|
|||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:174
|
#: src/components/systems-table/systems-table.tsx:174
|
||||||
msgid "Agent"
|
msgid "Agent"
|
||||||
msgstr "에이전트"
|
msgstr "에이젠"
|
||||||
|
|
||||||
#: src/components/alerts/alert-button.tsx:32
|
#: src/components/alerts/alert-button.tsx:32
|
||||||
#: src/components/alerts/alert-button.tsx:68
|
#: src/components/alerts/alert-button.tsx:68
|
||||||
@@ -433,10 +433,6 @@ msgstr "도커 컨테이너의 메모리 사용량"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "이름"
|
msgstr "이름"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "네트"
|
msgstr "네트"
|
1
beszel/site/src/locales/ko/ko.ts
Normal file
1
beszel/site/src/locales/ko/ko.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Uso de memória dos contêineres Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Nome"
|
msgstr "Nome"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "nome@exemplo.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Rede"
|
msgstr "Rede"
|
1
beszel/site/src/locales/pt/pt.ts
Normal file
1
beszel/site/src/locales/pt/pt.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Использование памяти контейнерами Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Имя"
|
msgstr "Имя"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Сеть"
|
msgstr "Сеть"
|
||||||
@@ -552,7 +548,7 @@ msgstr "Предпочтительный язык"
|
|||||||
#. Use 'Key' if your language requires many more characters
|
#. Use 'Key' if your language requires many more characters
|
||||||
#: src/components/add-system.tsx:131
|
#: src/components/add-system.tsx:131
|
||||||
msgid "Public Key"
|
msgid "Public Key"
|
||||||
msgstr "Публичный ключ"
|
msgstr "Ключ"
|
||||||
|
|
||||||
#. Context is disk read
|
#. Context is disk read
|
||||||
#: src/components/charts/area-chart.tsx:56
|
#: src/components/charts/area-chart.tsx:56
|
1
beszel/site/src/locales/ru/ru.ts
Normal file
1
beszel/site/src/locales/ru/ru.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Docker konteynerlerinin bellek kullanımı"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Ad"
|
msgstr "Ad"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "ad@ornek.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Ağ"
|
msgstr "Ağ"
|
1
beszel/site/src/locales/tr/tr.ts
Normal file
1
beszel/site/src/locales/tr/tr.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Використання пам'яті контейнерами Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Ім'я"
|
msgstr "Ім'я"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Мережа"
|
msgstr "Мережа"
|
1
beszel/site/src/locales/uk/uk.ts
Normal file
1
beszel/site/src/locales/uk/uk.ts
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Sử dụng bộ nhớ của các container Docker"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "Tên"
|
msgstr "Tên"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "ten@vidu.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "Mạng"
|
msgstr "Mạng"
|
||||||
@@ -552,7 +548,7 @@ msgstr "Ngôn ngữ Ưa thích"
|
|||||||
#. Use 'Key' if your language requires many more characters
|
#. Use 'Key' if your language requires many more characters
|
||||||
#: src/components/add-system.tsx:131
|
#: src/components/add-system.tsx:131
|
||||||
msgid "Public Key"
|
msgid "Public Key"
|
||||||
msgstr "Khóa Công khai"
|
msgstr "Khóa"
|
||||||
|
|
||||||
#. Context is disk read
|
#. Context is disk read
|
||||||
#: src/components/charts/area-chart.tsx:56
|
#: src/components/charts/area-chart.tsx:56
|
1
beszel/site/src/locales/vi/vi.ts
Normal file
1
beszel/site/src/locales/vi/vi.ts
Normal file
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Docker容器的内存使用"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "名称"
|
msgstr "名称"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "网络"
|
msgstr "网络"
|
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Docker容器的記憶體使用"
|
|||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "名稱"
|
msgstr "名稱"
|
||||||
|
|
||||||
#: src/components/login/auth-form.tsx:158
|
|
||||||
msgid "name@example.com"
|
|
||||||
msgstr "name@example.com"
|
|
||||||
|
|
||||||
#: src/components/systems-table/systems-table.tsx:162
|
#: src/components/systems-table/systems-table.tsx:162
|
||||||
msgid "Net"
|
msgid "Net"
|
||||||
msgstr "網絡"
|
msgstr "網絡"
|
File diff suppressed because one or more lines are too long
6
i18n.yml
6
i18n.yml
@@ -1,5 +1,3 @@
|
|||||||
files:
|
files:
|
||||||
- source: /beszel/site/src/locales/en/messages.po
|
- source: /beszel/site/src/locales/en/en.po
|
||||||
translation: /beszel/site/src/locales/%two_letters_code%/%original_file_name%
|
translation: /beszel/site/src/locales/%two_letters_code%/%two_letters_code%.po
|
||||||
multilingual: 1
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@ A lightweight server resource monitoring hub with historical data, docker stats,
|
|||||||
[](https://hub.docker.com/r/henrygd/beszel-agent)
|
[](https://hub.docker.com/r/henrygd/beszel-agent)
|
||||||
[](https://hub.docker.com/r/henrygd/beszel)
|
[](https://hub.docker.com/r/henrygd/beszel)
|
||||||
|
|
||||||
|
<!-- [](https://crowdin.com/project/beszel) -->
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
Reference in New Issue
Block a user