mirror of
https://github.com/henrygd/beszel.git
synced 2026-08-17 04:36:17 +00:00
update translation files
This commit is contained in:
@@ -6,7 +6,7 @@ const config: LinguiConfig = {
|
||||
compileNamespace: "ts",
|
||||
catalogs: [
|
||||
{
|
||||
path: "<rootDir>/src/locales/{locale}/messages",
|
||||
path: "<rootDir>/src/locales/{locale}/{locale}",
|
||||
include: ["src"],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -155,7 +155,7 @@ export function UserAuthForm({
|
||||
id="email"
|
||||
name="email"
|
||||
required
|
||||
placeholder={isFirstRun ? t`email` : t`name@example.com`}
|
||||
placeholder={isFirstRun ? t`email` : "name@example.com"}
|
||||
type="email"
|
||||
autoCapitalize="none"
|
||||
autoComplete="email"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { $direction } from "./stores"
|
||||
import { i18n } from "@lingui/core"
|
||||
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(fromStorage("lang"), fromNavigator(), "en")
|
||||
@@ -13,7 +13,7 @@ if (import.meta.env.DEV) {
|
||||
|
||||
export async function dynamicActivate(locale: string) {
|
||||
try {
|
||||
const { messages } = await import(`../locales/${locale}/messages.ts`)
|
||||
const { messages } = await import(`../locales/${locale}/${locale}.ts`)
|
||||
i18n.load(locale, messages)
|
||||
i18n.activate(locale)
|
||||
document.documentElement.lang = locale
|
||||
|
||||
@@ -433,10 +433,6 @@ msgstr "استخدام الذاكرة لحاويات Docker"
|
||||
msgid "Name"
|
||||
msgstr "الاسم"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "الشبكة"
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Netz"
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Net"
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Red"
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Réseau"
|
||||
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"
|
||||
msgstr "名前"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "ネット"
|
||||
msgstr "帯域"
|
||||
|
||||
#: src/components/routes/system.tsx:453
|
||||
msgid "Network traffic of docker containers"
|
||||
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
|
||||
msgid "Agent"
|
||||
msgstr "에이전트"
|
||||
msgstr "에이젠"
|
||||
|
||||
#: src/components/alerts/alert-button.tsx:32
|
||||
#: src/components/alerts/alert-button.tsx:68
|
||||
@@ -433,10 +433,6 @@ msgstr "도커 컨테이너의 메모리 사용량"
|
||||
msgid "Name"
|
||||
msgstr "이름"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "네트"
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Rede"
|
||||
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"
|
||||
msgstr "Имя"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "Сеть"
|
||||
@@ -552,7 +548,7 @@ msgstr "Предпочтительный язык"
|
||||
#. Use 'Key' if your language requires many more characters
|
||||
#: src/components/add-system.tsx:131
|
||||
msgid "Public Key"
|
||||
msgstr "Публичный ключ"
|
||||
msgstr "Ключ"
|
||||
|
||||
#. Context is disk read
|
||||
#: src/components/charts/area-chart.tsx:56
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Ağ"
|
||||
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"
|
||||
msgstr "Ім'я"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "Мережа"
|
||||
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"
|
||||
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
|
||||
msgid "Net"
|
||||
msgstr "Mạng"
|
||||
@@ -552,7 +548,7 @@ msgstr "Ngôn ngữ Ưa thích"
|
||||
#. Use 'Key' if your language requires many more characters
|
||||
#: src/components/add-system.tsx:131
|
||||
msgid "Public Key"
|
||||
msgstr "Khóa Công khai"
|
||||
msgstr "Khóa"
|
||||
|
||||
#. Context is disk read
|
||||
#: src/components/charts/area-chart.tsx:56
|
||||
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Docker容器的内存使用"
|
||||
msgid "Name"
|
||||
msgstr "名称"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "网络"
|
||||
File diff suppressed because one or more lines are too long
@@ -433,10 +433,6 @@ msgstr "Docker容器的記憶體使用"
|
||||
msgid "Name"
|
||||
msgstr "名稱"
|
||||
|
||||
#: src/components/login/auth-form.tsx:158
|
||||
msgid "name@example.com"
|
||||
msgstr "name@example.com"
|
||||
|
||||
#: src/components/systems-table/systems-table.tsx:162
|
||||
msgid "Net"
|
||||
msgstr "網絡"
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,3 @@
|
||||
files:
|
||||
- source: /beszel/site/src/locales/en/messages.po
|
||||
translation: /beszel/site/src/locales/%two_letters_code%/%original_file_name%
|
||||
multilingual: 1
|
||||
|
||||
- source: /beszel/site/src/locales/en/en.po
|
||||
translation: /beszel/site/src/locales/%two_letters_code%/%two_letters_code%.po
|
||||
|
||||
@@ -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)
|
||||
|
||||
<!-- [](https://crowdin.com/project/beszel) -->
|
||||
|
||||

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