mirror of
https://github.com/siddharthvaddem/openscreen.git
synced 2026-11-01 20:32:20 +08:00
i18n: add Timeline panel translations for all 12 locales
Add timeline.title and timeline.waveform keys to every settings.json locale file. Replace all hardcoded "Timeline" and "Show Audio Waveform on Trim Track" strings in SettingsPanel with t() calls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
f67e997688
commit
b7d7c08906
@@ -608,7 +608,7 @@ export function SettingsPanel({
|
||||
{ id: "background", label: t("background.title"), icon: Palette },
|
||||
{ id: "effects", label: t("effects.title"), icon: SlidersHorizontal },
|
||||
{ id: "layout", label: t("layout.title"), icon: LayoutPanelTop, disabled: !hasWebcam },
|
||||
{ id: "timeline", label: "Timeline", icon: Brackets },
|
||||
{ id: "timeline", label: t("timeline.title"), icon: Brackets },
|
||||
...(hasCursorPanel
|
||||
? [
|
||||
{
|
||||
@@ -631,7 +631,7 @@ export function SettingsPanel({
|
||||
? t("speed.playbackSpeed")
|
||||
: t("trim.deleteRegion")
|
||||
: activePanelMode === "timeline"
|
||||
? "Timeline"
|
||||
? t("timeline.title")
|
||||
: ([...panelModes, exportPanelMode].find((mode) => mode.id === activePanelMode)?.label ??
|
||||
t("background.title"));
|
||||
|
||||
@@ -1709,13 +1709,13 @@ export function SettingsPanel({
|
||||
<AccordionTrigger className="py-2.5 hover:no-underline">
|
||||
<div className="flex items-center gap-2">
|
||||
<Brackets className="w-4 h-4 text-[#34B27B]" />
|
||||
<span className="text-xs font-medium">Timeline</span>
|
||||
<span className="text-xs font-medium">{t("timeline.title")}</span>
|
||||
</div>
|
||||
</AccordionTrigger>
|
||||
<AccordionContent className="pb-3">
|
||||
<div className="flex items-center justify-between p-2 rounded-lg editor-control-surface">
|
||||
<div className="text-[10px] font-medium text-slate-300">
|
||||
Show Audio Waveform on Trim Track
|
||||
{t("timeline.waveform")}
|
||||
</div>
|
||||
<Switch
|
||||
checked={showTrimWaveform}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "اللغة"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "المخطط الزمني",
|
||||
"waveform": "عرض الموجة الصوتية على مسار القطع"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Language"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"waveform": "Show Audio Waveform on Trim Track"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Idioma"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Línea de tiempo",
|
||||
"waveform": "Mostrar forma de onda en pista de recorte"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,5 +204,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Langue"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Montage",
|
||||
"waveform": "Afficher la forme d'onde sur la piste de découpe"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,5 +202,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Lingua"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"waveform": "Mostra la forma d'onda sulla traccia di ritaglio"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "言語"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "タイムライン",
|
||||
"waveform": "トリムトラックに音声波形を表示"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "언어"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "타임라인",
|
||||
"waveform": "트림 트랙에 오디오 파형 표시"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Язык"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Таймлайн",
|
||||
"waveform": "Показать волну на дорожке обрезки"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Dil"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Zaman Tüneli",
|
||||
"waveform": "Kırpma Parçasında Ses Dalgasını Göster"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "Ngôn ngữ"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Dòng thời gian",
|
||||
"waveform": "Hiển thị dạng sóng âm thanh trên rãnh cắt"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,5 +203,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "语言"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "时间轴",
|
||||
"waveform": "在剪辑轨道上显示音频波形"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,5 +204,9 @@
|
||||
},
|
||||
"language": {
|
||||
"title": "語言"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "時間軸",
|
||||
"waveform": "在修剪軌道上顯示音訊波形"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user