Skip to content

Modern Docker Management, Designed for Everyone

fix(#3025): complete frontend i18n coverage (#3029)

olzi852d941ea725
diff --git a/AGENTS.md b/AGENTS.md
index a0b8ad3ab..f1c3c411c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -148,6 +148,10 @@ All user-facing text goes in `frontend/messages/en.json`, accessed via Paraglide
<Button>{m.common_save_changes()}</Button>
```
+**AI Agent Rule for i18n**:
+- Never use hardcoded English strings in frontend UI components (`.svelte` files). This includes text inside HTML tags and text assigned to variables, props, or state that is rendered in the UI.
+- Always define new keys ONLY in `frontend/messages/en.json` and use `m.*()`. Do NOT edit other language files (e.g., `fr.json`, `es.json`) because translations are handled automatically by Crowdin via pull requests.
+
## RBAC Architecture
Three layers — keep them separate:
diff --git a/frontend/messages/en.json b/frontend/messages/en.json
index 56d909099..aa2f50c1a 100644
--- a/frontend/messages/en.json
+++ b/frontend/messages/en.json
@@ -86,6 +86,9 @@
"common_port_mappings": "Port Mappings",
"common_exposed_ports": "Exposed Ports",
"common_open_menu": "Open menu",
+ "common_more_actions": "More actions",
+ "common_more": "More",
+ "common_more_pages": "More pages",
"common_actions": "Actions",
"common_inspect": "Inspect",
"common_view": "View",
@@ -207,6 +210,8 @@
"common_token_placeholder": "Your access token",
"common_keep_placeholder": "Leave empty to keep current",
"common_toggle_theme": "Toggle theme",
+ "common_unpin_sidebar": "Unpin sidebar",
+ "common_pin_sidebar": "Pin sidebar",
"log_auto_scroll_tooltip": "Keeps the view pinned to the newest log lines while new entries arrive.",
"log_auto_start_tooltip": "Starts streaming logs automatically when you open this panel.",
"log_parsed_mode_tooltip": "Shows structured logs in parsed form when available. Turn it off to see the original raw line text.",
@@ -426,6 +431,25 @@
"auth_oidc_init_failed": "Failed to initiate OIDC login. Please try again.",
"auth_oidc_redirecting_title": "Redirecting to Login…",
"auth_oidc_redirecting_description": "Please wait while we redirect you to your identity provider.",
+ "account_title": "Account",
+ "account_subtitle": "Manage your profile, password, and active sessions",
+ "account_profile_title": "Profile",
+ "account_profile_description": "Update your display name and email",
+ "account_single_sign_on": "Single sign-on account",
+ "account_local_account": "Local account",
+ "account_last_login_prefix": "Last login",
+ "account_display_name_label": "Display Name",
+ "account_display_name_placeholder": "Your name",
+ "account_email_placeholder": "[email protected]",
+ "account_profile_managed_by_idp": "Profile details are managed by your identity provider.",
+ "account_email_label": "Email",
+ "account_password_min_length": "At least 8 characters",
+ "account_passwords_dont_match": "Passwords don't match",
+ "account_save_profile": "Save profile",
+ "account_update_password": "Update password",
+ "account_api_keys_title": "API keys",
+ "account_api_keys_description": "Personal tokens for programmatic access",
+ "account_new_key": "New key",
"_comment_dashboard": "=== DASHBOARD ===",
"dashboard_title": "Dashboard",
"dashboard_subtitle": "Overview of your Container Environment",
@@ -680,6 +704,12 @@
"compose_editor_command_palette": "Command palette",
"compose_editor_resize_files_panel": "Resize project files panel",
"compose_editor_resize_compose_env": "Resize compose and env editors",
+ "editor_errors": "errors",
+ "editor_warnings": "warnings",
+ "editor_schema": "Schema",
+ "editor_line": "Ln",
+ "editor_column": "Col",
+ "editor_diagnostics": "Diagnostics",
"tabs_compose": "Compose",
"tabs_inspect": "Inspect",
"tabs_environment": "Environment",
@@ -2065,7 +2095,8 @@
"docker_info_ipv4_forwarding": "IPv4 Forwarding",
"docker_info_http_proxy": "HTTP Proxy",
"docker_info_https_proxy": "HTTPS Proxy",
- "docker_info_no_proxy": "No Proxy", "docker_info_plugins_section": "Plugins",
+ "docker_info_no_proxy": "No Proxy",
+ "docker_info_plugins_section": "Plugins",
"docker_info_logs_plugin": "Logs",
"docker_info_security_options": "Security Options",
"docker_info_runtimes": "Runtimes",
@@ -3016,7 +3047,6 @@
"settings_default_deploy_pull_policy_description": "Default image pull policy when deploying projects",
"authentication_title": "Authentication",
"authentication_description": "Configure authentication providers, password policy, and session behavior.",
-
"webhook_page_title": "Webhooks",
"webhook_page_description": "Manage inbound webhooks to trigger container, project, updater, or GitOps actions from external systems.",
"webhook_create_button": "Create Webhook",
@@ -3273,5 +3303,73 @@
"diagnostics_profile_trace": "Trace (5s)",
"_comment_no_access": "=== NO ACCESS PAGE ===",
"no_access_page_title": "You don't have access to anything yet",
- "no_access_page_body": "Your Arcane administrator hasn't assigned you any role permissions. Ask them to add a role to your account from Settings → Users."
+ "no_access_page_body": "Your Arcane administrator hasn't assigned you any role permissions. Ask them to add a role to your account from Settings → Users.",
+ "project_logs_realtime_desc": "Real-time project logs",
+ "swarm_stack_source_loading": "Loading saved source...",
+ "swarm_stack_source_load_error": "Arcane couldn’t load the saved source files for this stack.",
+ "volume_backup_no_files": "No files found in this backup.",
+ "swarm_stack_saved_source": "Saved source for {stackName}",
+ "common_missing": "Missing",
+ "editor_outline": "Outline",
+ "editor_validating": "Validating...",
+ "editor_commands": "Editor Commands",
+ "editor_search_commands": "Search editor commands...",
+ "container_source_path_or_volume": "Source path or volume name",
+ "container_path": "Container path",
+ "container_select_restart_policy": "Select restart policy",
+ "docker_copy_commit_hash": "Copy full commit hash",
+ "common_clear_search": "Clear search",
+ "event_copy_metadata": "Copy metadata JSON",
+ "common_documentation": "Documentation",
+ "common_github": "GitHub",
+ "file_browser_restore": "Restore file from backup",
+ "file_browser_no_backups": "No backups available.",
+ "file_browser_backup": "Backup",
+ "file_browser_backup_missing_file": "This backup does not contain the selected file.",
+ "nav_expand_user_card": "Expand user card",
+ "network_example_subnet": "e.g., 172.20.0.0/16",
+ "network_example_gateway": "e.g., 172.20.0.1",
+ "env_edge_agent_desc": "Edge agent - connects outbound to manager",
+ "env_remote_docker_host": "Remote Docker Host",
+ "sidebar_toggle_submenu": "Toggle submenu",
+ "common_account": "Account",
+ "common_log_out": "Log out",
+ "terminal_reconnect": "Reconnect shell",
+ "sidebar_toggle": "Toggle Sidebar",
+ "account_profile": "Profile",
+ "account_profile_desc": "Update your display name and email",
+ "account_password": "Password",
+ "account_password_desc": "Change your account password",
+ "account_current_password": "Current password",
+ "account_new_password": "New password",
+ "account_confirm_password": "Confirm new password",
+ "account_preferences": "Preferences",
+ "account_preferences_desc": "Personal display preferences",
+ "account_theme": "Theme",
+ "account_language": "Language",
+ "account_language_desc": "UI language for this account",
+ "account_roles": "Your assigned roles",
+ "account_no_roles": "No roles assigned.",
+ "account_danger_zone": "Danger zone",
+ "account_danger_zone_desc": "Session-level actions that affect every device",
+ "account_signout_other": "Sign out other sessions",
+ "account_signout_this": "Sign out of this device.",
+ "container_network_id": "Network ID",
+ "container_endpoint_id": "Endpoint ID",
+ "container_driver": "Driver",
+ "container_propagation": "Propagation",
+ "jobs_search_containers": "Search containers...",
+ "build_file_contents": "File contents",
+ "build_saving_overwrite": "Saving will overwrite the file contents.",
+ "volume_restore_files": "Restore files",
+ "volume_search_files": "Search files",
+ "account_member_since": "Member since",
+ "account_roles_and_access": "Roles & access",
+ "account_role_environment": "Environment: {env}",
+ "account_global_scope": "Global scope",
+ "account_via_sso": "· via SSO",
+ "account_signout_other_desc": "Revokes every active session except this one. Useful if you forgot to log out somewhere.",
+ "common_select_all": "Select all",
+ "common_clear": "Clear",
+ "swarm_stacks_not_deployed_files_found": "This stack is not currently deployed, but Arcane still found its saved source files."
}
diff --git a/frontend/src/lib/components/action-button-group/action-button-group.svelte b/frontend/src/lib/components/action-button-group/action-button-group.svelte
index c10de98c8..1faae5405 100644
--- a/frontend/src/lib/components/action-button-group/action-button-group.svelte
+++ b/frontend/src/lib/components/action-button-group/action-button-group.svelte
@@ -5,6 +5,7 @@
import type { ArcaneButtonSize } from '$lib/components/arcane-button/index.js';
import { EllipsisIcon } from '$lib/icons';
import { cn } from '$lib/utils';
+ import { m } from '$lib/paraglide/messages';
import { ArrowDownIcon } from '$lib/icons';
import type { ActionButton, ActionButtonMenuItem } from './types.js';
@@ -150,7 +151,7 @@
'border-input bg-background hover:bg-accent hover:text-accent-foreground inline-flex items-center justify-center rounded-md border transition-colors outline-none',
size === 'sm' ? 'size-8' : 'size-9'
)}
- aria-label="Open menu"
+ aria-label={m.common_open_menu()}
>
<ArrowDownIcon class="size-4" />
</DropdownMenu.Trigger>
@@ -230,7 +231,7 @@
size="icon"
class={cn('shrink-0', size === 'sm' ? 'size-8' : 'size-9')}
>
- <span class="sr-only">More actions</span>
+ <span class="sr-only">{m.common_more_actions()}</span>
<EllipsisIcon class="size-4" />
</ArcaneButton>
{/snippet}
diff --git a/frontend/src/lib/components/code-editor/editor.svelte b/frontend/src/lib/components/code-editor/editor.svelte
index 491529eb8..b35d05c16 100644
--- a/frontend/src/lib/components/code-editor/editor.svelte
+++ b/frontend/src/lib/components/code-editor/editor.svelte
@@ -845,18 +845,19 @@
<div class="editor-status">
<span>{diagnosticSummary.errors} errors</span>
- <span>{diagnosticSummary.warnings} warnings</span>
- <span>Schema: {diagnosticSummary.schemaStatus}</span>
- <span>Ln {diagnosticSummary.cursorLine}, Col {diagnosticSummary.cursorCol}</span>
- <span>Diagnostics: {countCurrentDiagnostics()}</span>
+ <span>{diagnosticSummary.errors} {m.editor_errors()}</span>
+ <span>{diagnosticSummary.warnings} {m.editor_warnings()}</span>
+ <span>{m.editor_schema()}: {diagnosticSummary.schemaStatus}</span>
+ <span>{m.editor_line()} {diagnosticSummary.cursorLine}, {m.editor_column()} {diagnosticSummary.cursorCol}</span>
+ <span>{m.editor_diagnostics()}: {countCurrentDiagnostics()}</span>
{#if !validationReady}
- <span class="status-muted">Validating...</span>
+ <span class="status-muted">{m.editor_validating()}</span>
{/if}
</div>
- <Command.Dialog bind:open={commandPaletteOpen} title="Editor Commands" description="Run editor commands">
+ <Command.Dialog bind:open={commandPaletteOpen} title={m.editor_commands()} description="Run editor commands">
{#snippet children()}
- <Command.Input placeholder="Search editor commands..." />
+ <Command.Input placeholder={m.editor_search_commands()} />
<Command.List>
<Command.Empty>{m.common_no_results_found()}</Command.Empty>
<Command.Group>
diff --git a/frontend/src/lib/components/dialogs/create-container-dialog.svelte b/frontend/src/lib/components/dialogs/create-container-dialog.svelte
index cfb8b448e..84b0fb77e 100644
--- a/frontend/src/lib/components/dialogs/create-container-dialog.svelte
+++ b/frontend/src/lib/components/dialogs/create-container-dialog.svelte
@@ -568,7 +568,7 @@
<div class="flex flex-col gap-2 sm:flex-row sm:items-center sm:gap-3">
<Input
type="text"
- placeholder="Source path or volume name"
+ placeholder={m.container_source_path_or_volume()}
bind:value={mount.source}
disabled={isLoading}
class="flex-1"
@@ -576,7 +576,7 @@
<span class="text-muted-foreground hidden sm:inline">:</span>
<Input
type="text"
- placeholder="Container path"
+ placeholder={m.container_path()}
bind:value={mount.destination}
disabled={isLoading}
class="flex-1"
@@ -686,7 +686,7 @@
label={m.restart_policy_label()}
description={m.restart_policy_description()}
options={restartPolicies}
- placeholder="Select restart policy"
+ placeholder={m.container_select_restart_policy()}
/>
{#if $inputs.restartPolicy.value === 'on-failure'}
diff --git a/frontend/src/lib/components/dialogs/docker-info-dialog.svelte b/frontend/src/lib/components/dialogs/docker-info-dialog.svelte
index 1342c4d24..22913fdb0 100644
--- a/frontend/src/lib/components/dialogs/docker-info-dialog.svelte
+++ b/frontend/src/lib/components/dialogs/docker-info-dialog.svelte
@@ -195,7 +195,7 @@
<div class="flex items-center justify-end gap-2">
<code class="bg-muted rounded px-1.5 py-0.5 text-xs">{info.gitCommit?.slice(0, 8) ?? '-'}</code>
{#if info.gitCommit}
- <CopyButton text={info.gitCommit} size="icon" class="size-6" title="Copy full commit hash" />
+ <CopyButton text={info.gitCommit} size="icon" class="size-6" title={m.docker_copy_commit_hash()} />
{/if}
</div>
</div>
diff --git a/frontend/src/lib/components/dialogs/environment-switcher-dialog.svelte b/frontend/src/lib/components/dialogs/environment-switcher-dialog.svelte
index a249e0e6e..6dd6a530b 100644
--- a/frontend/src/lib/components/dialogs/environment-switcher-dialog.svelte
+++ b/frontend/src/lib/components/dialogs/environment-switcher-dialog.svelte
@@ -261,7 +261,7 @@
type="button"
onclick={clearSearch}
class="text-muted-foreground hover:text-foreground hover:bg-muted absolute top-1/2 right-3 -translate-y-1/2 rounded-sm p-0.5 transition-colors"
- title="Clear search"
+ title={m.common_clear_search()}
>
<CloseIcon class="size-4" />
</button>
diff --git a/frontend/src/lib/components/dialogs/event-details-dialog.svelte b/frontend/src/lib/components/dialogs/event-details-dialog.svelte
index e723e36b2..c97ba7393 100644
--- a/frontend/src/lib/components/dialogs/event-details-dialog.svelte
+++ b/frontend/src/lib/components/dialogs/event-details-dialog.svelte
@@ -227,7 +227,7 @@
<div class="rounded-lg border">
<div class="flex items-center justify-between border-b px-3 py-2">
<h3 class="text-sm font-medium">{m.events_metadata_title()}</h3>
- <CopyButton text={metadataJson} variant="outline" size="sm" title="Copy metadata JSON">
+ <CopyButton text={metadataJson} variant="outline" size="sm" title={m.event_copy_metadata()}>
{m.common_copy_json()}
</CopyButton>
</div>
diff --git a/frontend/src/lib/components/dialogs/version-info-dialog.svelte b/frontend/src/lib/components/dialogs/version-info-dialog.svelte
index f75fd02d8..d0c5bb0a5 100644
--- a/frontend/src/lib/components/dialogs/version-info-dialog.svelte
+++ b/frontend/src/lib/components/dialogs/version-info-dialog.svelte
@@ -92,7 +92,7 @@
tone="outline"
size="icon"
onclick={() => window.open('https://getarcane.app', '_blank')}
- title="Documentation"
+ title={m.common_documentation()}
icon={BookOpenIcon}
/>
<ArcaneButton
@@ -100,7 +100,7 @@
tone="outline"
size="icon"
onclick={() => window.open('https://github.com/getarcaneapp/arcane', '_blank')}
- title="GitHub"
+ title={m.common_github()}
icon={GithubIcon}
/>
</div>
diff --git a/frontend/src/lib/components/file-browser/GenericFileBrowser.svelte b/frontend/src/lib/components/file-browser/GenericFileBrowser.svelte
index 3bd3b8a93..249729192 100644
--- a/frontend/src/lib/components/file-browser/GenericFileBrowser.svelte
+++ b/frontend/src/lib/components/file-browser/GenericFileBrowser.svelte
@@ -15,6 +15,7 @@
</script>
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import { onMount } from 'svelte';
import FileList from './FileList.svelte';
import FileBreadcrumb from './FileBreadcrumb.svelte';
@@ -23,7 +24,6 @@
import CreateFolderDialog from './CreateFolderDialog.svelte';
import FileUploadDialog from './FileUploadDialog.svelte';
import FilePreview from './FilePreview.svelte';
- import * as m from '$lib/paraglide/messages.js';
import { Spinner } from '$lib/components/ui/spinner/index.js';
import { ResponsiveDialog } from '$lib/components/ui/responsive-dialog';
import * as Select from '$lib/components/ui/select';
@@ -252,7 +252,7 @@
<ResponsiveDialog
open={showRestoreFile}
onOpenChange={(nextOpen) => (showRestoreFile = nextOpen)}
- title="Restore file from backup"
+ title={m.file_browser_restore()}
description="Select a backup to restore the chosen file."
contentClass="sm:max-w-[520px]"
>
@@ -277,10 +277,10 @@
Loading backups...
</div>
{:else if backups.length === 0}
- <div class="text-muted-foreground text-sm">No backups available.</div>
+ <div class="text-muted-foreground text-sm">{m.file_browser_no_backups()}</div>
{:else}
<div class="space-y-2">
- <Label for="restore-backup-select">Backup</Label>
+ <Label for="restore-backup-select">{m.file_browser_backup()}</Label>
<div class="w-full overflow-hidden">
<Select.Root
type="single"
@@ -309,7 +309,7 @@
Checking backup contents...
</div>
{:else if backupHasFile === false}
- <div class="text-destructive text-xs">This backup does not contain the selected file.</div>
+ <div class="text-destructive text-xs">{m.file_browser_backup_missing_file()}</div>
{/if}
{/if}
{/if}
diff --git a/frontend/src/lib/components/mobile-nav/mobile-user-card.svelte b/frontend/src/lib/components/mobile-nav/mobile-user-card.svelte
index 5b8026ebd..764508dda 100644
--- a/frontend/src/lib/components/mobile-nav/mobile-user-card.svelte
+++ b/frontend/src/lib/components/mobile-nav/mobile-user-card.svelte
@@ -59,7 +59,7 @@
<div class="flex items-center gap-2">
<div
role="button"
- aria-label="Expand user card"
+ aria-label={m.nav_expand_user_card()}
class={cn('text-muted-foreground/60 transition-transform duration-200', userCardExpanded && 'rotate-180 transform')}
>
<ArrowDownIcon class="size-8" />
diff --git a/frontend/src/lib/components/sheets/create-network-sheet.svelte b/frontend/src/lib/components/sheets/create-network-sheet.svelte
index aa554797a..a31e65409 100644
--- a/frontend/src/lib/components/sheets/create-network-sheet.svelte
+++ b/frontend/src/lib/components/sheets/create-network-sheet.svelte
@@ -271,7 +271,7 @@
<Input
id="subnet"
type="text"
- placeholder="e.g., 172.20.0.0/16"
+ placeholder={m.network_example_subnet()}
disabled={isLoading}
bind:value={$inputs.subnet.value}
class={$inputs.subnet.error ? 'border-destructive' : ''}
@@ -287,7 +287,7 @@
<Input
id="gateway"
type="text"
- placeholder="e.g., 172.20.0.1"
+ placeholder={m.network_example_gateway()}
disabled={isLoading}
bind:value={$inputs.gateway.value}
class={$inputs.gateway.error ? 'border-destructive' : ''}
diff --git a/frontend/src/lib/components/sheets/new-environment-sheet.svelte b/frontend/src/lib/components/sheets/new-environment-sheet.svelte
index 27d30df77..3d37276e0 100644
--- a/frontend/src/lib/components/sheets/new-environment-sheet.svelte
+++ b/frontend/src/lib/components/sheets/new-environment-sheet.svelte
@@ -227,7 +227,7 @@
{#if createdEnvironment.isEdge}
<div class="bg-primary/10 text-primary flex items-center gap-2 rounded-lg p-3 text-sm">
<EdgeConnectionIcon class="size-5" />
- <span>Edge agent - connects outbound to manager</span>
+ <span>{m.env_edge_agent_desc()}</span>
</div>
{/if}
@@ -355,7 +355,7 @@
Agent connects outbound to the manager. No exposed ports required - ideal for firewalled environments.
</p>
<form onsubmit={preventDefault(handleEdgeSubmit)} class="space-y-4">
- <FormInput label={m.common_name()} placeholder="Remote Docker Host" bind:input={$edgeInputs.name} />
+ <FormInput label={m.common_name()} placeholder={m.env_remote_docker_host()} bind:input={$edgeInputs.name} />
<LabeledSwitch
id="new-edge-agent-mtls"
diff --git a/frontend/src/lib/components/sidebar/sidebar-collapsible-item.svelte b/frontend/src/lib/components/sidebar/sidebar-collapsible-item.svelte
index 3bd61347e..4d0bb8b65 100644
--- a/frontend/src/lib/components/sidebar/sidebar-collapsible-item.svelte
+++ b/frontend/src/lib/components/sidebar/sidebar-collapsible-item.svelte
@@ -1,4 +1,5 @@
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import type { Snippet } from 'svelte';
import * as Collapsible from '$lib/components/ui/collapsible/index.js';
import * as Sidebar from '$lib/components/ui/sidebar/index.js';
@@ -48,7 +49,7 @@
</Sidebar.MenuButton>
<Collapsible.Trigger>
{#snippet child({ props })}
- <Sidebar.MenuAction {...props} aria-label="Toggle submenu" class="data-[state=open]:bg-sidebar-accent">
+ <Sidebar.MenuAction {...props} aria-label={m.sidebar_toggle_submenu()} class="data-[state=open]:bg-sidebar-accent">
<ArrowRightIcon class="transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />
</Sidebar.MenuAction>
{/snippet}
diff --git a/frontend/src/lib/components/sidebar/sidebar-pin-button.svelte b/frontend/src/lib/components/sidebar/sidebar-pin-button.svelte
index d207b0a01..e901932a4 100644
--- a/frontend/src/lib/components/sidebar/sidebar-pin-button.svelte
+++ b/frontend/src/lib/components/sidebar/sidebar-pin-button.svelte
@@ -3,6 +3,7 @@
import { cn } from '$lib/utils.js';
import { useSidebar } from '$lib/components/ui/sidebar/context.svelte.js';
import { PinOnIcon, PinOffIcon } from '$lib/icons';
+ import { m } from '$lib/paraglide/messages';
let {
ref = $bindable(null),
@@ -28,7 +29,7 @@
class={cn('text-muted-foreground hover:text-foreground size-7', className)}
type="button"
disabled={sidebar.isTablet}
- title={isPinned ? 'Unpin sidebar' : 'Pin sidebar'}
+ title={isPinned ? m.common_unpin_sidebar() : m.common_pin_sidebar()}
onclick={(e) => {
e.preventDefault();
e.stopPropagation();
@@ -45,9 +46,9 @@
>
{#if isPinned}
<PinOnIcon />
- <span class="sr-only">Unpin sidebar</span>
+ <span class="sr-only">{m.common_unpin_sidebar()}</span>
{:else}
<PinOffIcon />
- <span class="sr-only">Pin sidebar</span>
+ <span class="sr-only">{m.common_pin_sidebar()}</span>
{/if}
</ArcaneButton>
diff --git a/frontend/src/lib/components/sidebar/sidebar-user.svelte b/frontend/src/lib/components/sidebar/sidebar-user.svelte
index 13a1cf379..965c8c926 100644
--- a/frontend/src/lib/components/sidebar/sidebar-user.svelte
+++ b/frontend/src/lib/components/sidebar/sidebar-user.svelte
@@ -1,4 +1,5 @@
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import * as Avatar from '$lib/components/ui/avatar/index.js';
import * as DropdownMenu from '$lib/components/ui/dropdown-menu/index.js';
import * as Sidebar from '$lib/components/ui/sidebar/index.js';
@@ -130,7 +131,7 @@
}}
>
<UserIcon class="text-muted-foreground size-4 shrink-0" />
- <span>Account</span>
+ <span>{m.common_account()}</span>
</button>
{#if !autoLoginEnabled}
@@ -140,7 +141,7 @@
class="hover:bg-destructive/10 text-destructive flex w-full items-center gap-2.5 rounded-lg px-2 py-2 text-sm transition-colors"
>
<LogoutIcon class="size-4 shrink-0" />
- <span>Log out</span>
+ <span>{m.common_log_out()}</span>
</button>
</form>
{/if}
diff --git a/frontend/src/lib/components/terminal/terminal-controls.svelte b/frontend/src/lib/components/terminal/terminal-controls.svelte
index a67929bf1..b70e6b0dc 100644
--- a/frontend/src/lib/components/terminal/terminal-controls.svelte
+++ b/frontend/src/lib/components/terminal/terminal-controls.svelte
@@ -111,7 +111,7 @@
tone="ghost"
onclick={onReconnect}
class="size-8"
- title="Reconnect shell"
+ title={m.terminal_reconnect()}
showLabel={false}
/>
</div>
diff --git a/frontend/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte b/frontend/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte
index 3a8d82850..f2ec057bc 100644
--- a/frontend/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte
+++ b/frontend/src/lib/components/ui/breadcrumb/breadcrumb-ellipsis.svelte
@@ -3,6 +3,7 @@
import type { HTMLAttributes } from 'svelte/elements';
import { cn } from '$lib/utils.js';
import { EllipsisIcon } from '$lib/icons';
+ import { m } from '$lib/paraglide/messages';
let {
ref = $bindable(null),
@@ -19,5 +20,5 @@
{...restProps}
>
<EllipsisIcon class="size-4" />
- <span class="sr-only">More</span>
+ <span class="sr-only">{m.common_more()}</span>
</span>
diff --git a/frontend/src/lib/components/ui/copy-button/copy-button.svelte b/frontend/src/lib/components/ui/copy-button/copy-button.svelte
index c68207459..597969cfe 100644
--- a/frontend/src/lib/components/ui/copy-button/copy-button.svelte
+++ b/frontend/src/lib/components/ui/copy-button/copy-button.svelte
@@ -58,12 +58,12 @@
{#if clipboard.status === 'success'}
<div in:scale={{ duration: animationDuration, start: 0.85 }}>
<CheckIcon tabindex={-1} />
- <span class="sr-only">Copied</span>
+ <span class="sr-only">{m.common_copied()}</span>
</div>
{:else if clipboard.status === 'failure'}
<div in:scale={{ duration: animationDuration, start: 0.85 }}>
<CloseIcon tabindex={-1} />
- <span class="sr-only">Failed to copy</span>
+ <span class="sr-only">{m.common_copy_failed()}</span>
</div>
{:else}
<div in:scale={{ duration: animationDuration, start: 0.85 }}>
@@ -72,7 +72,7 @@
{:else}
<CopyIcon tabindex={-1} />
{/if}
- <span class="sr-only">Copy</span>
+ <span class="sr-only">{m.common_copy()}</span>
</div>
{/if}
{@render children?.()}
@@ -97,7 +97,7 @@
{:else}
<CopyIcon tabindex={-1} />
{/if}
- <span class="sr-only">Copy</span>
+ <span class="sr-only">{m.common_copy()}</span>
</div>
{@render children?.()}
</ArcaneButton>
diff --git a/frontend/src/lib/components/ui/dialog/dialog-content.svelte b/frontend/src/lib/components/ui/dialog/dialog-content.svelte
index 592f26277..fd75aad71 100644
--- a/frontend/src/lib/components/ui/dialog/dialog-content.svelte
+++ b/frontend/src/lib/components/ui/dialog/dialog-content.svelte
@@ -4,6 +4,7 @@
import type { Snippet } from 'svelte';
import Overlay from './dialog-overlay.svelte';
import { cn, type WithoutChildrenOrChild } from '$lib/utils.js';
+ import { m } from '$lib/paraglide/messages';
let {
ref = $bindable(null),
@@ -38,7 +39,7 @@
class="ring-offset-background focus:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"
>
<CloseIcon />
- <span class="sr-only">Close</span>
+ <span class="sr-only">{m.common_close()}</span>
</DialogPrimitive.Close>
{/if}
</DialogPrimitive.Content>
diff --git a/frontend/src/lib/components/ui/pagination/pagination-ellipsis.svelte b/frontend/src/lib/components/ui/pagination/pagination-ellipsis.svelte
index 2c9a20cd8..98e762672 100644
--- a/frontend/src/lib/components/ui/pagination/pagination-ellipsis.svelte
+++ b/frontend/src/lib/components/ui/pagination/pagination-ellipsis.svelte
@@ -1,5 +1,6 @@
<script lang="ts">
import { EllipsisIcon } from '$lib/icons';
+ import { m } from '$lib/paraglide/messages';
import type { WithElementRef, WithoutChildren } from 'bits-ui';
import type { HTMLAttributes } from 'svelte/elements';
import { cn } from '$lib/utils.js';
@@ -13,5 +14,5 @@
<span bind:this={ref} aria-hidden="true" class={cn('flex size-9 items-center justify-center', className)} {...restProps}>
<EllipsisIcon class="size-4" />
- <span class="sr-only">More pages</span>
+ <span class="sr-only">{m.common_more_pages()}</span>
</span>
diff --git a/frontend/src/lib/components/ui/sheet/sheet-content.svelte b/frontend/src/lib/components/ui/sheet/sheet-content.svelte
index a61c5dba1..f36ab9632 100644
--- a/frontend/src/lib/components/ui/sheet/sheet-content.svelte
+++ b/frontend/src/lib/components/ui/sheet/sheet-content.svelte
@@ -21,6 +21,7 @@
</script>
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import { Dialog as SheetPrimitive } from 'bits-ui';
import { CloseIcon } from '$lib/icons';
import type { Snippet } from 'svelte';
@@ -49,7 +50,7 @@
class="ring-offset-background focus-visible:ring-ring absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden disabled:pointer-events-none"
>
<CloseIcon class="size-4" />
- <span class="sr-only">Close</span>
+ <span class="sr-only">{m.common_close()}</span>
</SheetPrimitive.Close>
</SheetPrimitive.Content>
</SheetPrimitive.Portal>
diff --git a/frontend/src/lib/components/ui/sidebar/sidebar-rail.svelte b/frontend/src/lib/components/ui/sidebar/sidebar-rail.svelte
index fba1c3b70..b812d8b3b 100644
--- a/frontend/src/lib/components/ui/sidebar/sidebar-rail.svelte
+++ b/frontend/src/lib/components/ui/sidebar/sidebar-rail.svelte
@@ -1,4 +1,5 @@
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import { cn, type WithElementRef } from '$lib/utils.js';
import type { HTMLAttributes } from 'svelte/elements';
import { useSidebar } from './context.svelte.js';
@@ -17,7 +18,7 @@
bind:this={ref}
data-sidebar="rail"
data-slot="sidebar-rail"
- aria-label="Toggle Sidebar"
+ aria-label={m.sidebar_toggle()}
tabindex={sidebar.isTablet ? -1 : -1}
onclick={() => {
if (!sidebar.isTablet) {
diff --git a/frontend/src/lib/components/ui/sidebar/sidebar-trigger.svelte b/frontend/src/lib/components/ui/sidebar/sidebar-trigger.svelte
index 14f3a6d84..a7a58b85e 100644
--- a/frontend/src/lib/components/ui/sidebar/sidebar-trigger.svelte
+++ b/frontend/src/lib/components/ui/sidebar/sidebar-trigger.svelte
@@ -1,4 +1,5 @@
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import { ArcaneButton } from '$lib/components/arcane-button/index.js';
import { cn } from '$lib/utils.js';
import { ArrowLeftIcon } from '$lib/icons';
@@ -40,5 +41,5 @@
{...restProps}
>
<ArrowLeftIcon />
- <span class="sr-only">Toggle Sidebar</span>
+ <span class="sr-only">{m.sidebar_toggle()}</span>
</ArcaneButton>
diff --git a/frontend/src/lib/components/ui/spinner/spinner.svelte b/frontend/src/lib/components/ui/spinner/spinner.svelte
index a6df513a1..d74f5648a 100644
--- a/frontend/src/lib/components/ui/spinner/spinner.svelte
+++ b/frontend/src/lib/components/ui/spinner/spinner.svelte
@@ -1,6 +1,7 @@
<script lang="ts">
import { cn } from '$lib/utils.js';
import { LoadingSpinnerIcon } from '$lib/icons';
+ import { m } from '$lib/paraglide/messages';
import type { ComponentProps } from 'svelte';
type Props = ComponentProps<typeof LoadingSpinnerIcon>;
@@ -8,4 +9,4 @@
let { class: className, ...restProps }: Props = $props();
</script>
-<LoadingSpinnerIcon role="status" aria-label="Loading" class={cn('size-4', className)} {...restProps} />
+<LoadingSpinnerIcon role="status" aria-label={m.common_loading()} class={cn('size-4', className)} {...restProps} />
diff --git a/frontend/src/routes/(app)/account/+page.svelte b/frontend/src/routes/(app)/account/+page.svelte
index f8e7a80d7..41c87511b 100644
--- a/frontend/src/routes/(app)/account/+page.svelte
+++ b/frontend/src/routes/(app)/account/+page.svelte
@@ -240,8 +240,8 @@
<UserIcon class="size-4 sm:size-5" />
</div>
<div class="min-w-0">
- <h1 class="text-2xl font-semibold tracking-tight sm:text-3xl">Account</h1>
- <p class="text-muted-foreground mt-1 text-sm">Manage your profile, password, and active sessions</p>
+ <h1 class="text-2xl font-semibold tracking-tight sm:text-3xl">{m.account_title()}</h1>
+ <p class="text-muted-foreground mt-1 text-sm">{m.account_subtitle()}</p>
</div>
</div>
</div>
@@ -254,8 +254,8 @@
<!-- Profile -->
<Card class="overflow-hidden">
<div class="border-b p-4 sm:p-6">
- <h2 class="text-base font-semibold tracking-tight sm:text-lg">Profile</h2>
- <p class="text-muted-foreground mt-1 text-xs sm:text-sm">Update your display name and email</p>
+ <h2 class="text-base font-semibold tracking-tight sm:text-lg">{m.account_profile()}</h2>
+ <p class="text-muted-foreground mt-1 text-xs sm:text-sm">{m.account_profile_desc()}</p>
</div>
<div class="space-y-5 p-4 sm:p-6">
<div class="flex items-center justify-between gap-4">
@@ -271,32 +271,32 @@
<div class="min-w-0">
<div class="text-sm font-medium">@{currentUser.username}</div>
<div class="text-muted-foreground text-xs">
- {isOidcUser ? 'Single sign-on account' : 'Local account'}
+ {isOidcUser ? m.account_single_sign_on() : m.account_local_account()}
</div>
</div>
</div>
<div class="hidden text-right sm:block">
{#if safeFormatDate(currentUser.createdAt, 'PP')}
- <div class="text-muted-foreground text-xs">Member since {safeFormatDate(currentUser.createdAt, 'PP')}</div>
+ <div class="text-muted-foreground text-xs">{m.account_member_since()} {safeFormatDate(currentUser.createdAt, 'PP')}</div>
{/if}
<div class="text-muted-foreground text-xs" title={currentUser.lastLogin ?? ''}>
- Last login {safeFormatRelative(currentUser.lastLogin) ?? 'Never'}
+ {m.account_last_login_prefix()} {safeFormatRelative(currentUser.lastLogin) ?? m.common_never()}
</div>
</div>
</div>
<div class="grid gap-4 sm:grid-cols-2">
<div class="space-y-2">
- <Label for="account-display-name">Display Name</Label>
- <Input id="account-display-name" bind:value={profileDisplayName} placeholder="Your name" disabled={isOidcUser} />
+ <Label for="account-display-name">{m.account_display_name_label()}</Label>
+ <Input id="account-display-name" bind:value={profileDisplayName} placeholder={m.account_display_name_placeholder()} disabled={isOidcUser} />
</div>
<div class="space-y-2">
- <Label for="account-email">Email</Label>
+ <Label for="account-email">{m.account_email_label()}</Label>
<Input
id="account-email"
type="email"
bind:value={profileEmail}
- placeholder="[email protected]"
+ placeholder={m.account_email_placeholder()}
disabled={isOidcUser}
/>
</div>
@@ -306,20 +306,20 @@
<ArcaneButton
action="cancel"
tone="outline"
- customLabel="Reset"
+ customLabel={m.common_reset()}
onclick={resetProfile}
disabled={!profileDirty || profileSaving}
/>
<ArcaneButton
action="save"
- customLabel="Save profile"
+ customLabel={m.account_save_profile()}
onclick={saveProfile}
loading={profileSaving}
disabled={!profileDirty || profileSaving}
/>
</div>
{:else}
- <p class="text-muted-foreground text-xs">Profile details are managed by your identity provider.</p>
+ <p class="text-muted-foreground text-xs">{m.account_profile_managed_by_idp()}</p>
{/if}
</div>
</Card>
@@ -328,12 +328,12 @@
{#if !isOidcUser}
<Card class="overflow-hidden">
<div class="border-b p-4 sm:p-6">
- <h2 class="text-base font-semibold tracking-tight sm:text-lg">Password</h2>
- <p class="text-muted-foreground mt-1 text-xs sm:text-sm">Change your account password</p>
+ <h2 class="text-base font-semibold tracking-tight sm:text-lg">{m.account_password()}</h2>
+ <p class="text-muted-foreground mt-1 text-xs sm:text-sm">{m.account_password_desc()}</p>
</div>
<div class="space-y-5 p-4 sm:p-6">
<div class="space-y-2">
- <Label for="account-current-password">Current password</Label>
+ <Label for="account-current-password">{m.account_current_password()}</Label>
<Input
id="account-current-password"
type="password"
@@ -343,22 +343,22 @@
</div>
<div class="grid gap-4 sm:grid-cols-2">
<div class="space-y-2">
- <Label for="account-new-password">New password</Label>
+ <Label for="account-new-password">{m.account_new_password()}</Label>
<Input id="account-new-password" type="password" bind:value={newPassword} autocomplete="new-password" />
- <p class="text-muted-foreground text-xs">At least 8 characters</p>
+ <p class="text-muted-foreground text-xs">{m.account_password_min_length()}</p>
</div>
<div class="space-y-2">
- <Label for="account-confirm-password">Confirm new password</Label>
+ <Label for="account-confirm-password">{m.account_confirm_password()}</Label>
<Input id="account-confirm-password" type="password" bind:value={confirmPassword} autocomplete="new-password" />
{#if confirmPassword.length > 0 && confirmPassword !== newPassword}
- <p class="text-destructive text-xs">Passwords don't match</p>
+ <p class="text-destructive text-xs">{m.account_passwords_dont_match()}</p>
{/if}
</div>
</div>
<div class="flex justify-end">
<ArcaneButton
action="save"
- customLabel="Update password"
+ customLabel={m.account_update_password()}
onclick={changePassword}
loading={passwordSaving}
disabled={!passwordValid || passwordSaving}
@@ -372,15 +372,15 @@
<Card class="overflow-hidden">
<div class="flex items-start justify-between gap-3 border-b p-4 sm:p-6">
<div class="min-w-0">
- <h2 class="text-base font-semibold tracking-tight sm:text-lg">API keys</h2>
- <p class="text-muted-foreground mt-1 text-xs sm:text-sm">Personal tokens for programmatic access</p>
+ <h2 class="text-base font-semibold tracking-tight sm:text-lg">{m.account_api_keys_title()}</h2>
+ <p class="text-muted-foreground mt-1 text-xs sm:text-sm">{m.account_api_keys_description()}</p>
</div>
{#if !showCreateKeyForm && !createdKey}
<ArcaneButton
action="create"
tone="outline"
size="sm"
- customLabel="New key"
+ customLabel={m.account_new_key()}
icon={AddIcon}
onclick={() => (showCreateKeyForm = true)}
/>
@@ -474,21 +474,21 @@
<!-- Preferences -->
<Card class="overflow-hidden">
<div class="border-b p-4 sm:p-6">
- <h2 class="text-base font-semibold tracking-tight sm:text-lg">Preferences</h2>
- <p class="text-muted-foreground mt-1 text-xs sm:text-sm">Personal display preferences</p>
+ <h2 class="text-base font-semibold tracking-tight sm:text-lg">{m.account_preferences()}</h2>
+ <p class="text-muted-foreground mt-1 text-xs sm:text-sm">{m.account_preferences_desc()}</p>
</div>
<div class="divide-y p-2">
<div class="flex items-center justify-between gap-4 p-3">
<div class="min-w-0">
- <div class="text-sm font-medium">Theme</div>
+ <div class="text-sm font-medium">{m.account_theme()}</div>
<div class="text-muted-foreground text-xs">{m.appearance_theme_current_user_description()}</div>
</div>
<ThemeModeSelector />
</div>
<div class="flex items-center justify-between gap-4 p-3">
<div class="min-w-0">
- <div class="text-sm font-medium">Language</div>
- <div class="text-muted-foreground text-xs">UI language for this account</div>
+ <div class="text-sm font-medium">{m.account_language()}</div>
+ <div class="text-muted-foreground text-xs">{m.account_language_desc()}</div>
</div>
<LocalePicker inline />
</div>
@@ -505,8 +505,8 @@
<!-- Roles & access -->
<Card class="overflow-hidden">
<div class="border-b p-4 sm:p-6">
- <h2 class="text-base font-semibold tracking-tight sm:text-lg">Roles &amp; access</h2>
- <p class="text-muted-foreground mt-1 text-xs sm:text-sm">Your assigned roles</p>
+ <h2 class="text-base font-semibold tracking-tight sm:text-lg">{m.account_roles_and_access()}</h2>
+ <p class="text-muted-foreground mt-1 text-xs sm:text-sm">{m.account_roles()}</p>
</div>
<div class="p-4 sm:p-6">
{#if currentUser.roleAssignments && currentUser.roleAssignments.length > 0}
@@ -516,9 +516,9 @@
<div class="min-w-0">
<div class="text-sm font-medium">{prettyRoleName(ra.roleId)}</div>
<div class="text-muted-foreground text-xs">
- {ra.environmentId ? `Environment: ${ra.environmentId}` : 'Global scope'}
+ {ra.environmentId ? m.account_role_environment({ env: ra.environmentId }) : m.account_global_scope()}
{#if ra.source === 'oidc'}
- <span class="ml-1 opacity-70">· via SSO</span>
+ <span class="ml-1 opacity-70">{m.account_via_sso()}</span>
{/if}
</div>
</div>
@@ -526,7 +526,7 @@
{/each}
</ul>
{:else}
- <p class="text-muted-foreground text-sm">No roles assigned.</p>
+ <p class="text-muted-foreground text-sm">{m.account_no_roles()}</p>
{/if}
{#if currentUser.permissionsByEnv}
@@ -546,20 +546,20 @@
<div class="border-destructive/20 border-b p-4 sm:p-6">
<div class="flex items-center gap-2">
<ShieldAlertIcon class="text-destructive size-5" />
- <h2 class="text-base font-semibold tracking-tight sm:text-lg">Danger zone</h2>
+ <h2 class="text-base font-semibold tracking-tight sm:text-lg">{m.account_danger_zone()}</h2>
</div>
- <p class="text-muted-foreground mt-1 text-xs sm:text-sm">Session-level actions that affect every device</p>
+ <p class="text-muted-foreground mt-1 text-xs sm:text-sm">{m.account_danger_zone_desc()}</p>
</div>
<div class="space-y-4 p-4 sm:p-6">
<div class="space-y-2">
- <div class="text-sm font-medium">Sign out other sessions</div>
+ <div class="text-sm font-medium">{m.account_signout_other()}</div>
<p class="text-muted-foreground text-xs">
- Revokes every active session except this one. Useful if you forgot to log out somewhere.
+ {m.account_signout_other_desc()}
</p>
<ArcaneButton
action="restart"
tone="outline"
- customLabel="Sign out other sessions"
+ customLabel={m.account_signout_other()}
onclick={logoutAllOther}
loading={revokingAll}
disabled={revokingAll}
@@ -569,13 +569,13 @@
<Separator />
<div class="space-y-2">
- <div class="text-sm font-medium">Log out</div>
- <p class="text-muted-foreground text-xs">Sign out of this device.</p>
+ <div class="text-sm font-medium">{m.common_log_out()}</div>
+ <p class="text-muted-foreground text-xs">{m.account_signout_this()}</p>
<form action="/logout" method="POST">
<ArcaneButton
action="cancel"
tone="outline"
- customLabel="Log out"
+ customLabel={m.common_log_out()}
icon={LogoutIcon}
type="submit"
class="text-destructive border-destructive/30 hover:bg-destructive/10 hover:text-destructive"
diff --git a/frontend/src/routes/(app)/containers/components/ContainerHealthcheck.svelte b/frontend/src/routes/(app)/containers/components/ContainerHealthcheck.svelte
index 5bb425730..31d7c0722 100644
--- a/frontend/src/routes/(app)/containers/components/ContainerHealthcheck.svelte
+++ b/frontend/src/routes/(app)/containers/components/ContainerHealthcheck.svelte
@@ -214,7 +214,7 @@
{:else}
<pre
class="text-foreground cursor-pointer rounded-md bg-black/5 p-2 font-mono text-sm break-all whitespace-pre-wrap select-all dark:bg-white/5"
- title="Click to select">{testCommand.text}</pre>
+ title={m.common_click_to_select()}>{testCommand.text}</pre>
{/if}
</Card.Content>
</Card.Root>
diff --git a/frontend/src/routes/(app)/containers/components/ContainerNetwork.svelte b/frontend/src/routes/(app)/containers/components/ContainerNetwork.svelte
index 4d1478dec..1d906b104 100644
--- a/frontend/src/routes/(app)/containers/components/ContainerNetwork.svelte
+++ b/frontend/src/routes/(app)/containers/components/ContainerNetwork.svelte
@@ -71,7 +71,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{rawNetworkConfig.ipAddress || m.common_na()}
</div>
@@ -83,7 +83,7 @@
<div class="text-muted-foreground mb-2 text-xs font-semibold">{m.common_gateway()}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{rawNetworkConfig.gateway || m.common_na()}
</div>
@@ -97,7 +97,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{rawNetworkConfig.macAddress || m.common_na()}
</div>
@@ -109,7 +109,7 @@
<div class="text-muted-foreground mb-2 text-xs font-semibold">{m.common_subnet()}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{rawNetworkConfig.ipPrefixLen
? `${rawNetworkConfig.ipAddress}/${rawNetworkConfig.ipPrefixLen}`
@@ -121,10 +121,10 @@
{#if rawNetworkConfig.networkId}
<Card.Root variant="outlined" class="sm:col-span-2">
<Card.Content class="flex flex-col p-3">
- <div class="text-muted-foreground mb-2 text-xs font-semibold">Network ID</div>
+ <div class="text-muted-foreground mb-2 text-xs font-semibold">{m.container_network_id()}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{rawNetworkConfig.networkId}
</div>
@@ -135,10 +135,10 @@
{#if rawNetworkConfig.endpointId}
<Card.Root variant="outlined" class="sm:col-span-2">
<Card.Content class="flex flex-col p-3">
- <div class="text-muted-foreground mb-2 text-xs font-semibold">Endpoint ID</div>
+ <div class="text-muted-foreground mb-2 text-xs font-semibold">{m.container_endpoint_id()}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{rawNetworkConfig.endpointId}
</div>
@@ -154,7 +154,7 @@
</div>
<div class="text-foreground space-y-1 text-sm font-medium">
{#each rawNetworkConfig.aliases as alias, index (index)}
- <div class="cursor-pointer font-mono break-all select-all" title="Click to select">
+ <div class="cursor-pointer font-mono break-all select-all" title={m.common_click_to_select()}>
{alias}
</div>
{/each}
diff --git a/frontend/src/routes/(app)/containers/components/ContainerOverview.svelte b/frontend/src/routes/(app)/containers/components/ContainerOverview.svelte
index bde0f7ba6..c7544d869 100644
--- a/frontend/src/routes/(app)/containers/components/ContainerOverview.svelte
+++ b/frontend/src/routes/(app)/containers/components/ContainerOverview.svelte
@@ -142,7 +142,7 @@
<div class="flex size-10 shrink-0 items-center justify-center rounded-full bg-blue-500/10">
<VolumesIcon class="size-5 text-blue-500" />
</div>
- <div class="text-foreground cursor-pointer text-base font-semibold break-all select-all" title="Click to select">
+ <div class="text-foreground cursor-pointer text-base font-semibold break-all select-all" title={m.common_click_to_select()}>
{container.image || m.common_na()}
</div>
</div>
@@ -182,7 +182,7 @@
<div class="flex size-10 shrink-0 items-center justify-center rounded-full bg-purple-500/10">
<NetworksIcon class="size-5 text-purple-500" />
</div>
- <div class="text-foreground cursor-pointer font-mono text-base font-semibold select-all" title="Click to select">
+ <div class="text-foreground cursor-pointer font-mono text-base font-semibold select-all" title={m.common_click_to_select()}>
{primaryIpAddress}
</div>
</div>
@@ -215,7 +215,7 @@
<div class="text-muted-foreground text-xs font-semibold tracking-wide uppercase">
{m.common_id()}
</div>
- <div class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all" title="Click to select">
+ <div class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all" title={m.common_click_to_select()}>
{container.id}
</div>
</Card.Content>
@@ -334,7 +334,7 @@
<Card.Root variant="subtle">
<Card.Content class="flex flex-col gap-2 p-4">
<div class="text-muted-foreground text-xs font-semibold tracking-wide uppercase">{m.common_image_id()}</div>
- <div class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all" title="Click to select">
+ <div class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all" title={m.common_click_to_select()}>
{container.imageId}
</div>
</Card.Content>
@@ -348,7 +348,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{container.config.workingDir}
</div>
@@ -360,7 +360,7 @@
<Card.Root variant="subtle">
<Card.Content class="flex flex-col gap-2 p-4">
<div class="text-muted-foreground text-xs font-semibold tracking-wide uppercase">{m.resource_user_cap()}</div>
- <div class="text-foreground cursor-pointer font-mono text-sm font-medium select-all" title="Click to select">
+ <div class="text-foreground cursor-pointer font-mono text-sm font-medium select-all" title={m.common_click_to_select()}>
{container.config.user}
</div>
</Card.Content>
@@ -373,7 +373,7 @@
<div class="text-muted-foreground text-xs font-semibold tracking-wide uppercase">{m.common_entrypoint()}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{container.config.entrypoint.join(' ')}
</div>
@@ -389,7 +389,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{container.config.cmd.join(' ')}
</div>
diff --git a/frontend/src/routes/(app)/containers/components/ContainerStorage.svelte b/frontend/src/routes/(app)/containers/components/ContainerStorage.svelte
index 0a6a49b6a..ec0213331 100644
--- a/frontend/src/routes/(app)/containers/components/ContainerStorage.svelte
+++ b/frontend/src/routes/(app)/containers/components/ContainerStorage.svelte
@@ -73,7 +73,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{mount.destination}
</div>
@@ -91,7 +91,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{mount.source}
</div>
@@ -101,7 +101,7 @@
{#if mount.type === 'volume' && mount.driver}
<Card.Root variant="outlined">
<Card.Content class="flex flex-col p-3">
- <div class="text-muted-foreground mb-2 text-xs font-semibold">Driver</div>
+ <div class="text-muted-foreground mb-2 text-xs font-semibold">{m.container_driver()}</div>
<div class="text-foreground text-sm font-medium">
{mount.driver}
</div>
@@ -112,7 +112,7 @@
{#if mount.propagation}
<Card.Root variant="outlined">
<Card.Content class="flex flex-col p-3">
- <div class="text-muted-foreground mb-2 text-xs font-semibold">Propagation</div>
+ <div class="text-muted-foreground mb-2 text-xs font-semibold">{m.container_propagation()}</div>
<div class="text-foreground text-sm font-medium">
{mount.propagation}
</div>
diff --git a/frontend/src/routes/(app)/environments/[id]/components/JobsTab.svelte b/frontend/src/routes/(app)/environments/[id]/components/JobsTab.svelte
index 8f4cb4113..2d3341fa1 100644
--- a/frontend/src/routes/(app)/environments/[id]/components/JobsTab.svelte
+++ b/frontend/src/routes/(app)/environments/[id]/components/JobsTab.svelte
@@ -263,7 +263,7 @@
</div>
<div class="space-y-2">
- <Input type="search" placeholder="Search containers..." class="h-8" bind:value={searchTerm} />
+ <Input type="search" placeholder={m.jobs_search_containers()} class="h-8" bind:value={searchTerm} />
<ScrollArea.Root class="h-64 w-full rounded-md border p-2">
<div class="space-y-2">
{#await containersPromise}
@@ -358,7 +358,7 @@
<div class="space-y-2">
<Input
type="search"
- placeholder="Search containers..."
+ placeholder={m.jobs_search_containers()}
class="h-8"
bind:value={autoHealSearchTerm}
/>
diff --git a/frontend/src/routes/(app)/images/[imageId]/+page.svelte b/frontend/src/routes/(app)/images/[imageId]/+page.svelte
index 7d9a5f714..e0e02e330 100644
--- a/frontend/src/routes/(app)/images/[imageId]/+page.svelte
+++ b/frontend/src/routes/(app)/images/[imageId]/+page.svelte
@@ -328,7 +328,7 @@
{m.common_tags()}
</span>
{#each repoTags as tag (tag)}
- <Badge variant="secondary" class="cursor-pointer text-xs select-all" title="Click to select">
+ <Badge variant="secondary" class="cursor-pointer text-xs select-all" title={m.common_click_to_select()}>
{tag}
</Badge>
{/each}
diff --git a/frontend/src/routes/(app)/images/builds/build-workspace-browser.svelte b/frontend/src/routes/(app)/images/builds/build-workspace-browser.svelte
index bbd719eba..34b3d76cb 100644
--- a/frontend/src/routes/(app)/images/builds/build-workspace-browser.svelte
+++ b/frontend/src/routes/(app)/images/builds/build-workspace-browser.svelte
@@ -304,9 +304,9 @@
</div>
{:else}
<div class="space-y-2">
- <Label>File contents</Label>
+ <Label>{m.build_file_contents()}</Label>
<Textarea rows={18} bind:value={editorContent} class="font-mono text-xs" />
- <p class="text-muted-foreground text-xs">Saving will overwrite the file contents.</p>
+ <p class="text-muted-foreground text-xs">{m.build_saving_overwrite()}</p>
</div>
{/if}
</div>
diff --git a/frontend/src/routes/(app)/networks/[networkId]/+page.svelte b/frontend/src/routes/(app)/networks/[networkId]/+page.svelte
index a5f9b85d9..30735d7a5 100644
--- a/frontend/src/routes/(app)/networks/[networkId]/+page.svelte
+++ b/frontend/src/routes/(app)/networks/[networkId]/+page.svelte
@@ -163,7 +163,7 @@
<p class="text-muted-foreground text-sm font-medium">{m.common_id()}</p>
<p
class="mt-1 cursor-pointer font-mono text-xs font-semibold break-all select-all sm:text-sm"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{network.id}
</p>
@@ -176,7 +176,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_name()}</p>
- <p class="mt-1 cursor-pointer text-sm font-semibold break-all select-all sm:text-base" title="Click to select">
+ <p class="mt-1 cursor-pointer text-sm font-semibold break-all select-all sm:text-base" title={m.common_click_to_select()}>
{network.name}
</p>
</div>
@@ -188,7 +188,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_driver()}</p>
- <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title="Click to select">
+ <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title={m.common_click_to_select()}>
{network.driver}
</p>
</div>
@@ -200,7 +200,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_scope()}</p>
- <p class="mt-1 cursor-pointer text-sm font-semibold capitalize select-all sm:text-base" title="Click to select">
+ <p class="mt-1 cursor-pointer text-sm font-semibold capitalize select-all sm:text-base" title={m.common_click_to_select()}>
{network.scope}
</p>
</div>
@@ -212,7 +212,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_created()}</p>
- <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title="Click to select">
+ <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title={m.common_click_to_select()}>
{createdDate}
</p>
</div>
@@ -327,7 +327,7 @@
<div class="text-muted-foreground text-xs font-semibold tracking-wide break-all uppercase">{peer.Name}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{peer.IP}
</div>
@@ -417,7 +417,7 @@
<span class="text-muted-foreground w-full text-sm font-medium sm:w-24">{m.common_subnet()}:</span>
<code
class="bg-muted text-muted-foreground mt-1 cursor-pointer rounded px-1.5 py-0.5 font-mono text-xs select-all sm:mt-0 sm:text-sm"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{config.subnet}
</code>
@@ -431,7 +431,7 @@
>
<code
class="bg-muted text-muted-foreground mt-1 cursor-pointer rounded px-1.5 py-0.5 font-mono text-xs select-all sm:mt-0 sm:text-sm"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{config.gateway}
</code>
@@ -445,7 +445,7 @@
>
<code
class="bg-muted text-muted-foreground mt-1 cursor-pointer rounded px-1.5 py-0.5 font-mono text-xs select-all sm:mt-0 sm:text-sm"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{config.ipRange}
</code>
@@ -461,7 +461,7 @@
<span class="text-muted-foreground mr-2">{name}:</span>
<code
class="bg-muted text-muted-foreground cursor-pointer rounded px-1 py-0.5 select-all"
- title="Click to select">{addr}</code
+ title={m.common_click_to_select()}>{addr}</code
>
</li>
{/each}
@@ -558,7 +558,7 @@
<div class="w-full pl-0 sm:w-2/3 sm:pl-4">
<code
class="bg-muted text-muted-foreground cursor-pointer rounded px-1.5 py-0.5 font-mono text-xs break-all select-all sm:text-sm"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{container.ipv4Address ??
container.IPv4Address ??
@@ -592,7 +592,7 @@
<div class="text-muted-foreground text-xs font-semibold tracking-wide break-all uppercase">{key}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{value}
</div>
@@ -620,7 +620,7 @@
<div class="text-muted-foreground text-xs font-semibold tracking-wide break-all uppercase">{key}</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{value}
</div>
diff --git a/frontend/src/routes/(app)/projects/components/ProjectLogsPanel.svelte b/frontend/src/routes/(app)/projects/components/ProjectLogsPanel.svelte
index 921e2d593..13761dd7a 100644
--- a/frontend/src/routes/(app)/projects/components/ProjectLogsPanel.svelte
+++ b/frontend/src/routes/(app)/projects/components/ProjectLogsPanel.svelte
@@ -78,7 +78,7 @@
onRefresh={handleRefresh}
/>
</div>
- <Card.Description>Real-time project logs</Card.Description>
+ <Card.Description>{m.project_logs_realtime_desc()}</Card.Description>
</div>
<LogControls
bind:autoScroll
diff --git a/frontend/src/routes/(app)/swarm/stacks/[name]/+page.svelte b/frontend/src/routes/(app)/swarm/stacks/[name]/+page.svelte
index 7ba1c9936..4d444d8b7 100644
--- a/frontend/src/routes/(app)/swarm/stacks/[name]/+page.svelte
+++ b/frontend/src/routes/(app)/swarm/stacks/[name]/+page.svelte
@@ -81,7 +81,7 @@
const totalServices = $derived(services?.pagination?.totalItems ?? services?.data?.length ?? 0);
const totalTasks = $derived(tasks?.pagination?.totalItems ?? tasks?.data?.length ?? 0);
const stackSubtitle = $derived(
- hasLiveStack ? m.swarm_stack_namespace({ namespace: stack?.namespace ?? stackName }) : `Saved source for ${stackName}`
+ hasLiveStack ? m.swarm_stack_namespace({ namespace: stack?.namespace ?? stackName }) : m.swarm_stack_saved_source({ stackName })
);
async function fetchStackServices(options: typeof servicesRequestOptions) {
@@ -233,7 +233,7 @@
{#if !hasLiveStack && canViewSource}
<Card.Root variant="subtle">
<Card.Content class="p-4 text-sm">
- This stack is not currently deployed, but Arcane still found its saved source files.
+ {m.swarm_stacks_not_deployed_files_found()}
</Card.Content>
</Card.Root>
{/if}
@@ -329,7 +329,7 @@
</div>
{:else if sourceState === 'loading'}
<Card.Root variant="subtle">
- <Card.Content class="text-muted-foreground p-6 text-center text-sm">Loading saved source...</Card.Content>
+ <Card.Content class="text-muted-foreground p-6 text-center text-sm">{m.swarm_stack_source_loading()}</Card.Content>
</Card.Root>
{:else if sourceState === 'missing'}
<Card.Root variant="subtle">
@@ -347,7 +347,7 @@
<Card.Content class="p-6 text-sm">
<div class="space-y-2">
<p class="font-medium">{m.common_action_failed()}</p>
- <p class="text-muted-foreground">Arcane couldn’t load the saved source files for this stack.</p>
+ <p class="text-muted-foreground">{m.swarm_stack_source_load_error()}</p>
</div>
</Card.Content>
</Card.Root>
diff --git a/frontend/src/routes/(app)/volumes/[volumeName]/+page.svelte b/frontend/src/routes/(app)/volumes/[volumeName]/+page.svelte
index fba9c0a30..59feb5b3b 100644
--- a/frontend/src/routes/(app)/volumes/[volumeName]/+page.svelte
+++ b/frontend/src/routes/(app)/volumes/[volumeName]/+page.svelte
@@ -146,7 +146,7 @@
<p class="text-muted-foreground text-sm font-medium">{m.common_name()}</p>
<p
class="mt-1 cursor-pointer text-sm font-semibold break-all select-all sm:text-base"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{volume.name}
</p>
@@ -159,7 +159,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_driver()}</p>
- <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title="Click to select">
+ <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title={m.common_click_to_select()}>
{volume.driver}
</p>
</div>
@@ -171,7 +171,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_created()}</p>
- <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title="Click to select">
+ <p class="mt-1 cursor-pointer text-sm font-semibold select-all sm:text-base" title={m.common_click_to_select()}>
{createdDate}
</p>
</div>
@@ -185,7 +185,7 @@
<p class="text-muted-foreground text-sm font-medium">{m.common_scope()}</p>
<p
class="mt-1 cursor-pointer text-sm font-semibold capitalize select-all sm:text-base"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{volume.scope}
</p>
@@ -214,7 +214,7 @@
</div>
<div class="min-w-0 flex-1">
<p class="text-muted-foreground text-sm font-medium">{m.common_mountpoint()}</p>
- <div class="bg-muted/50 mt-2 cursor-pointer rounded-lg border p-3 select-all" title="Click to select">
+ <div class="bg-muted/50 mt-2 cursor-pointer rounded-lg border p-3 select-all" title={m.common_click_to_select()}>
<code class="font-mono text-sm break-all">{volume.mountpoint}</code>
</div>
</div>
@@ -245,7 +245,7 @@
<div class="w-full pl-0 sm:w-2/3 sm:pl-4">
<code
class="bg-muted text-muted-foreground cursor-pointer rounded px-1.5 py-0.5 font-mono text-xs break-all select-all sm:text-sm"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{truncateString(c.id, 48)}
</code>
@@ -290,7 +290,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{value}
</div>
@@ -320,7 +320,7 @@
</div>
<div
class="text-foreground cursor-pointer font-mono text-sm font-medium break-all select-all"
- title="Click to select"
+ title={m.common_click_to_select()}
>
{value}
</div>
diff --git a/frontend/src/routes/(app)/volumes/components/volume-backup-table.svelte b/frontend/src/routes/(app)/volumes/components/volume-backup-table.svelte
index e7c23a137..8389ef619 100644
--- a/frontend/src/routes/(app)/volumes/components/volume-backup-table.svelte
+++ b/frontend/src/routes/(app)/volumes/components/volume-backup-table.svelte
@@ -1,4 +1,5 @@
<script lang="ts">
+ import { m } from '$lib/paraglide/messages';
import { volumeBackupService, type VolumeBackupListResponse } from '$lib/services/volume-backup-service';
import { volumeService } from '$lib/services/volume-service';
import type { BackupEntry } from '$lib/types/shared';
@@ -18,7 +19,6 @@
} from '$lib/icons';
import { ArcaneButton } from '$lib/components/arcane-button';
import { toast } from 'svelte-sonner';
- import * as m from '$lib/paraglide/messages.js';
import { bytes } from '$lib/utils/formatting';
import { format } from 'date-fns';
import ArcaneTable from '$lib/components/arcane-table/arcane-table.svelte';
@@ -352,7 +352,7 @@
<ResponsiveDialog
bind:open={showRestoreFiles}
- title="Restore files"
+ title={m.volume_restore_files()}
description="Select files from this backup to restore."
contentClass="sm:max-w-[640px]"
>
@@ -366,10 +366,10 @@
</Alert.Root>
<div class="flex items-center justify-between gap-2">
- <Input class="h-9" placeholder="Search files" bind:value={backupFilesSearch} />
+ <Input class="h-9" placeholder={m.volume_search_files()} bind:value={backupFilesSearch} />
<div class="flex items-center gap-2">
- <ArcaneButton action="base" tone="ghost" size="sm" onclick={selectAllVisible} customLabel="Select all" />
- <ArcaneButton action="base" tone="ghost" size="sm" onclick={clearSelection} customLabel="Clear" />
+ <ArcaneButton action="base" tone="ghost" size="sm" onclick={selectAllVisible} customLabel={m.common_select_all()} />
+ <ArcaneButton action="base" tone="ghost" size="sm" onclick={clearSelection} customLabel={m.common_clear()} />
</div>
</div>
@@ -379,7 +379,7 @@
<LoadingSpinnerIcon class="text-muted-foreground size-5" />
</div>
{:else if filteredBackupFiles.length === 0}
- <div class="text-muted-foreground flex items-center justify-center py-8 text-sm">No files found in this backup.</div>
+ <div class="text-muted-foreground flex items-center justify-center py-8 text-sm">{m.volume_backup_no_files()}</div>
{:else}
<div class="divide-border/40 divide-y">
{#each filteredBackupFiles as filePath (filePath)}
@@ -416,7 +416,7 @@
{#if canBackupVolume}
<ArcaneButton
action="create"
- customLabel="Restore files"
+ customLabel={m.volume_restore_files()}
onclick={handleRestoreFiles}
loading={restoringFiles}
disabled={restoringFiles || selectedPaths.length === 0}