feat(i18n): migrate hardcoded German strings to t() across 104 components/pages — AST-based batch with re-parse gate, 423 new de.json keys; tsc clean; vitest failures byte-identical to clean-tree baseline (pre-existing)

This commit is contained in:
Agent Zero
2026-08-27 01:43:06 +02:00
parent 5680179260
commit 4cb5298768
105 changed files with 1204 additions and 459 deletions
+6 -6
View File
@@ -148,7 +148,7 @@ export function AutomationSettingsPage() {
value={form.default_llm_model}
onChange={(e) => updateField('default_llm_model', e.target.value)}
className="w-full rounded-lg border border-secondary-300 px-3 py-2 text-sm focus:outline-none focus:ring-2 focus:ring-primary-500"
placeholder="gpt-4"
placeholder={t('automationSettings.gpt4')}
/>
<p className="text-xs text-secondary-400 mt-1">{t('automation.defaultLlmModelHint')}</p>
</div>
@@ -272,7 +272,7 @@ export function AutomationSettingsPage() {
value={miniAppForm.app_id}
onChange={(e) => setMiniAppForm({ ...miniAppForm, app_id: e.target.value })}
className="w-full rounded-lg border border-secondary-300 px-3 py-2 text-sm"
placeholder="my_custom_app"
placeholder={t('automationSettings.mycustomapp')}
/>
</div>
<div>
@@ -282,7 +282,7 @@ export function AutomationSettingsPage() {
value={miniAppForm.name}
onChange={(e) => setMiniAppForm({ ...miniAppForm, name: e.target.value })}
className="w-full rounded-lg border border-secondary-300 px-3 py-2 text-sm"
placeholder="My Custom App"
placeholder={t('automationSettings.mycustomapp2')}
/>
</div>
<div>
@@ -292,7 +292,7 @@ export function AutomationSettingsPage() {
value={miniAppForm.icon}
onChange={(e) => setMiniAppForm({ ...miniAppForm, icon: e.target.value })}
className="w-full rounded-lg border border-secondary-300 px-3 py-2 text-sm"
placeholder="AppWindow"
placeholder={t('automationSettings.appwindow')}
/>
</div>
<div>
@@ -302,7 +302,7 @@ export function AutomationSettingsPage() {
onChange={(e) => setMiniAppForm({ ...miniAppForm, description: e.target.value })}
rows={2}
className="w-full rounded-lg border border-secondary-300 px-3 py-2 text-sm"
placeholder="Optional description"
placeholder={t('automationSettings.optionaldescription')}
/>
</div>
<div>
@@ -312,7 +312,7 @@ export function AutomationSettingsPage() {
onChange={(e) => setMiniAppForm({ ...miniAppForm, render_schema: e.target.value })}
rows={4}
className="w-full rounded-lg border border-secondary-300 px-3 py-2 text-sm font-mono"
placeholder='{"type": "form", "fields": []}'
placeholder={t('automationSettings.typeformfields')}
/>
</div>
<div className="flex justify-end gap-3 pt-4 border-t border-secondary-200">