summaryrefslogtreecommitdiff
path: root/src/ollama_web/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'src/ollama_web/i18n')
-rw-r--r--src/ollama_web/i18n/__init__.py2
-rw-r--r--src/ollama_web/i18n/messages/en.json3
-rw-r--r--src/ollama_web/i18n/messages/ja.json3
3 files changed, 5 insertions, 3 deletions
diff --git a/src/ollama_web/i18n/__init__.py b/src/ollama_web/i18n/__init__.py
index 6ab540c..9cd55e5 100644
--- a/src/ollama_web/i18n/__init__.py
+++ b/src/ollama_web/i18n/__init__.py
@@ -81,4 +81,4 @@ def t(key: str, lang: str | None = None, fallback: str | None = None) -> str:
value = _resolve(key, get_messages(resolve_language(lang)))
if isinstance(value, str):
return value
- return fallback if fallback is not None else key \ No newline at end of file
+ return fallback if fallback is not None else key
diff --git a/src/ollama_web/i18n/messages/en.json b/src/ollama_web/i18n/messages/en.json
index 74e0c00..878e53c 100644
--- a/src/ollama_web/i18n/messages/en.json
+++ b/src/ollama_web/i18n/messages/en.json
@@ -32,7 +32,8 @@
"processing": "Processing…",
"no_response": "(No response)",
"clear_failed": "Failed to clear",
- "clear_messages_failed": "Failed to clear messages"
+ "clear_messages_failed": "Failed to clear messages",
+ "image_attachment": "Attached image"
},
"mcp": {
"server_settings": "MCP Server Settings",
diff --git a/src/ollama_web/i18n/messages/ja.json b/src/ollama_web/i18n/messages/ja.json
index f775ba6..b39e85e 100644
--- a/src/ollama_web/i18n/messages/ja.json
+++ b/src/ollama_web/i18n/messages/ja.json
@@ -32,7 +32,8 @@
"processing": "処理中…",
"no_response": "(応答なし)",
"clear_failed": "クリアに失敗しました",
- "clear_messages_failed": "メッセージのクリアに失敗しました"
+ "clear_messages_failed": "メッセージのクリアに失敗しました",
+ "image_attachment": "添付画像"
},
"mcp": {
"server_settings": "MCPサーバー設定",