i18 cleanup

This commit is contained in:
2026-02-25 18:31:50 +03:00
parent 3f66a58b12
commit 1d8eadf796
48 changed files with 1431 additions and 808 deletions

View File

@@ -219,7 +219,7 @@
} catch (e) {
console.error("Failed to resume task:", e);
passwordPromptErrorMessage =
e.message || $t.migration?.resume_failed || "Failed to resume task";
e.message || $t.migration?.resume_failed ;
// Keep prompt open
}
}
@@ -315,7 +315,7 @@
</div>
{:else}
{#if loading}
<p>{$t.migration?.loading_envs || "Loading environments..."}</p>
<p>{$t.migration?.loading_envs }</p>
{:else if error}
<div
class="bg-red-100 border border-red-400 text-red-700 px-4 py-3 rounded mb-4"
@@ -326,12 +326,12 @@
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
<EnvSelector
label={$t.migration?.source_env || "Source Environment"}
label={$t.migration?.source_env }
bind:selectedId={sourceEnvId}
{environments}
/>
<EnvSelector
label={$t.migration?.target_env || "Target Environment"}
label={$t.migration?.target_env }
bind:selectedId={targetEnvId}
{environments}
/>
@@ -340,7 +340,7 @@
<!-- [DEF:DashboardSelectionSection:Component] -->
<div class="mb-8">
<h2 class="text-lg font-medium mb-4">
{$t.migration?.select_dashboards_title || "Select Dashboards"}
{$t.migration?.select_dashboards_title }
</h2>
{#if sourceEnvId}
@@ -383,7 +383,7 @@
class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"
/>
<label for="replace-db" class="ml-2 block text-sm text-gray-900">
{$t.migration?.replace_db || "Replace Database (Apply Mappings)"}
{$t.migration?.replace_db }
</label>
</div>
</div>
@@ -391,7 +391,7 @@
{#if replaceDb}
<div class="mb-8 p-4 border rounded-md bg-gray-50">
<h3 class="text-md font-medium mb-4">
{$t.migration?.database_mappings || "Database Mappings"}
{$t.migration?.database_mappings }
</h3>
{#if fetchingDbs}
<p>
@@ -411,7 +411,7 @@
on:click={fetchDatabases}
class="text-indigo-600 hover:text-indigo-500 text-sm font-medium"
>
{$t.migration?.refresh_dbs || "Refresh Databases & Suggestions"}
{$t.migration?.refresh_dbs }
</button>
{/if}
</div>
@@ -424,7 +424,7 @@
sourceEnvId === targetEnvId ||
selectedDashboardIds.length === 0}
>
{$t.migration?.start || "Start Migration"}
{$t.migration?.start }
</Button>
{/if}
</div>