diff --git a/cptr/frontend/src/lib/components/Admin/AgentProfileModal.svelte b/cptr/frontend/src/lib/components/Admin/AgentProfileModal.svelte index 5ed263f..57ffe39 100644 --- a/cptr/frontend/src/lib/components/Admin/AgentProfileModal.svelte +++ b/cptr/frontend/src/lib/components/Admin/AgentProfileModal.svelte @@ -168,7 +168,7 @@ id={`${fieldPrefix}-home`} type="text" value={draft.home || ''} - placeholder="Optional" + placeholder={$t('admin.optional')} autocomplete="off" spellcheck="false" oninput={(e) => (draft.home = e.currentTarget.value || null)} @@ -203,7 +203,7 @@ id={`${fieldPrefix}-api-endpoint`} type="text" bind:value={draft.api_endpoint} - placeholder="Optional" + placeholder={$t('admin.optional')} autocomplete="off" spellcheck="false" class="block w-full bg-transparent text-[0.8125rem] text-gray-700 dark:text-gray-300 placeholder:text-gray-300 dark:placeholder:text-gray-700 outline-none py-0.5 font-mono" @@ -221,7 +221,7 @@ id={`${fieldPrefix}-server-url`} type="text" bind:value={draft.server_url} - placeholder="Optional" + placeholder={$t('admin.optional')} autocomplete="off" spellcheck="false" class="block w-full bg-transparent text-[0.8125rem] text-gray-700 dark:text-gray-300 placeholder:text-gray-300 dark:placeholder:text-gray-700 outline-none py-0.5 font-mono" @@ -237,7 +237,7 @@ id={`${fieldPrefix}-server-password`} type="password" bind:value={draft.server_password} - placeholder="Optional" + placeholder={$t('admin.optional')} autocomplete="off" spellcheck="false" class="block w-full bg-transparent text-[0.8125rem] text-gray-700 dark:text-gray-300 placeholder:text-gray-300 dark:placeholder:text-gray-700 outline-none py-0.5 font-mono" diff --git a/cptr/frontend/src/lib/components/Admin/Agents.svelte b/cptr/frontend/src/lib/components/Admin/Agents.svelte index 6a97e67..5b20b12 100644 --- a/cptr/frontend/src/lib/components/Admin/Agents.svelte +++ b/cptr/frontend/src/lib/components/Admin/Agents.svelte @@ -310,7 +310,9 @@ {#if profiles.length === 0} -
No agent profiles
++ {$t('admin.agentsNoProfiles')} +
{/if}Binary file
+{$t('editor.binaryFile')}
{fileData.name} ({formatSize(fileData.size)})
No changes
-This file has no uncommitted modifications.
+{$t('editor.noChanges')}
+{$t('editor.noUncommittedModifications')}
- You have {totalChanges} changed {totalChanges === 1 ? 'file' : 'files'} on - {gitStatus?.branch}. Choose - whether to leave those changes here or bring them to + {$t('git.moveChangesPromptPrefix', { count: totalChanges })} + {gitStatus?.branch}. + {$t('git.moveChangesPromptMiddle')} {pendingCheckoutBranch}.
- You have {totalChanges} changed {totalChanges === 1 ? 'file' : 'files'} on - {gitStatus?.branch}. Choose - whether to leave those changes here or bring them to + {$t('git.moveChangesPromptPrefix', { count: totalChanges })} + {gitStatus?.branch}. + {$t('git.moveChangesPromptMiddle')} {pendingCreateBranch}.
Unable to load changes
++ {$t('git.unableToLoadChanges')} +
{error}
Not a git repository
+{$t('git.notARepo')}
- Changes in this project will appear here. + {$t('git.projectChangesHint')}