- {selected.context} · {formatSearchDate(selected.updated_at)}
+ {contextLabels.get(selected.context) ?? selected.context} · {formatSearchDate(
+ selected.updated_at
+ )}
{#if selected.kind === 'note'}
@@ -708,7 +718,7 @@
setPreview(!preview);
panel = null;
input.focus();
- }}>{$i18n.t(preview ? 'Hide preview' : 'Show preview')}{preview ? $i18n.t('Hide preview') : $i18n.t('Show preview')}
{/if}
{selected ? selected.context : $i18n.t('Workspace search')}{selected
+ ? (contextLabels.get(selected.context) ?? selected.context)
+ : $i18n.t('Workspace search')}
{/if}
{
preview = !preview;
if (preview) await renderPreview();
- }}>{preview ? 'Edit' : 'Preview'}{preview ? $i18n.t('Edit') : $i18n.t('Preview')}{/if}
{#if loadedPath && !objectUrl && !loading && !loadError}
download(selected)}>Download download(selected)}>{$i18n.t('Download')}
{#if loadError}
{loadError}
@@ -646,7 +646,9 @@
sandbox=""
class="min-h-0 flex-1"
>
- {:else}
Binary file. Download to open.
{/if}
+ {:else}
+ {$i18n.t('Binary file. Download to open.')}
+
{/if}
{:else if preview}
f.path === path)) open(path);
- else toast.error('File not found');
+ else toast.error($i18n.t('File not found.'));
}
}}
>
@@ -802,10 +804,10 @@
type="button"
class="px-2 text-xs"
on:click={() =>
- ask('Delete selected files?', false, () => {
+ ask($i18n.t('Delete selected files?'), false, () => {
selectedPaths.forEach(remove);
selectedPaths = new Set();
- })}>Delete selected{$i18n.t('Delete selected')}{/if}
{#if !currentPath}{@render createInput()}{/if}
@@ -832,7 +834,9 @@
onToggleExpand={toggleFolder}
onRename={(path, name) => rename(path, path.slice(0, path.lastIndexOf('/') + 1) + name)}
onDelete={(path) =>
- ask('Delete this file or folder?', false, () => remove(path.replace(/\/$/, '')))}
+ ask($i18n.t('Delete this file or folder?'), false, () =>
+ remove(path.replace(/\/$/, ''))
+ )}
onMove={(paths, destination) =>
paths.forEach((path) => {
path = path.replace(/\/$/, '');
@@ -846,7 +850,7 @@
{/each}
{#if !rows.length}
- Empty folders are saved when they contain files.
+ {$i18n.t('Empty folders are saved when they contain files.')}
{/if}
{/snippet}
diff --git a/src/lib/components/workspace/Skills/SkillMenu.svelte b/src/lib/components/workspace/Skills/SkillMenu.svelte
index 303cd1557a..973fe50289 100644
--- a/src/lib/components/workspace/Skills/SkillMenu.svelte
+++ b/src/lib/components/workspace/Skills/SkillMenu.svelte
@@ -133,7 +133,7 @@
on:click={() => {
exportHandler('zip');
closeMenu();
- }}>
Export ZIP
{$i18n.t('Export ZIP')}
{/if}
diff --git a/src/lib/i18n/locales/en-US/translation.json b/src/lib/i18n/locales/en-US/translation.json
index 1c1e167164..e4c6c4d2d0 100644
--- a/src/lib/i18n/locales/en-US/translation.json
+++ b/src/lib/i18n/locales/en-US/translation.json
@@ -386,6 +386,7 @@
"before": "",
"Being lazy": "",
"Binary file — text comparison is unavailable.": "",
+ "Binary file. Download to open.": "",
"Bing": "",
"Bold": "",
"Boosting or penalizing specific tokens for constrained responses. Bias values will be clamped between -100 and 100 (inclusive). (Default: none)": "",
@@ -795,7 +796,10 @@
"Delete Model": "",
"Delete note?": "",
"Delete prompt?": "",
+ "Delete selected": "",
+ "Delete selected files?": "",
"Delete skill?": "",
+ "Delete this file or folder?": "",
"delete this link": "",
"Delete tool?": "",
"Delete User": "",
@@ -844,6 +848,7 @@
"Discard changes": "",
"Discard comparison changes?": "",
"Discard unsaved changes?": "",
+ "Discard unsaved skill changes?": "",
"Disconnect OAuth": "",
"Disconnected": "",
"Discover a function": "",
@@ -959,6 +964,7 @@
"Emoji graphics provided by": "",
"Emojis": "",
"Empty": "",
+ "Empty folders are saved when they contain files.": "",
"Empty message": "",
"Enable": "",
"Enable All": "",
@@ -1308,6 +1314,7 @@
"File renamed.": "",
"File saved": "",
"File size should not exceed {{maxSize}} MB.": "",
+ "File updated on disk. Your local changes are preserved.": "",
"File uploaded successfully": "",
"Filename": "",
"Filename matches": "",
@@ -1438,6 +1445,7 @@
"Hide from Sidebar": "",
"Hide Hidden Files": "",
"Hide Model": "",
+ "Hide preview": "",
"Hide sub-agents": "Hide sub-agents",
"Hide whitespace": "",
"High": "",
@@ -1478,6 +1486,7 @@
"Import": "",
"Import action": "",
"Import CSV": "",
+ "Import folder": "",
"Import from URL": "",
"Import JSON": "",
"Import Models": "",
@@ -1547,6 +1556,7 @@
"Keep both": "",
"Keep both versions in the proposed revision, original first.": "",
"Keep current webhook URL": "",
+ "Keep editing": "",
"Keep in Sidebar": "",
"Keep tools listed even while your shell is closed.": "",
"Key": "",
@@ -1883,6 +1893,7 @@
"No knowledge found": "",
"No limit": "",
"No matches": "",
+ "No matches found": "",
"No matching scopes.": "",
"No model data": "",
"No model IDs": "",
@@ -1946,6 +1957,7 @@
"Notes": "",
"Notes Public Sharing": "",
"Notes Sharing": "",
+ "Nothing here yet": "",
"Nothing to compact": "",
"Notifications": "",
"November": "",
@@ -2076,9 +2088,12 @@
"Permissions reset to defaults": "",
"Persistent": "",
"Personal": "",
+ "Personal chat": "",
+ "Personal note": "",
"Pin": "",
"Pin to Sidebar": "",
"Pinned": "",
+ "Pinned & recent": "",
"Pinned Messages": "",
"Pipe": "",
"Pipeline deleted successfully": "",
@@ -2232,6 +2247,8 @@
"Release Notes": "",
"Releases": "",
"Relevance": "",
+ "Reload": "",
+ "Reload latest": "",
"Reload preview": "",
"Remember Dismissal": "",
"Reminder": "",
@@ -2296,6 +2313,7 @@
"Result": "",
"RESULT": "",
"Result preview": "",
+ "Results": "",
"Retrieved {{count}} sources": "",
"Retrieved {{count}} sources_one": "",
"Retrieved {{count}} sources_other": "",
@@ -2330,6 +2348,8 @@
"Save and send": "",
"Save As Copy": "",
"Save Chat": "",
+ "Save draft as copy": "",
+ "Save local changes": "",
"Save the connection to keep the OAuth details. Keep the Connection ID unchanged.": "",
"Save your changes before continuing?": "",
"Save your recovery codes": "",
@@ -2438,6 +2458,7 @@
"Select for Compare": "",
"Select how to split message text for TTS requests": "",
"Select Knowledge": "",
+ "Select less text (maximum 16 KiB).": "",
"Select loaded files": "Select loaded files",
"Select Method": "",
"Select model": "",
@@ -3629,7 +3650,10 @@
"Share to Open WebUI Community": "",
"Share your background and interests": "",
"Shared": "",
+ "Shared chat": "",
"Shared Chats": "",
+ "Shared note": "",
+ "Shared snapshot": "",
"Shared with you": "",
"Sharing mode": "",
"Sharing Permissions": "",
@@ -3653,6 +3677,7 @@
"Show Model": "",
"Show more": "",
"Show or switch the current model.": "",
+ "Show preview": "",
"Show Shortcuts": "",
"Show the floating quick-action toolbar in chat.": "",
"Show your support!": "",
@@ -3850,6 +3875,7 @@
"This option controls how many tokens are preserved when refreshing the context. For example, if set to 2, the last 2 tokens of the conversation context will be retained. Preserving context can help maintain the continuity of a conversation, but it may reduce the ability to respond to new topics.": "",
"This option sets the maximum number of tokens the model can generate in its response. Increasing this limit allows the model to provide longer answers, but it may also increase the likelihood of unhelpful or irrelevant content being generated.": "",
"This response was generated by \"{{model}}\"": "",
+ "This skill has a newer version. Your draft is preserved.": "",
"This template contains multiple context placeholders ([context] or {{CONTEXT}}). Context will be injected at each occurrence.": "",
"This user will need to sign in again on every device. API keys remain active.": "",
"This will delete": "",