Mark portable characters as experimental across UI and documentation

This commit is contained in:
Дмитрий committed 2026-10-21 10:38:32 +05:00
1 parent 354a7d83f8
commit 40213213bd
10 files changed
+17

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ import type en from "./en";
/** Deutsch. Entwurf einer Übersetzung; vor der Veröffentlichung von Muttersprachlern zu prüfen. */
const de: Partial<Record<keyof typeof en, string>> = {
"portable.experimental": "Experimentelle Funktion: Portable Charaktere befinden sich noch in aktiver Entwicklung. Fehler können auftreten.",
"remote.clientReady": "Dein Client ist bereit. Speichere die Hostadresse und klicke auf Spielen.",
"remote.clientIntro": "Wähle einen vorhandenen Spielclient oder lade ihn hier herunter. Ein lokaler Server ist nicht nötig.",
"welcome.host.title": "Einen Server hosten",
+1
View File
@@ -904,6 +904,7 @@ const en = {
"client.job.updating": "Updating the client",
"nav.characters": "Characters",
"q.characters": "Which of my characters can play where?",
"portable.experimental": "Experimental feature: portable characters are still in active development. Bugs may occur.",
"portable.title": "Characters",
"portable.intro": "Your characters are kept safe by the Manager. Pick a realm and press Play: the Manager prepares the character there and saves your progress when you log out.",
"portable.runtime.stopped": "The part of the Manager that follows your game is not running. Restart the Manager.",
+1
View File
@@ -2,6 +2,7 @@ import type en from "./en";
/** Español. Traducción provisional; debe revisarla un hablante nativo antes de publicarse. */
const es: Partial<Record<keyof typeof en, string>> = {
"portable.experimental": "Función experimental: los personajes portátiles siguen en desarrollo activo. Pueden producirse errores.",
"remote.clientReady": "Tu cliente está listo. Guarda la dirección del anfitrión y pulsa Jugar.",
"remote.clientIntro": "Elige un cliente existente o descárgalo aquí. No necesitas un servidor local.",
"welcome.host.title": "Alojar un servidor",
+1
View File
@@ -2,6 +2,7 @@ import type en from "./en";
/** Français. Traduction provisoire ; à faire relire par un locuteur natif avant la publication. */
const fr: Partial<Record<keyof typeof en, string>> = {
"portable.experimental": "Fonction expérimentale : les personnages portables sont encore en développement actif. Des bugs peuvent survenir.",
"remote.clientReady": "Votre client est prêt. Enregistrez l’adresse de l’hôte, puis cliquez sur Jouer.",
"remote.clientIntro": "Choisissez un client existant ou téléchargez-le ici. Aucun serveur local n’est nécessaire.",
"welcome.host.title": "Héberger un serveur",
+1
View File
@@ -2,6 +2,7 @@ import type en from "./en";
/** Русский. Черновой перевод; требует проверки носителем перед релизом. */
const ru: Partial<Record<keyof typeof en, string>> = {
"portable.experimental": "Экспериментальная функция: портативные персонажи ещё в активной разработке. Возможны ошибки.",
"remote.clientReady": "Клиент готов. Сохраните адрес хоста и нажмите «Играть».",
"remote.clientIntro": "Выберите существующий клиент игры или скачайте его здесь. Локальный сервер не требуется.",
"welcome.host.title": "Хочу быть хостом",
+1
View File
@@ -1,5 +1,6 @@
/** Simplified Chinese localization (zh-CN) */
const zh = {
"portable.experimental": "实验性功能:便携角色仍在积极开发中,可能存在错误。",
"remote.clientReady": "客户端已就绪。保存服主地址,然后点击开始游戏。",
"remote.clientIntro": "选择已有游戏客户端,或在此下载。无需安装本地服务器。",
"welcome.host.title": "我要搭建服务器",
+1
View File
@@ -103,6 +103,7 @@ function ServerCharacters({ realm, onClaimed }: { realm: string; onClaimed: () =
}
return <section data-testid="server-characters">
<h3 className="mb-1 font-medium">{t("join.chars.title")}</h3>
<p className="mt-2 rounded-md border border-warn/40 bg-warn/10 p-3 text-sm text-warn">{t("portable.experimental")}</p>
<p className="text-xs text-muted">{t("join.chars.text")}</p>
<Button size="sm" className="mt-2" onClick={() => void load()} disabled={busy !== null}>{busy === "*" && <Loader2 className="h-4 w-4 animate-spin" aria-hidden />}{t("join.chars.show")}</Button>
{list && list.length === 0 && <p className="mt-2 text-sm text-muted">{t("join.chars.none")}</p>}
+1
View File
@@ -271,6 +271,7 @@ export function PortablePage({ onOpenSettings }: { onOpenSettings?: () => void }
</div>
</div>
<p className="mt-2 text-muted">{t("portable.intro")}</p>
<p className="mt-2 rounded-md border border-warn/40 bg-warn/10 p-3 text-sm text-warn">{t("portable.experimental")}</p>
{state && !state.runtime.running && <p className="mt-3 text-sm text-warn" role="status">{t("portable.runtime.stopped")}</p>}
{error && <ErrorLine error={error} />}