Skip to content

Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.

i18n(open-nami): localize the Open Nami section (#71)

xJaroslav6903d29a72db0c
diff --git a/src/components/open_nami/DownloadManager.svelte b/src/components/open_nami/DownloadManager.svelte
index 767f7c2f..d0f269a2 100644
--- a/src/components/open_nami/DownloadManager.svelte
+++ b/src/components/open_nami/DownloadManager.svelte
@@ -27,7 +27,9 @@
getDependencyStatus,
isCheckingDependencies,
} from '$lib/stores/open_nami_deps_store.svelte';
+ import { openNamiStageLabel, openNamiStatusMessage, type OpenNamiTranslate } from '$lib/open_nami/i18n';
import { onMount, onDestroy } from 'svelte';
+ import { t } from '$lib/i18n';
interface Props {
onSwitchToProfiles?: () => void;
@@ -36,6 +38,8 @@
let { onSwitchToProfiles, onSwitchToSettings }: Props = $props();
+ const tr: OpenNamiTranslate = (key, values) => $t(key, values) as string;
+
const RING_RADIUS = 44;
const RING_CIRCUMFERENCE = 2 * Math.PI * RING_RADIUS;
@@ -177,19 +181,19 @@
setDraft({ url, contentType, selectedProfileUrl });
}
- const CONTENT_TYPES: Array<{ key: string; label: string }> = [
- { key: 'all', label: 'All' },
- { key: 'photos', label: 'Photos' },
- { key: 'videos', label: 'Videos' },
- { key: 'stories', label: 'Stories' },
- { key: 'highlights', label: 'Highlights' },
+ const CONTENT_TYPES: Array<{ key: string; labelKey: string }> = [
+ { key: 'all', labelKey: 'open_nami.content_all' },
+ { key: 'photos', labelKey: 'open_nami.content_photos' },
+ { key: 'videos', labelKey: 'open_nami.content_videos' },
+ { key: 'stories', labelKey: 'open_nami.content_stories' },
+ { key: 'highlights', labelKey: 'open_nami.content_highlights' },
];
</script>
<div class="dl">
{#if depStatus && !depStatus.ok}
<div class="dl-alert error" role="alert">
- <span>{depStatus.message}</span>
+ <span>{openNamiStatusMessage(depStatus.message, tr)}</span>
</div>
{/if}
@@ -203,21 +207,21 @@
role={statusType === 'error' ? 'alert' : 'status'}
>
<div class="dl-alert-body">
- <span>{status}</span>
+ <span>{openNamiStatusMessage(status, tr)}</span>
{#if statusDetail}
<details class="dl-alert-details">
- <summary>View log</summary>
+ <summary>{$t('open_nami.view_log')}</summary>
<pre>{statusDetail}</pre>
</details>
{/if}
</div>
- <button class="dl-alert-close" onclick={clearStatus} aria-label="Dismiss">×</button>
+ <button class="dl-alert-close" onclick={clearStatus} aria-label={$t('common.dismiss')}>×</button>
</div>
{/if}
</div>
{#if !url.trim() && savedProfiles.length > 0}
- <div class="dl-quicklist" role="group" aria-label="Saved profiles">
+ <div class="dl-quicklist" role="group" aria-label={$t('open_nami.saved_profiles_aria')}>
{#each savedProfiles as profile (profile.url)}
<button
type="button"
@@ -236,8 +240,10 @@
</div>
{:else if !url.trim() && savedProfiles.length === 0}
<p class="dl-hint">
- No saved profiles —
- <button type="button" class="dl-link" onclick={() => onSwitchToProfiles?.()}>add one</button>
+ {$t('open_nami.no_saved_profiles')}
+ <button type="button" class="dl-link" onclick={() => onSwitchToProfiles?.()}
+ >{$t('open_nami.add_one')}</button
+ >
</p>
{/if}
@@ -250,7 +256,7 @@
</svg>
<input
id="profile-url"
- aria-label="Profile URL or handle"
+ aria-label={$t('open_nami.profile_url_aria')}
type="text"
bind:value={url}
oninput={handleUrlInput}
@@ -262,7 +268,7 @@
</div>
</div>
- <div class="dl-segmented" role="group" aria-label="Content type">
+ <div class="dl-segmented" role="group" aria-label={$t('open_nami.content_type_aria')}>
{#each CONTENT_TYPES as type (type.key)}
<button
type="button"
@@ -272,37 +278,39 @@
setDraft({ contentType: type.key });
}}
disabled={downloading || ((type.key === 'stories' || type.key === 'highlights') && !isInstagram)}
- title={(type.key === 'stories' || type.key === 'highlights') && !isInstagram ? 'Instagram only' : ''}
+ title={(type.key === 'stories' || type.key === 'highlights') && !isInstagram
+ ? $t('open_nami.instagram_only')
+ : ''}
aria-pressed={contentType === type.key}
>
- {type.label}
+ {$t(type.labelKey)}
</button>
{/each}
</div>
{#if missingOutputDir}
<p class="dl-warning" role="alert">
- Set an output directory in
- <button type="button" class="dl-link" onclick={() => onSwitchToSettings?.()}>Settings</button>
- before downloading.
+ {$t('open_nami.missing_output_dir_prefix')}
+ <button type="button" class="dl-link" onclick={() => onSwitchToSettings?.()}>{$t('nav.settings')}</button>
+ {$t('open_nami.missing_output_dir_suffix')}
</p>
{/if}
{#if needsCookiesWarning}
<p class="dl-warning" role="alert">
- Stories and Highlights need a cookies file — add one in
- <button type="button" class="dl-link" onclick={() => onSwitchToSettings?.()}>Settings</button>.
+ {$t('open_nami.cookies_required_prefix')}
+ <button type="button" class="dl-link" onclick={() => onSwitchToSettings?.()}>{$t('nav.settings')}</button>.
</p>
{/if}
{#if platformMismatch}
- <p class="dl-warning" role="alert">Stories and Highlights are only supported for Instagram.</p>
+ <p class="dl-warning" role="alert">{$t('open_nami.stories_instagram_only')}</p>
{/if}
<div class="dl-actions">
{#if downloading}
<button class="dl-btn stop" onclick={handleStop} disabled={cancelling}>
- {cancelling ? 'Cancelling...' : 'Stop Download'}
+ {cancelling ? $t('open_nami.cancelling') : $t('open_nami.stop_download')}
</button>
{:else}
<button
@@ -310,7 +318,7 @@
onclick={startDownload}
disabled={!getDownloadUrl() || missingOutputDir || needsCookiesWarning || platformMismatch || (depStatus !== null && !depStatus.ok)}
>
- Start Download
+ {$t('open_nami.start_download')}
</button>
{/if}
</div>
@@ -332,13 +340,19 @@
/>
{/if}
<text x="52" y="49" text-anchor="middle" class="dl-ring-count">{filesDownloaded}</text>
- <text x="52" y="66" text-anchor="middle" class="dl-ring-label">files</text>
+ <text x="52" y="66" text-anchor="middle" class="dl-ring-label">{$t('open_nami.files_label')}</text>
</svg>
<p class="dl-progress-stage">
{#if stageTotal && stageTotal > 1}
- Stage {stageIndex ?? 1} of {stageTotal} · {stage ?? ''}
+ {$t('open_nami.stage_of', {
+ index: stageIndex ?? 1,
+ total: stageTotal,
+ stage: openNamiStageLabel(stage, tr)
+ })}
{:else}
- Downloading{stage ? ` ${stage}` : ''}...
+ {stage
+ ? $t('open_nami.downloading_stage', { stage: openNamiStageLabel(stage, tr) })
+ : $t('open_nami.downloading')}
{/if}
</p>
{#if lastMessage}
diff --git a/src/components/open_nami/ProfileManager.svelte b/src/components/open_nami/ProfileManager.svelte
index 126211dc..091525c6 100644
--- a/src/components/open_nami/ProfileManager.svelte
+++ b/src/components/open_nami/ProfileManager.svelte
@@ -1,6 +1,7 @@
<script lang="ts">
import { onMount } from 'svelte';
import { loadProfiles, saveProfile, deleteProfile, type Profile } from '$lib/api/open_nami';
+ import { t } from '$lib/i18n';
interface Props {
onSelectProfileForDownload?: (url: string) => void;
@@ -35,7 +36,7 @@
profiles = result;
} catch (err) {
if (thisRequest !== requestId) return;
- error = 'Failed to load profiles';
+ error = $t('open_nami.failed_to_load_profiles') as string;
console.error(err);
} finally {
if (thisRequest === requestId) {
@@ -53,7 +54,7 @@
async function addProfile() {
const trimmedUrl = newUrl.trim();
if (!trimmedUrl) {
- error = 'Please enter a URL or username';
+ error = $t('open_nami.enter_url_or_username') as string;
return;
}
error = '';
@@ -62,7 +63,7 @@
newUrl = '';
await loadPlatformProfiles();
} catch (err) {
- error = errorMessage(err, 'Failed to add profile');
+ error = errorMessage(err, $t('open_nami.failed_to_add_profile') as string);
console.error(err);
}
}
@@ -85,7 +86,7 @@
await deleteProfile(activePlatform, url);
await loadPlatformProfiles();
} catch (err) {
- error = errorMessage(err, 'Failed to delete profile');
+ error = errorMessage(err, $t('open_nami.failed_to_delete_profile') as string);
console.error('Failed to delete profile:', err);
}
}
@@ -108,7 +109,7 @@
</script>
<div class="pm">
- <div class="pm-segmented" role="tablist" aria-label="Platform">
+ <div class="pm-segmented" role="tablist" aria-label={$t('open_nami.platform_aria')}>
{#each platforms as platform (platform.key)}
<button
type="button"
@@ -137,22 +138,22 @@
id="profile-url"
type="text"
bind:value={newUrl}
- placeholder="Enter profile URL or username"
+ placeholder={$t('open_nami.profile_placeholder')}
onkeydown={(e) => e.key === 'Enter' && addProfile()}
autocomplete="off"
spellcheck="false"
- aria-label="Profile URL or username"
+ aria-label={$t('open_nami.profile_url_aria')}
/>
<button type="button" class="pm-add-btn" onclick={addProfile} disabled={!newUrl.trim() || loading}>
- Add
+ {$t('open_nami.add')}
</button>
</div>
</div>
{#if loading}
- <p class="pm-empty">Loading profiles...</p>
+ <p class="pm-empty">{$t('open_nami.loading_profiles')}</p>
{:else if profiles.length === 0}
- <p class="pm-empty">No profiles added yet</p>
+ <p class="pm-empty">{$t('open_nami.no_profiles_yet')}</p>
{:else}
<div class="pm-group">
{#each profiles as profile (profile.url)}
@@ -170,18 +171,18 @@
type="button"
class="pm-download-btn"
onclick={() => onSelectProfileForDownload?.(profile.url)}
- aria-label="Download with {profile.username || profile.url}"
+ aria-label={$t('open_nami.download_with', { name: profile.username || profile.url })}
>
- Download
+ {$t('open_nami.download')}
</button>
{/if}
<button
type="button"
class="pm-remove"
onclick={() => promptDelete(profile.url)}
- aria-label="Remove profile {profile.username || profile.url}"
+ aria-label={$t('open_nami.remove_profile_aria', { name: profile.username || profile.url })}
>
- Remove
+ {$t('open_nami.remove')}
</button>
</div>
</div>
@@ -192,11 +193,11 @@
<dialog bind:this={dialogEl} class="pm-dialog" onclose={() => (confirmDeleteUrl = null)}>
<div class="pm-dialog-content">
- <p class="pm-dialog-title" id="pm-confirm-title">Delete this profile?</p>
+ <p class="pm-dialog-title" id="pm-confirm-title">{$t('open_nami.delete_profile_title')}</p>
<p class="pm-dialog-url">{confirmDeleteUrl}</p>
<div class="pm-dialog-actions">
- <button type="button" class="pm-dialog-btn" onclick={cancelDelete}>Cancel</button>
- <button type="button" class="pm-dialog-btn danger" onclick={confirmDelete}>Delete</button>
+ <button type="button" class="pm-dialog-btn" onclick={cancelDelete}>{$t('common.cancel')}</button>
+ <button type="button" class="pm-dialog-btn danger" onclick={confirmDelete}>{$t('open_nami.delete')}</button>
</div>
</div>
</dialog>
diff --git a/src/components/open_nami/SettingsManager.svelte b/src/components/open_nami/SettingsManager.svelte
index 05e76ddb..a00a9dd9 100644
--- a/src/components/open_nami/SettingsManager.svelte
+++ b/src/components/open_nami/SettingsManager.svelte
@@ -2,6 +2,7 @@
import { open } from '@tauri-apps/plugin-dialog';
import { getOutputDir, getCookiesFile, loadSettings, saveSettings } from '$lib/stores/open_nami_settings_store.svelte';
import { onMount } from 'svelte';
+ import { t } from '$lib/i18n';
let outputDir = $state('');
let cookiesFile = $state('');
@@ -23,7 +24,7 @@
async function browseOutputDir() {
try {
- const selected = await open({ directory: true, multiple: false, title: 'Select Output Directory' });
+ const selected = await open({ directory: true, multiple: false, title: $t('open_nami.select_output_dir_title') });
if (selected && typeof selected === 'string') outputDir = selected;
} catch (err) {
console.error('Failed to open directory dialog:', err);
@@ -32,7 +33,7 @@
async function browseCookiesFile() {
try {
- const selected = await open({ directory: false, multiple: false, title: 'Select Cookies File' });
+ const selected = await open({ directory: false, multiple: false, title: $t('open_nami.select_cookies_title') });
if (selected && typeof selected === 'string') cookiesFile = selected;
} catch (err) {
console.error('Failed to open file dialog:', err);
@@ -54,15 +55,15 @@
await saveSettings(outputDir, cookiesFile);
outputDir = getOutputDir();
cookiesFile = getCookiesFile();
- saveStatus = 'Settings saved';
+ saveStatus = 'open_nami.settings_saved';
saveStatusType = 'success';
statusTimer = setTimeout(() => {
- if (saveStatus === 'Settings saved') saveStatus = '';
+ if (saveStatus === 'open_nami.settings_saved') saveStatus = '';
statusTimer = null;
}, 2500);
} catch (error) {
console.error('Failed to save settings:', error);
- saveStatus = 'Failed to save settings';
+ saveStatus = 'open_nami.failed_to_save_settings';
saveStatusType = 'error';
} finally {
saving = false;
@@ -79,7 +80,7 @@
role="status"
aria-live="polite"
>
- <span>{saveStatus}</span>
+ <span>{$t(saveStatus)}</span>
</div>
{/if}
@@ -88,17 +89,17 @@
<svg class="sm-icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round" aria-hidden="true">
<path d="M2 4.6a1 1 0 0 1 1-1h2.6l1.1 1.4H13a1 1 0 0 1 1 1V12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1z" />
</svg>
- <span class="sm-label">Output</span>
+ <span class="sm-label">{$t('open_nami.output_label')}</span>
<input
id="output-dir"
- aria-label="Output directory"
+ aria-label={$t('open_nami.output_dir_aria')}
type="text"
bind:value={outputDir}
- placeholder="Choose a folder..."
+ placeholder={$t('open_nami.choose_folder_placeholder')}
autocomplete="off"
spellcheck="false"
/>
- <button type="button" class="sm-choose-btn" onclick={browseOutputDir}>Choose...</button>
+ <button type="button" class="sm-choose-btn" onclick={browseOutputDir}>{$t('open_nami.choose')}</button>
</div>
<div class="sm-row">
@@ -106,24 +107,24 @@
<path d="M4.3 2h4.4L12 5.3V13a.7.7 0 0 1-.7.7H4.3a.7.7 0 0 1-.7-.7V2.7A.7.7 0 0 1 4.3 2Z" />
<path d="M8.7 2v3.3H12" />
</svg>
- <span class="sm-label">Cookies</span>
+ <span class="sm-label">{$t('open_nami.cookies_label')}</span>
<input
id="cookies-file"
- aria-label="Cookies file (optional, needed for Stories and Highlights)"
+ aria-label={$t('open_nami.cookies_file_aria')}
type="text"
bind:value={cookiesFile}
- placeholder="Choose a cookies file..."
+ placeholder={$t('open_nami.choose_cookies_placeholder')}
autocomplete="off"
spellcheck="false"
/>
{#if cookiesFile}
- <button type="button" class="sm-clear-btn" onclick={clearCookies} title="Clear cookies file">×</button>
+ <button type="button" class="sm-clear-btn" onclick={clearCookies} title={$t('open_nami.clear_cookies_file')}>×</button>
{/if}
- <button type="button" class="sm-choose-btn" onclick={browseCookiesFile}>Choose...</button>
+ <button type="button" class="sm-choose-btn" onclick={browseCookiesFile}>{$t('open_nami.choose')}</button>
</div>
</div>
- <p class="sm-hint">Cookies are only required for downloading Stories and Highlights.</p>
+ <p class="sm-hint">{$t('open_nami.cookies_hint')}</p>
<div class="sm-actions">
<button
@@ -132,7 +133,7 @@
onclick={handleSave}
disabled={saving || !isDirty}
>
- {saving ? 'Saving...' : 'Save Settings'}
+ {saving ? $t('open_nami.saving') : $t('open_nami.save_settings')}
</button>
</div>
</div>
diff --git a/src/lib/i18n/el.json b/src/lib/i18n/el.json
index 39ded688..83f8d789 100644
--- a/src/lib/i18n/el.json
+++ b/src/lib/i18n/el.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "Ρυθμίσεις",
+ "manage_preferences": "Διαχείριση προτιμήσεων εφαρμογής και ρυθμίσεων συστήματος",
"general": {
"title": "Γενικά",
"start_with_system": "Εκκίνηση με το σύστημα",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "Άνοιγμα παραθύρου σύνδεσης..."
}
},
- "manage_preferences": "Διαχείριση προτιμήσεων εφαρμογής και ρυθμίσεων συστήματος",
"hero_desc_appearance": "Προσαρμογή θέματος εφαρμογής, χρωμάτων έμφασης και διαφάνειας παραθύρου",
"hero_desc_typography": "Επιλογή γραμματοσειρών διεπαφής, κλίμακας ανάγνωσης και προκαθορισμένων ρυθμίσεων",
"hero_desc_downloads": "Διαμόρφωση φακέλου προορισμού, προτύπων ονομάτων αρχείων και ποιότητας",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "Μαθήματα",
+ "subtitle": "Εκπαιδευτικό υλικό, μαθήματα βίντεο και πλατφόρμες μαθημάτων",
"search_placeholder": "Αναζητηση πλατφορμων...",
"not_connected": "Μη συνδεδεμένο",
"connection_failed": "Αποτυχια συνδεσης",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "Εκπαιδευτικό υλικό, μαθήματα βίντεο και πλατφόρμες μαθημάτων"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Πλατφόρμα Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/en.json b/src/lib/i18n/en.json
index 22c11465..bdf0f997 100644
--- a/src/lib/i18n/en.json
+++ b/src/lib/i18n/en.json
@@ -8384,4 +8384,80 @@
"speed_unit_mb": "MB/s",
"decimal_separator": "."
}
-}
+,
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ }}
diff --git a/src/lib/i18n/es.json b/src/lib/i18n/es.json
index 8b2ba216..31c8ed1c 100644
--- a/src/lib/i18n/es.json
+++ b/src/lib/i18n/es.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "Configuración",
+ "manage_preferences": "Administrar preferencias de la aplicación y configuraciones del sistema",
"general": {
"title": "General",
"start_with_system": "Iniciar con el sistema",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "Abriendo ventana de inicio de sesión..."
}
},
- "manage_preferences": "Administrar preferencias de la aplicación y configuraciones del sistema",
"hero_desc_appearance": "Personaliza el tema de la aplicación, colores de énfasis y transparencia",
"hero_desc_typography": "Elige fuentes de interfaz, escala de lectura y ajustes tipográficos",
"hero_desc_downloads": "Configura la carpeta de destino, plantillas de nombres y calidad",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "Cursos",
+ "subtitle": "Materiales de estudio, lecciones en video y plataformas de cursos",
"search_placeholder": "Buscar plataformas...",
"not_connected": "No conectado",
"connection_failed": "Conexión fallida",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Usar cookies guardadas ({{account}})",
"saved_cookies_empty": "La cuenta guardada no tiene cookies.",
"cookies_paste_label": "Cookies (JSON o cookies.txt)",
- "cookies_paste_placeholder": "Pega el JSON de cookies o un export cookies.txt (Netscape)...",
- "subtitle": "Materiales de estudio, lecciones en video y plataformas de cursos"
+ "cookies_paste_placeholder": "Pega el JSON de cookies o un export cookies.txt (Netscape)..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/fa.json b/src/lib/i18n/fa.json
index a3b33ba8..8085f2f6 100644
--- a/src/lib/i18n/fa.json
+++ b/src/lib/i18n/fa.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "Settings",
+ "manage_preferences": "مدیریت تنظیمات برنامه و پیکربندی‌های سیستم",
"general": {
"title": "General",
"start_with_system": "Start with system",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "Opening sign-in window..."
}
},
- "manage_preferences": "مدیریت تنظیمات برنامه و پیکربندی‌های سیستم",
"hero_desc_appearance": "سفارشی‌سازی پوسته برنامه، رنگ‌های تاکیدی و شفافیت پنجره",
"hero_desc_typography": "انتخاب قلم‌های رابط کاربری، مقیاس خواندن و پیش‌تنظیم‌های تایپوگرافی",
"hero_desc_downloads": "پیکربندی پوشه ذخیره، الگوهای نام‌گذاری فایل و پیش‌تنظیم‌های کیفیت",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "Courses",
+ "subtitle": "مطالب آموزشی، درس‌های ویدیویی و پلتفرم‌های دوره‌ها",
"search_placeholder": "Search platforms...",
"not_connected": "Not connected",
"connection_failed": "Connection failed",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "مطالب آموزشی، درس‌های ویدیویی و پلتفرم‌های دوره‌ها"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/fr.json b/src/lib/i18n/fr.json
index d96d0c33..f516ee98 100644
--- a/src/lib/i18n/fr.json
+++ b/src/lib/i18n/fr.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "Paramètres",
+ "manage_preferences": "Gérer les préférences de l'application et les configurations système",
"general": {
"title": "Général",
"start_with_system": "Démarrer avec le système",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "Ouverture de la fenêtre de connexion..."
}
},
- "manage_preferences": "Gérer les préférences de l'application et les configurations système",
"hero_desc_appearance": "Personnalisez le thème de l'application, les couleurs et la transparence",
"hero_desc_typography": "Choisissez les polices d'interface, l'échelle et les préréglages typographiques",
"hero_desc_downloads": "Configurez le dossier de destination, modèles de noms et préréglages de qualité",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "Cours",
+ "subtitle": "Supports d'étude, leçons vidéo et plateformes de cours",
"search_placeholder": "Rechercher des plateformes...",
"not_connected": "Non connecté",
"connection_failed": "Echec de connexion",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "Supports d'étude, leçons vidéo et plateformes de cours"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/it.json b/src/lib/i18n/it.json
index 1dbfb9fe..aedcbb4a 100644
--- a/src/lib/i18n/it.json
+++ b/src/lib/i18n/it.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "Impostazioni",
+ "manage_preferences": "Gestisci le preferenze dell'applicazione e le configurazioni di sistema",
"general": {
"title": "Generali",
"start_with_system": "Avvia con il sistema",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "Apertura finestra di accesso..."
}
},
- "manage_preferences": "Gestisci le preferenze dell'applicazione e le configurazioni di sistema",
"hero_desc_appearance": "Personalizza il tema dell'applicazione, colori di accento e trasparenza",
"hero_desc_typography": "Scegli i caratteri dell'interfaccia, scala di lettura e preset tipografici",
"hero_desc_downloads": "Configura cartella di destinazione, modelli di denominazione e preset di qualità",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "Corsi",
+ "subtitle": "Materiali di studio, lezioni video e piattaforme di corsi",
"search_placeholder": "Cerca piattaforme...",
"not_connected": "Non connesso",
"connection_failed": "Connessione fallita",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "Materiali di studio, lezioni video e piattaforme di corsi"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/ja.json b/src/lib/i18n/ja.json
index bfafb5cd..08251555 100644
--- a/src/lib/i18n/ja.json
+++ b/src/lib/i18n/ja.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "設定",
+ "manage_preferences": "アプリの環境設定とシステム構成を管理します",
"general": {
"title": "一般",
"start_with_system": "システム起動時に開始",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "サインインウィンドウを開いています..."
}
},
- "manage_preferences": "アプリの環境設定とシステム構成を管理します",
"hero_desc_appearance": "アプリのテーマ、アクセントカラー、ウィンドウの透明度をカスタマイズ",
"hero_desc_typography": "UIフォント、テキストスケール、タイポグラフィプリセットの設定",
"hero_desc_downloads": "保存先フォルダ、ファイル名テンプレート、画質プリセットの設定",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "コース",
+ "subtitle": "学習教材、動画レッスン、コースプラットフォーム",
"search_placeholder": "プラットフォームを検索...",
"not_connected": "未接続",
"connection_failed": "接続に失敗しました",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "学習教材、動画レッスン、コースプラットフォーム"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/keys.ts b/src/lib/i18n/keys.ts
index 4adb7b3c..87a04fef 100644
--- a/src/lib/i18n/keys.ts
+++ b/src/lib/i18n/keys.ts
@@ -1889,6 +1889,81 @@ export type TranslationKeys =
| 'onboarding.welcome_desc'
| 'onboarding.welcome_title'
+ | 'open_nami.add'
+ | 'open_nami.add_one'
+ | 'open_nami.cancelling'
+ | 'open_nami.choose'
+ | 'open_nami.choose_cookies_placeholder'
+ | 'open_nami.choose_folder_placeholder'
+ | 'open_nami.clear_cookies_file'
+ | 'open_nami.content_all'
+ | 'open_nami.content_highlights'
+ | 'open_nami.content_photos'
+ | 'open_nami.content_stories'
+ | 'open_nami.content_type_aria'
+ | 'open_nami.content_videos'
+ | 'open_nami.cookies_file_aria'
+ | 'open_nami.cookies_hint'
+ | 'open_nami.cookies_label'
+ | 'open_nami.cookies_required_prefix'
+ | 'open_nami.delete'
+ | 'open_nami.delete_profile_title'
+ | 'open_nami.desc_download'
+ | 'open_nami.desc_profiles'
+ | 'open_nami.desc_settings'
+ | 'open_nami.download'
+ | 'open_nami.download_with'
+ | 'open_nami.downloading'
+ | 'open_nami.downloading_stage'
+ | 'open_nami.engine_missing'
+ | 'open_nami.engines_ready'
+ | 'open_nami.enter_url_or_username'
+ | 'open_nami.failed_to_add_profile'
+ | 'open_nami.failed_to_delete_profile'
+ | 'open_nami.failed_to_load_profiles'
+ | 'open_nami.failed_to_save_settings'
+ | 'open_nami.files_label'
+ | 'open_nami.instagram_only'
+ | 'open_nami.loading_profiles'
+ | 'open_nami.missing_output_dir_prefix'
+ | 'open_nami.missing_output_dir_suffix'
+ | 'open_nami.no_profiles_yet'
+ | 'open_nami.no_saved_profiles'
+ | 'open_nami.output_dir_aria'
+ | 'open_nami.output_label'
+ | 'open_nami.page_title'
+ | 'open_nami.platform_aria'
+ | 'open_nami.profile_placeholder'
+ | 'open_nami.profile_url_aria'
+ | 'open_nami.remove'
+ | 'open_nami.remove_profile_aria'
+ | 'open_nami.save_settings'
+ | 'open_nami.saved_profiles_aria'
+ | 'open_nami.saving'
+ | 'open_nami.sections_aria'
+ | 'open_nami.select_cookies_title'
+ | 'open_nami.select_output_dir_title'
+ | 'open_nami.settings_saved'
+ | 'open_nami.stage_highlights'
+ | 'open_nami.stage_of'
+ | 'open_nami.stage_photos'
+ | 'open_nami.stage_setup'
+ | 'open_nami.stage_stories'
+ | 'open_nami.stage_videos'
+ | 'open_nami.start_download'
+ | 'open_nami.status_cancelled'
+ | 'open_nami.status_downloaded'
+ | 'open_nami.status_provisioning'
+ | 'open_nami.status_starting'
+ | 'open_nami.status_success'
+ | 'open_nami.status_switching_engine'
+ | 'open_nami.stop_download'
+ | 'open_nami.stories_instagram_only'
+ | 'open_nami.tab_download'
+ | 'open_nami.tab_profiles'
+ | 'open_nami.tab_settings'
+ | 'open_nami.view_log'
+
| 'p2p.accept_transfer'
| 'p2p.click_to_copy'
| 'p2p.code_copied'
diff --git a/src/lib/i18n/lo.json b/src/lib/i18n/lo.json
index a56a38b5..73768341 100644
--- a/src/lib/i18n/lo.json
+++ b/src/lib/i18n/lo.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "ການຕັ້ງຄ່າ",
+ "manage_preferences": "ຈັດການການຕັ້ງຄ່າແອັບ ແລະ ການກຳນົດຄ່າລະບົບ",
"general": {
"title": "ທົ່ວໄປ",
"start_with_system": "ເລີ່ມພ້ອມລະບົບ",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "ກຳລັງເປີດໜ້າຕ່າງເຂົ້າສູ່ລະບົບ..."
}
},
- "manage_preferences": "ຈັດການການຕັ້ງຄ່າແອັບ ແລະ ການກຳນົດຄ່າລະບົບ",
"hero_desc_appearance": "ປັບແຕ່ງຮູບແບບສີສັນ, ສີເນັ້ນ ແລະ ຄວາມໂປ່ງໃສຂອງໜ້າຕ່າງແອັບ",
"hero_desc_typography": "ເລືອກຟອນອິນເຕີເຟດ, ຂະໜາດການອ່ານ ແລະ ການຕັ້ງຄ່າຕົວໜັງສື",
"hero_desc_downloads": "ກຳນົດໂຟນເດີປາຍທາງ, ຮູບແບບຊື່ໄຟລ໌ ແລະ ຄຸນນະພາບການດາວໂຫຼດ",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "ຄອສຮຽນ",
+ "subtitle": "ເອກະສານການຮຽນ, ບົດຮຽນວິດີໂອ ແລະ ແພລດຟອມຄອສຮຽນ",
"search_placeholder": "ຄົ້ນຫາແພລດຟອມ...",
"not_connected": "ບໍ່ໄດ້ເຊື່ອມຕໍ່",
"connection_failed": "ການເຊື່ອມຕໍ່ລົ້ມເຫຼວ",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "ໃຊ້ຄຸກກີ້ທີ່ບັນທຶກໄວ້ ({{account}})",
"saved_cookies_empty": "ບັນຊີທີ່ບັນທຶກໄວ້ບໍ່ມີຄຸກກີ້.",
"cookies_paste_label": "ຄຸກກີ້ (JSON ຫຼື cookies.txt)",
- "cookies_paste_placeholder": "ວາງ JSON ຄຸກກີ້ ຫຼື ໄຟລ໌ cookies.txt ແບບ Netscape...",
- "subtitle": "ເອກະສານການຮຽນ, ບົດຮຽນວິດີໂອ ແລະ ແພລດຟອມຄອສຮຽນ"
+ "cookies_paste_placeholder": "ວາງ JSON ຄຸກກີ້ ຫຼື ໄຟລ໌ cookies.txt ແບບ Netscape..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "ຕິດຕາມພັດສະດຸຈາກ 8 ບໍລິສັດຂົນສົ່ງຂອງບຣາຊິວໃນບ່ອນດຽວ, ອັບເດດອັດຕະໂນມັດ."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/pt.json b/src/lib/i18n/pt.json
index 43a34e99..65e8a292 100644
--- a/src/lib/i18n/pt.json
+++ b/src/lib/i18n/pt.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "Configurações",
+ "manage_preferences": "Gerenciar preferências do aplicativo e configurações do sistema",
"general": {
"title": "Geral",
"start_with_system": "Iniciar com o sistema",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "Abrindo janela de login..."
}
},
- "manage_preferences": "Gerenciar preferências do aplicativo e configurações do sistema",
"hero_desc_appearance": "Personalize o tema do aplicativo, cores de destaque e transparência da janela",
"hero_desc_typography": "Escolha fontes de interface, escala de leitura e predefinições tipográficas",
"hero_desc_downloads": "Configure a pasta de destino, modelos de nome de arquivo e predefinições de qualidade",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "Cursos",
+ "subtitle": "Materiais de estudo, videoaulas e plataformas de cursos",
"search_placeholder": "Buscar plataformas...",
"not_connected": "Desconectado",
"connection_failed": "Falha na conexão",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Usar cookies salvos ({{account}})",
"saved_cookies_empty": "A conta salva não tem cookies.",
"cookies_paste_label": "Cookies (JSON ou cookies.txt)",
- "cookies_paste_placeholder": "Cole o JSON dos cookies ou um export cookies.txt (Netscape)...",
- "subtitle": "Materiais de estudo, videoaulas e plataformas de cursos"
+ "cookies_paste_placeholder": "Cole o JSON dos cookies ou um export cookies.txt (Netscape)..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/ru.json b/src/lib/i18n/ru.json
index 8ace7636..bb927fe1 100644
--- a/src/lib/i18n/ru.json
+++ b/src/lib/i18n/ru.json
@@ -8384,4 +8384,80 @@
"speed_unit_mb": "МБ/с",
"decimal_separator": ","
}
-}
+,
+ "open_nami": {
+ "page_title": "Open Nami — загрузчик из соцсетей",
+ "sections_aria": "Разделы Open Nami",
+ "tab_download": "Загрузка",
+ "tab_profiles": "Профили",
+ "tab_settings": "Настройки",
+ "desc_download": "Сохраняйте посты и медиа из подключённых профилей.",
+ "desc_profiles": "Управляйте профилями, которые используете чаще всего.",
+ "desc_settings": "Выберите, куда Open Nami сохраняет скачанное.",
+ "view_log": "Показать журнал",
+ "saved_profiles_aria": "Сохранённые профили",
+ "no_saved_profiles": "Нет сохранённых профилей —",
+ "add_one": "добавить",
+ "content_type_aria": "Тип контента",
+ "content_all": "Все",
+ "content_photos": "Фото",
+ "content_videos": "Видео",
+ "content_stories": "Истории",
+ "content_highlights": "Актуальное",
+ "instagram_only": "Только для Instagram",
+ "missing_output_dir_prefix": "Укажите каталог сохранения в",
+ "missing_output_dir_suffix": "перед загрузкой.",
+ "cookies_required_prefix": "Для историй и актуального нужен файл cookies — добавьте его в",
+ "stories_instagram_only": "Истории и актуальное поддерживаются только для Instagram.",
+ "cancelling": "Отмена...",
+ "stop_download": "Остановить загрузку",
+ "start_download": "Начать загрузку",
+ "files_label": "файлов",
+ "stage_of": "Этап {{index}} из {{total}} · {{stage}}",
+ "downloading_stage": "Загрузка: {{stage}}...",
+ "downloading": "Загрузка...",
+ "engine_missing": "Движок не найден (доступна автозагрузка)",
+ "engines_ready": "Все движки загрузки готовы",
+ "status_cancelled": "Загрузка отменена",
+ "status_provisioning": "Подготовка движка загрузки...",
+ "status_switching_engine": "Переключаемся на резервный движок для видео (yt-dlp)...",
+ "status_starting": "Запуск: {{stage}}",
+ "status_downloaded": "Скачано: {{file}}",
+ "status_success": "Успешно скачано файлов: {{count}}",
+ "stage_setup": "Подготовка",
+ "stage_photos": "Фото",
+ "stage_videos": "Видео",
+ "stage_stories": "Истории",
+ "stage_highlights": "Актуальное",
+ "platform_aria": "Платформа",
+ "failed_to_load_profiles": "Не удалось загрузить профили",
+ "enter_url_or_username": "Введите ссылку или имя пользователя",
+ "failed_to_add_profile": "Не удалось добавить профиль",
+ "failed_to_delete_profile": "Не удалось удалить профиль",
+ "profile_placeholder": "Ссылка на профиль или имя пользователя",
+ "profile_url_aria": "Ссылка на профиль или имя пользователя",
+ "add": "Добавить",
+ "loading_profiles": "Загрузка профилей...",
+ "no_profiles_yet": "Профили ещё не добавлены",
+ "download": "Скачать",
+ "download_with": "Скачать: {{name}}",
+ "remove": "Удалить",
+ "remove_profile_aria": "Удалить профиль {{name}}",
+ "delete_profile_title": "Удалить этот профиль?",
+ "delete": "Удалить",
+ "select_output_dir_title": "Выберите каталог сохранения",
+ "select_cookies_title": "Выберите файл cookies",
+ "settings_saved": "Настройки сохранены",
+ "failed_to_save_settings": "Не удалось сохранить настройки",
+ "output_label": "Каталог",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Каталог сохранения",
+ "cookies_file_aria": "Файл cookies (необязательно; нужен для историй и актуального)",
+ "choose_folder_placeholder": "Выберите папку...",
+ "choose_cookies_placeholder": "Выберите файл cookies...",
+ "choose": "Выбрать...",
+ "clear_cookies_file": "Очистить файл cookies",
+ "cookies_hint": "Cookies требуются только для скачивания историй и актуального.",
+ "saving": "Сохранение...",
+ "save_settings": "Сохранить настройки"
+ }}
diff --git a/src/lib/i18n/zh-TW.json b/src/lib/i18n/zh-TW.json
index 45dc84bb..48a6e4c3 100644
--- a/src/lib/i18n/zh-TW.json
+++ b/src/lib/i18n/zh-TW.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "設定",
+ "manage_preferences": "管理應用偏好設定和系統設定",
"general": {
"title": "一般",
"start_with_system": "與系統一同啟動",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "正在開啟登入視窗..."
}
},
- "manage_preferences": "管理應用偏好設定和系統設定",
"hero_desc_appearance": "自訂應用程式主題、色彩強調與視窗透明度",
"hero_desc_typography": "選擇介面字型、閱讀縮放比例與排版預設",
"hero_desc_downloads": "設定目標下載資料夾、檔案名稱範本與畫質預設",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "课程",
+ "subtitle": "學習教材、影片課程和課程平台",
"search_placeholder": "搜索平台...",
"not_connected": "未连接",
"connection_failed": "连接失败",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "學習教材、影片課程和課程平台"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/i18n/zh.json b/src/lib/i18n/zh.json
index 7d67f4e2..e9c482c4 100644
--- a/src/lib/i18n/zh.json
+++ b/src/lib/i18n/zh.json
@@ -4062,6 +4062,7 @@
},
"settings": {
"title": "设置",
+ "manage_preferences": "管理应用偏好设置和系统配置",
"general": {
"title": "通用",
"start_with_system": "开机自启",
@@ -4656,7 +4657,6 @@
"login_webview_loading": "正在打开登录窗口..."
}
},
- "manage_preferences": "管理应用偏好设置和系统配置",
"hero_desc_appearance": "自定义应用程序主题、色彩强调和窗口透明度",
"hero_desc_typography": "选择界面字体、阅读缩放比例和排版预设",
"hero_desc_downloads": "配置目标下载文件夹、文件名模板和画质预设",
@@ -5176,6 +5176,7 @@
},
"courses": {
"title": "课程",
+ "subtitle": "学习资料、视频课程和课程平台",
"search_placeholder": "搜索平台...",
"not_connected": "未连接",
"connection_failed": "连接失败",
@@ -5213,8 +5214,7 @@
"use_saved_cookies": "Use saved cookies ({{account}})",
"saved_cookies_empty": "The saved account has no cookies.",
"cookies_paste_label": "Cookies (JSON or cookies.txt)",
- "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export...",
- "subtitle": "学习资料、视频课程和课程平台"
+ "cookies_paste_placeholder": "Paste the cookies JSON or a Netscape cookies.txt export..."
},
"hotmart": {
"title": "Hotmart",
@@ -8376,6 +8376,82 @@
"tracking_desc": "Follow packages from 8 Brazilian carriers in one place, refreshed automatically."
}
},
+ "open_nami": {
+ "page_title": "Open Nami - Social Media Downloader",
+ "sections_aria": "Open Nami sections",
+ "tab_download": "Download",
+ "tab_profiles": "Profiles",
+ "tab_settings": "Settings",
+ "desc_download": "Save posts and media from your connected social profiles.",
+ "desc_profiles": "Manage the profiles you use most often.",
+ "desc_settings": "Choose where Open Nami saves downloaded media.",
+ "view_log": "View log",
+ "saved_profiles_aria": "Saved profiles",
+ "no_saved_profiles": "No saved profiles —",
+ "add_one": "add one",
+ "content_type_aria": "Content type",
+ "content_all": "All",
+ "content_photos": "Photos",
+ "content_videos": "Videos",
+ "content_stories": "Stories",
+ "content_highlights": "Highlights",
+ "instagram_only": "Instagram only",
+ "missing_output_dir_prefix": "Set an output directory in",
+ "missing_output_dir_suffix": "before downloading.",
+ "cookies_required_prefix": "Stories and Highlights need a cookies file — add one in",
+ "stories_instagram_only": "Stories and Highlights are only supported for Instagram.",
+ "cancelling": "Cancelling...",
+ "stop_download": "Stop Download",
+ "start_download": "Start Download",
+ "files_label": "files",
+ "stage_of": "Stage {{index}} of {{total}} · {{stage}}",
+ "downloading_stage": "Downloading {{stage}}...",
+ "downloading": "Downloading...",
+ "engine_missing": "Engine not found (auto-download available)",
+ "engines_ready": "All download engines ready",
+ "status_cancelled": "Download cancelled",
+ "status_provisioning": "Provisioning download engine binary...",
+ "status_switching_engine": "Switching to secondary video engine (yt-dlp)...",
+ "status_starting": "Starting {{stage}}",
+ "status_downloaded": "Downloaded: {{file}}",
+ "status_success": "Successfully downloaded {{count}} files",
+ "stage_setup": "Setup",
+ "stage_photos": "Photos",
+ "stage_videos": "Videos",
+ "stage_stories": "Stories",
+ "stage_highlights": "Highlights",
+ "platform_aria": "Platform",
+ "failed_to_load_profiles": "Failed to load profiles",
+ "enter_url_or_username": "Please enter a URL or username",
+ "failed_to_add_profile": "Failed to add profile",
+ "failed_to_delete_profile": "Failed to delete profile",
+ "profile_placeholder": "Enter profile URL or username",
+ "profile_url_aria": "Profile URL or username",
+ "add": "Add",
+ "loading_profiles": "Loading profiles...",
+ "no_profiles_yet": "No profiles added yet",
+ "download": "Download",
+ "download_with": "Download with {{name}}",
+ "remove": "Remove",
+ "remove_profile_aria": "Remove profile {{name}}",
+ "delete_profile_title": "Delete this profile?",
+ "delete": "Delete",
+ "select_output_dir_title": "Select Output Directory",
+ "select_cookies_title": "Select Cookies File",
+ "settings_saved": "Settings saved",
+ "failed_to_save_settings": "Failed to save settings",
+ "output_label": "Output",
+ "cookies_label": "Cookies",
+ "output_dir_aria": "Output directory",
+ "cookies_file_aria": "Cookies file (optional, needed for Stories and Highlights)",
+ "choose_folder_placeholder": "Choose a folder...",
+ "choose_cookies_placeholder": "Choose a cookies file...",
+ "choose": "Choose...",
+ "clear_cookies_file": "Clear cookies file",
+ "cookies_hint": "Cookies are only required for downloading Stories and Highlights.",
+ "saving": "Saving...",
+ "save_settings": "Save Settings"
+ },
"tray": {
"quit": "Quit",
"no_active_downloads": "No active downloads",
@@ -8383,5 +8459,6 @@
"speed_unit_kb": "KB/s",
"speed_unit_mb": "MB/s",
"decimal_separator": "."
+
}
}
diff --git a/src/lib/open_nami/i18n.ts b/src/lib/open_nami/i18n.ts
new file mode 100644
index 00000000..10ef2847
--- /dev/null
+++ b/src/lib/open_nami/i18n.ts
@@ -0,0 +1,58 @@
+/**
+ * The Open Nami download engine reports stage names and status messages in
+ * English from the Rust side. This module maps the known ones onto the active
+ * locale and passes everything else through untouched.
+ */
+
+export type OpenNamiTranslate = (key: string, values?: Record<string, unknown>) => string;
+
+const STAGE_KEYS: Record<string, string> = {
+ setup: 'open_nami.stage_setup',
+ photos: 'open_nami.stage_photos',
+ videos: 'open_nami.stage_videos',
+ stories: 'open_nami.stage_stories',
+ highlights: 'open_nami.stage_highlights'
+};
+
+const STATUS_KEYS: Record<string, string> = {
+ 'Download cancelled': 'open_nami.status_cancelled',
+ 'Provisioning download engine binary...': 'open_nami.status_provisioning',
+ 'Switching to secondary video engine (yt-dlp)...': 'open_nami.status_switching_engine',
+ 'Engine not found (auto-download available)': 'open_nami.engine_missing',
+ 'All download engines ready': 'open_nami.engines_ready'
+};
+
+export function openNamiStageLabel(
+ stage: string | null | undefined,
+ t: OpenNamiTranslate
+): string {
+ if (!stage) return '';
+ const key = STAGE_KEYS[stage.trim().toLowerCase()];
+ return key ? t(key) : stage;
+}
+
+export function openNamiStatusMessage(
+ message: string | null | undefined,
+ t: OpenNamiTranslate
+): string {
+ if (!message) return '';
+ const text = message.trim();
+
+ const exact = STATUS_KEYS[text];
+ if (exact) return t(exact);
+
+ if (text.startsWith('Starting ')) {
+ return t('open_nami.status_starting', {
+ stage: openNamiStageLabel(text.slice('Starting '.length), t)
+ });
+ }
+ if (text.startsWith('Downloaded: ')) {
+ return t('open_nami.status_downloaded', { file: text.slice('Downloaded: '.length) });
+ }
+ const success = /^Successfully downloaded (\d+) files$/.exec(text);
+ if (success) {
+ return t('open_nami.status_success', { count: success[1] });
+ }
+
+ return text;
+}
diff --git a/src/routes/open-nami/+page.svelte b/src/routes/open-nami/+page.svelte
index e76aeaed..0cb3135e 100644
--- a/src/routes/open-nami/+page.svelte
+++ b/src/routes/open-nami/+page.svelte
@@ -3,28 +3,35 @@
import ProfileManager from '$components/open_nami/ProfileManager.svelte';
import SettingsManager from '$components/open_nami/SettingsManager.svelte';
import { setDraft } from '$lib/stores/open_nami_download_store.svelte';
+ import { t } from '$lib/i18n';
type TabKey = 'download' | 'profiles' | 'settings';
let activeTab = $state<TabKey>('download');
- const NAV_ITEMS: { key: TabKey; label: string; icon: string }[] = [
- { key: 'download', label: 'Download', icon: '/icons/open-nami-download.png' },
- { key: 'profiles', label: 'Profiles', icon: '/icons/open-nami-profiles.png' },
- { key: 'settings', label: 'Settings', icon: '/icons/open-nami-settings.png' }
+ const NAV_ITEMS: { key: TabKey; labelKey: string; icon: string }[] = [
+ { key: 'download', labelKey: 'open_nami.tab_download', icon: '/icons/open-nami-download.png' },
+ { key: 'profiles', labelKey: 'open_nami.tab_profiles', icon: '/icons/open-nami-profiles.png' },
+ { key: 'settings', labelKey: 'open_nami.tab_settings', icon: '/icons/open-nami-settings.png' }
];
+ const DESCRIPTION_KEYS: Record<TabKey, string> = {
+ download: 'open_nami.desc_download',
+ profiles: 'open_nami.desc_profiles',
+ settings: 'open_nami.desc_settings'
+ };
+
function switchTab(tab: TabKey) {
activeTab = tab;
}
</script>
<svelte:head>
- <title>Open Nami - Social Media Downloader</title>
+ <title>{$t('open_nami.page_title')}</title>
</svelte:head>
<div class="oo-shell">
- <aside class="oo-sidebar" aria-label="Open Nami sections">
+ <aside class="oo-sidebar" aria-label={$t('open_nami.sections_aria')}>
<nav class="oo-nav" role="tablist" aria-orientation="vertical">
{#each NAV_ITEMS as item (item.key)}
<button
@@ -42,7 +49,7 @@
style="--icon-url: url('{item.icon}')"
aria-hidden="true"
></span>
- <span>{item.label}</span>
+ <span>{$t(item.labelKey)}</span>
</button>
{/each}
</nav>
@@ -56,13 +63,11 @@
>
<header class="oo-header">
<p class="oo-kicker">Open Nami</p>
- <h1 class="oo-title">{NAV_ITEMS.find((i) => i.key === activeTab)?.label}</h1>
+ <h1 class="oo-title">
+ {$t(NAV_ITEMS.find((i) => i.key === activeTab)?.labelKey ?? 'open_nami.tab_download')}
+ </h1>
<p class="oo-description">
- {activeTab === 'download'
- ? 'Save posts and media from your connected social profiles.'
- : activeTab === 'profiles'
- ? 'Manage the profiles you use most often.'
- : 'Choose where Open Nami saves downloaded media.'}
+ {$t(DESCRIPTION_KEYS[activeTab])}
</p>
</header>