Files
WebSpeak-client-for-TeamSpeak/web/src/i18n/host-chrome.ts
T
OddTurtleHead a4ae4de82f fix: close keyframe bypasses on protected controls without policing skin layout
Hold @keyframes to the same hide/yeet checks as regular declarations,
including escaped and namespaced animation names. Loosen decorative
host-chrome layout locks so open skins can restyle layout freely.
Listen for the recovery shortcut in the capture phase, move the
load-failure banner into the host-owned layer, and fix recovery
aria-labels.
2026-11-15 01:09:42 +08:00

42 lines
1.9 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { SiteLanguage } from "../../../src/site-copy.js";
/** All five public languages implement the same host chrome labels. */
const en = {
hint: "Audio controls remain available in the toolbar and voice workspace.",
library: "Application library",
recovery: "Restore built-in skin",
useBuiltIn: "Use built-in skin",
shortcut: "Restore the built-in skin (Ctrl+Alt+Shift+R, or ⌘+⌥+⇧+R on macOS)",
};
export const hostChromeCopy: Record<SiteLanguage, typeof en> = {
en,
zh: {
hint: "音频控制始终保留在工具栏和语音工作区中。",
library: "应用库",
recovery: "恢复内置皮肤",
useBuiltIn: "使用内置皮肤",
shortcut: "恢复内置皮肤(Ctrl+Alt+Shift+R,macOS 为 ⌘+⌥+⇧+R)",
},
de: {
hint: "Audiosteuerung bleibt in der Werkzeugleiste und im Sprachbereich verfügbar.",
library: "Anwendungsbibliothek",
recovery: "Integrierten Skin wiederherstellen",
useBuiltIn: "Integrierten Skin verwenden",
shortcut: "Integrierten Skin wiederherstellen (Strg+Alt+Umschalt+R, unter macOS ⌘+⌥+⇧+R)",
},
ru: {
hint: "Управление звуком остаётся доступным на панели инструментов и в голосовой области.",
library: "Библиотека приложений",
recovery: "Восстановить встроенную тему",
useBuiltIn: "Использовать встроенную тему",
shortcut: "Восстановить встроенную тему (Ctrl+Alt+Shift+R, в macOS ⌘+⌥+⇧+R)",
},
ja: {
hint: "音声コントロールはツールバーと音声ワークスペースで常に利用できます。",
library: "アプリライブラリ",
recovery: "組み込みスキンを復元",
useBuiltIn: "組み込みスキンを使用",
shortcut: "組み込みスキンを復元(Ctrl+Alt+Shift+R、macOS は ⌘+⌥+⇧+R)",
},
};