Skip to content

Commit

Permalink
refactor: update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Apr 20, 2024
1 parent 1bd18fa commit 6e8e6ac
Show file tree
Hide file tree
Showing 9 changed files with 289 additions and 293 deletions.
3 changes: 3 additions & 0 deletions src/client/i18next-toolkit.config.cjs
Expand Up @@ -42,6 +42,9 @@ const config = {
'GET',
'HH:mm',
'YYYY-MM-DD HH:mm',
'CPU',
'RAM',
'HDD'
],
},
};
Expand Down
6 changes: 3 additions & 3 deletions src/client/pages/Servers.tsx
Expand Up @@ -232,13 +232,13 @@ export const ServerList: React.FC<{
},
{
dataIndex: ['payload', 'cpu'],
title: t('CPU'),
title: 'CPU',
width: 80,
render: (val) => `${val}%`,
},
{
key: 'ram',
title: t('RAM'),
title: 'RAM',
width: 120,
render: (_, record) => {
return (
Expand All @@ -251,7 +251,7 @@ export const ServerList: React.FC<{
},
{
key: 'hdd',
title: t('HDD'),
title: 'HDD',
width: 120,
render: (_, record) => {
return (
Expand Down
11 changes: 5 additions & 6 deletions src/client/public/locales/de/translation.json
Expand Up @@ -33,7 +33,6 @@
"k2a6a7d8f": "UNTEN",
"k2b2d40d4": "Testcode",
"k2b463d4b": "Sind Sie sicher, dass Sie dies tun möchten?",
"k2c2712a4": "CPU",
"k2dad13e3": "Sprache",
"k2e6dbf02": "An E-Mail",
"k2ea8a019": "Monitor",
Expand All @@ -53,6 +52,7 @@
"k3d3baf52": "durchschnittliche Besuchszeit",
"k3dbe79b1": "Löschen",
"k3de768a1": "Passwort ändern",
"k3df6240e": "Benutzerdefinierte Domain",
"k3e757ddf": "Hier gibt es noch keinen Monitor.",
"k3e8b13f8": "Discord beitreten",
"k3f36e17e": "Twitter folgen",
Expand Down Expand Up @@ -90,7 +90,6 @@
"k621317b5": "Neue Seite",
"k62e19375": "Letzte Aktualisierung: {{date}}",
"k646a3a80": "Metriken von {{monitorName}}",
"k646c0ae2": "HDD",
"k67c5a895": "Gestern",
"k683be220": "Ausführen",
"k691b7170": "Gestoppt",
Expand All @@ -99,11 +98,10 @@
"k6bc9e414": "Anmelden",
"k6ea11aff": "Holen!",
"k6f15bcc3": "Host",
"k717660a5": "RAM",
"k721589c1": "Heute",
"k7350bd93": "Gleichzeitig können wir es auch in einigen Client-Seiten-Anwendungsszenarien verwenden, wie z.B. das Sammeln der Häufigkeit der CLI-Nutzung, das Sammeln der Installation von selbst gehosteten Apps und so weiter.",
"k74a240": "Gesundheitsbalken",
"k75581e13": "CC",
"k75581e13": "Kreditkarte",
"k75bfaaa6": "Fügen Sie diesen Code in das Kopf-Skript Ihrer Website ein",
"k763816ac": "Vorschau",
"k784dd132": "Test",
Expand All @@ -124,7 +122,7 @@
"k8746ec38": "Monitor auswählen",
"k887ae5cd": "Erstellen",
"k88a9bf01": "Abzeichen anzeigen",
"k88d2647b": "Website",
"k88d2647b": "Webseite",
"k89056082": "(30 Tage)",
"k89d54f7a": "Überwachung der Ausführungszählung",
"k8a44833f": "Dienste",
Expand Down Expand Up @@ -174,6 +172,7 @@
"kaf39be20": "Netzwerk",
"kb01f4f95": "Fertig",
"kb0e351e0": "Aktualisiert",
"kb15a6374": "Sie können Ihre Statusseite in Ihrer eigenen Domain konfigurieren, zum Beispiel: status.beispiel.com",
"kb320aac4": "Überwacht seit {{dayNum}} Tagen",
"kb35cde91": "Suche",
"kb5673707": "Letzte 7 Tage",
Expand Down Expand Up @@ -218,7 +217,7 @@
"kd92fa3e7": "Host-Name",
"kdaa949e5": "Ereignisse von {{monitorName}}",
"kdb61adbb": "Offline verbergen",
"kdc51b5db": "Websites",
"kdc51b5db": "Webseiten",
"kdd44ac01": "Anzuzeigender Telemetrie-Name",
"kdd55936a": "Resolver-Port",
"kde37bc27": "Zurück zum Admin",
Expand Down
5 changes: 2 additions & 3 deletions src/client/public/locales/en/translation.json
Expand Up @@ -33,7 +33,6 @@
"k2a6a7d8f": "DOWN",
"k2b2d40d4": "Test Code",
"k2b463d4b": "Are you sure you want to do this?",
"k2c2712a4": "CPU",
"k2dad13e3": "Language",
"k2e6dbf02": "To Email",
"k2ea8a019": "Monitor",
Expand All @@ -53,6 +52,7 @@
"k3d3baf52": "average visit time",
"k3dbe79b1": "Delete",
"k3de768a1": "Change password",
"k3df6240e": "Custom Domain",
"k3e757ddf": "Here is no monitor yet.",
"k3e8b13f8": "Join Discord",
"k3f36e17e": "Follow Twitter",
Expand Down Expand Up @@ -90,7 +90,6 @@
"k621317b5": "New page",
"k62e19375": "Last updated at: {{date}}",
"k646a3a80": "{{monitorName}}'s Metrics",
"k646c0ae2": "HDD",
"k67c5a895": "Yesterday",
"k683be220": "Run",
"k691b7170": "Stopped",
Expand All @@ -99,7 +98,6 @@
"k6bc9e414": "Login",
"k6ea11aff": "Get!",
"k6f15bcc3": "Host",
"k717660a5": "RAM",
"k721589c1": "Today",
"k7350bd93": "At the same time, we can also use it in some client-side application scenarios, such as collecting the frequency of cli usage, such as collecting the installation of selfhosted apps, and so on.",
"k74a240": "Health Bar",
Expand Down Expand Up @@ -174,6 +172,7 @@
"kaf39be20": "Network",
"kb01f4f95": "Done",
"kb0e351e0": "Refreshed",
"kb15a6374": "You can config your status page in your own domain, for example: status.example.com",
"kb320aac4": "Monitored for {{dayNum}} days",
"kb35cde91": "Search",
"kb5673707": "Last 7 days",
Expand Down
5 changes: 2 additions & 3 deletions src/client/public/locales/fr/translation.json
Expand Up @@ -33,7 +33,6 @@
"k2a6a7d8f": "HORS LIGNE",
"k2b2d40d4": "Code de test",
"k2b463d4b": "Êtes-vous sûr de vouloir faire cela?",
"k2c2712a4": "UC",
"k2dad13e3": "Langue",
"k2e6dbf02": "À l'email",
"k2ea8a019": "Moniteur",
Expand All @@ -53,6 +52,7 @@
"k3d3baf52": "temps moyen de visite",
"k3dbe79b1": "Supprimer",
"k3de768a1": "Changer le mot de passe",
"k3df6240e": "Domaine personnalisé",
"k3e757ddf": "Il n'y a pas encore de moniteur ici.",
"k3e8b13f8": "Rejoindre Discord",
"k3f36e17e": "Suivre Twitter",
Expand Down Expand Up @@ -90,7 +90,6 @@
"k621317b5": "Nouvelle page",
"k62e19375": "Dernière mise à jour : {{date}}",
"k646a3a80": "Métriques de {{monitorName}}",
"k646c0ae2": "DD",
"k67c5a895": "Hier",
"k683be220": "Exécuter",
"k691b7170": "Arrêté",
Expand All @@ -99,7 +98,6 @@
"k6bc9e414": "Connexion",
"k6ea11aff": "Obtenir !",
"k6f15bcc3": "Hôte",
"k717660a5": "RAM",
"k721589c1": "Aujourd'hui",
"k7350bd93": "En même temps, nous pouvons également l'utiliser dans certains scénarios d'application côté client, comme la collecte de la fréquence d'utilisation du CLI, la collecte de l'installation d'applications auto-hébergées, etc.",
"k74a240": "Barre de santé",
Expand Down Expand Up @@ -174,6 +172,7 @@
"kaf39be20": "Réseau",
"kb01f4f95": "Terminé",
"kb0e351e0": "Rafraîchi",
"kb15a6374": "Vous pouvez configurer votre page de statut sur votre propre domaine, par exemple : status.example.com",
"kb320aac4": "Surveillé pendant {{dayNum}} jours",
"kb35cde91": "Recherche",
"kb5673707": "7 derniers jours",
Expand Down
7 changes: 3 additions & 4 deletions src/client/public/locales/jp/translation.json
Expand Up @@ -33,7 +33,6 @@
"k2a6a7d8f": "ダウン",
"k2b2d40d4": "テストコード",
"k2b463d4b": "この操作を本当に行いますか?",
"k2c2712a4": "CPU",
"k2dad13e3": "言語",
"k2e6dbf02": "メールアドレスへ",
"k2ea8a019": "モニター",
Expand All @@ -42,7 +41,7 @@
"k310fee": "過去30日間",
"k32344f64": "データクリア",
"k3260f019": "ログアウト",
"k340547f0": "Sorry, but something went wrong",
"k340547f0": "申し訳ありませんが、何か問題が発生しました",
"k3471e956": "新しいパスワードの再入力",
"k3542f88c": "テレメトリ名: {{name}} | イベント数: {{num}}",
"k3834d1a6": "ページを追加",
Expand All @@ -53,6 +52,7 @@
"k3d3baf52": "平均訪問時間",
"k3dbe79b1": "削除",
"k3de768a1": "パスワードを変更",
"k3df6240e": "カスタムドメイン",
"k3e757ddf": "モニターがまだありません。",
"k3e8b13f8": "Discordに参加",
"k3f36e17e": "Twitterをフォロー",
Expand Down Expand Up @@ -90,7 +90,6 @@
"k621317b5": "新しいページ",
"k62e19375": "最終更新:{{date}}",
"k646a3a80": "{{monitorName}}のメトリック",
"k646c0ae2": "HDD",
"k67c5a895": "昨日",
"k683be220": "実行",
"k691b7170": "停止済み",
Expand All @@ -99,7 +98,6 @@
"k6bc9e414": "ログイン",
"k6ea11aff": "取得!",
"k6f15bcc3": "ホスト",
"k717660a5": "RAM",
"k721589c1": "今日",
"k7350bd93": "同時に、CLIの使用頻度の収集、自己ホスト型アプリのインストールの収集など、クライアントサイドのアプリケーションシナリオでも使用することができます。",
"k74a240": "ヘルスバー",
Expand Down Expand Up @@ -174,6 +172,7 @@
"kaf39be20": "ネットワーク",
"kb01f4f95": "完了",
"kb0e351e0": "更新されました",
"kb15a6374": "自分のドメインでステータスページを設定できます。たとえば、status.example.com",
"kb320aac4": "{{dayNum}}日間監視",
"kb35cde91": "検索",
"kb5673707": "過去7日間",
Expand Down

0 comments on commit 6e8e6ac

Please sign in to comment.