update translation files

This commit is contained in:
Henry Dollman
2024-11-01 22:11:58 -04:00
parent 8f383c9f5e
commit c16c7830a4
45 changed files with 26 additions and 82 deletions

View File

@@ -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"],
}, },
], ],

View File

@@ -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"

View File

@@ -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

View File

@@ -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

File diff suppressed because one or more lines are too long

View File

@@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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 "네트"

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

View File

@@ -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"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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ğ"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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

File diff suppressed because one or more lines are too long

View File

@@ -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

File diff suppressed because one or more lines are too long

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -5,6 +5,8 @@ A lightweight server resource monitoring hub with historical data, docker stats,
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/henrygd/beszel-agent/0.1.0?logo=docker&label=agent%20image%20size)](https://hub.docker.com/r/henrygd/beszel-agent) [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/henrygd/beszel-agent/0.1.0?logo=docker&label=agent%20image%20size)](https://hub.docker.com/r/henrygd/beszel-agent)
[![Docker Image Size (tag)](https://img.shields.io/docker/image-size/henrygd/beszel/0.1.0?logo=docker&label=hub%20image%20size)](https://hub.docker.com/r/henrygd/beszel) [![Docker Image Size (tag)](https://img.shields.io/docker/image-size/henrygd/beszel/0.1.0?logo=docker&label=hub%20image%20size)](https://hub.docker.com/r/henrygd/beszel)
<!-- [![Crowdin](https://badges.crowdin.net/beszel/localized.svg)](https://crowdin.com/project/beszel) -->
![Screenshot of the hub](https://henrygd-assets.b-cdn.net/beszel/screenshot.png) ![Screenshot of the hub](https://henrygd-assets.b-cdn.net/beszel/screenshot.png)
## Features ## Features