Explorar o código

add i18n keys

SimonOriginal hai 9 meses
pai
achega
9e258ea466
Modificáronse 40 ficheiros con 41 adicións e 3 borrados
  1. 2 2
      src/lib/components/workspace/Functions.svelte
  2. 1 1
      src/lib/components/workspace/Tools.svelte
  3. 1 0
      src/lib/i18n/locales/ar-BH/translation.json
  4. 1 0
      src/lib/i18n/locales/bg-BG/translation.json
  5. 1 0
      src/lib/i18n/locales/bn-BD/translation.json
  6. 1 0
      src/lib/i18n/locales/ca-ES/translation.json
  7. 1 0
      src/lib/i18n/locales/ceb-PH/translation.json
  8. 1 0
      src/lib/i18n/locales/de-DE/translation.json
  9. 1 0
      src/lib/i18n/locales/dg-DG/translation.json
  10. 1 0
      src/lib/i18n/locales/en-GB/translation.json
  11. 1 0
      src/lib/i18n/locales/en-US/translation.json
  12. 1 0
      src/lib/i18n/locales/es-ES/translation.json
  13. 1 0
      src/lib/i18n/locales/fa-IR/translation.json
  14. 1 0
      src/lib/i18n/locales/fi-FI/translation.json
  15. 1 0
      src/lib/i18n/locales/fr-CA/translation.json
  16. 1 0
      src/lib/i18n/locales/fr-FR/translation.json
  17. 1 0
      src/lib/i18n/locales/he-IL/translation.json
  18. 1 0
      src/lib/i18n/locales/hi-IN/translation.json
  19. 1 0
      src/lib/i18n/locales/hr-HR/translation.json
  20. 1 0
      src/lib/i18n/locales/id-ID/translation.json
  21. 1 0
      src/lib/i18n/locales/it-IT/translation.json
  22. 1 0
      src/lib/i18n/locales/ja-JP/translation.json
  23. 1 0
      src/lib/i18n/locales/ka-GE/translation.json
  24. 1 0
      src/lib/i18n/locales/ko-KR/translation.json
  25. 1 0
      src/lib/i18n/locales/lt-LT/translation.json
  26. 1 0
      src/lib/i18n/locales/nb-NO/translation.json
  27. 1 0
      src/lib/i18n/locales/nl-NL/translation.json
  28. 1 0
      src/lib/i18n/locales/pa-IN/translation.json
  29. 1 0
      src/lib/i18n/locales/pl-PL/translation.json
  30. 1 0
      src/lib/i18n/locales/pt-BR/translation.json
  31. 1 0
      src/lib/i18n/locales/pt-PT/translation.json
  32. 1 0
      src/lib/i18n/locales/ru-RU/translation.json
  33. 1 0
      src/lib/i18n/locales/sr-RS/translation.json
  34. 1 0
      src/lib/i18n/locales/sv-SE/translation.json
  35. 1 0
      src/lib/i18n/locales/tk-TW/translation.json
  36. 1 0
      src/lib/i18n/locales/tr-TR/translation.json
  37. 1 0
      src/lib/i18n/locales/uk-UA/translation.json
  38. 1 0
      src/lib/i18n/locales/vi-VN/translation.json
  39. 1 0
      src/lib/i18n/locales/zh-CN/translation.json
  40. 1 0
      src/lib/i18n/locales/zh-TW/translation.json

+ 2 - 2
src/lib/components/workspace/Functions.svelte

@@ -235,7 +235,7 @@
 			</a>
 			<div class="flex flex-row gap-0.5 self-center">
 				{#if func?.meta?.manifest?.funding_url ?? false}
-					<Tooltip content="$i18n.t('Support')">
+					<Tooltip content={$i18n.t('Support')}>
 						<button
 							class="self-center w-fit text-sm px-2 py-2 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
 							type="button"
@@ -249,7 +249,7 @@
 					</Tooltip>
 				{/if}
 
-				<Tooltip content="$i18n.t('Valves')">
+				<Tooltip content={$i18n.t('Valves')}>
 					<button
 						class="self-center w-fit text-sm px-2 py-2 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
 						type="button"

+ 1 - 1
src/lib/components/workspace/Tools.svelte

@@ -221,7 +221,7 @@
 					</Tooltip>
 				{/if}
 
-				<Tooltip content="$i18n.t('Valves')">
+				<Tooltip content={$i18n.t('Valves')}>
 					<button
 						class="self-center w-fit text-sm px-2 py-2 dark:text-gray-300 dark:hover:text-white hover:bg-black/5 dark:hover:bg-white/5 rounded-xl"
 						type="button"

+ 1 - 0
src/lib/i18n/locales/ar-BH/translation.json

@@ -579,6 +579,7 @@
 	"Success": "نجاح",
 	"Successfully updated.": "تم التحديث بنجاح",
 	"Suggested": "مقترحات",
+	"Support": "",
 	"System": "النظام",
 	"System Prompt": "محادثة النظام",
 	"Tags": "الوسوم",

+ 1 - 0
src/lib/i18n/locales/bg-BG/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Успех",
 	"Successfully updated.": "Успешно обновено.",
 	"Suggested": "Препоръчано",
+	"Support": "",
 	"System": "Система",
 	"System Prompt": "Системен Промпт",
 	"Tags": "Тагове",

+ 1 - 0
src/lib/i18n/locales/bn-BD/translation.json

@@ -575,6 +575,7 @@
 	"Success": "সফল",
 	"Successfully updated.": "সফলভাবে আপডেট হয়েছে",
 	"Suggested": "প্রস্তাবিত",
+	"Support": "",
 	"System": "সিস্টেম",
 	"System Prompt": "সিস্টেম প্রম্পট",
 	"Tags": "ট্যাগসমূহ",

+ 1 - 0
src/lib/i18n/locales/ca-ES/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Èxit",
 	"Successfully updated.": "Actualitzat correctament.",
 	"Suggested": "Suggerit",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Indicació del Sistema",
 	"Tags": "Etiquetes",

+ 1 - 0
src/lib/i18n/locales/ceb-PH/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Kalampusan",
 	"Successfully updated.": "Malampuson nga na-update.",
 	"Suggested": "",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Madasig nga Sistema",
 	"Tags": "Mga tag",

+ 1 - 0
src/lib/i18n/locales/de-DE/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Erfolg",
 	"Successfully updated.": "Erfolgreich aktualisiert.",
 	"Suggested": "Vorgeschlagen",
+	"Support": "",
 	"System": "System",
 	"System Prompt": "System-Prompt",
 	"Tags": "Tags",

+ 1 - 0
src/lib/i18n/locales/dg-DG/translation.json

@@ -577,6 +577,7 @@
 	"Success": "Success very success",
 	"Successfully updated.": "Successfully updated. Very updated.",
 	"Suggested": "",
+	"Support": "",
 	"System": "System very system",
 	"System Prompt": "System Prompt much prompt",
 	"Tags": "Tags very tags",

+ 1 - 0
src/lib/i18n/locales/en-GB/translation.json

@@ -575,6 +575,7 @@
 	"Success": "",
 	"Successfully updated.": "",
 	"Suggested": "",
+	"Support": "",
 	"System": "",
 	"System Prompt": "",
 	"Tags": "",

+ 1 - 0
src/lib/i18n/locales/en-US/translation.json

@@ -575,6 +575,7 @@
 	"Success": "",
 	"Successfully updated.": "",
 	"Suggested": "",
+	"Support": "",
 	"System": "",
 	"System Prompt": "",
 	"Tags": "",

+ 1 - 0
src/lib/i18n/locales/es-ES/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Éxito",
 	"Successfully updated.": "Actualizado exitosamente.",
 	"Suggested": "Sugerido",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Prompt del sistema",
 	"Tags": "Etiquetas",

+ 1 - 0
src/lib/i18n/locales/fa-IR/translation.json

@@ -575,6 +575,7 @@
 	"Success": "موفقیت",
 	"Successfully updated.": "با موفقیت به روز شد",
 	"Suggested": "پیشنهادی",
+	"Support": "",
 	"System": "سیستم",
 	"System Prompt": "پرامپت سیستم",
 	"Tags": "تگ\u200cها",

+ 1 - 0
src/lib/i18n/locales/fi-FI/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Onnistui",
 	"Successfully updated.": "Päivitetty onnistuneesti.",
 	"Suggested": "Suositeltu",
+	"Support": "",
 	"System": "Järjestelmä",
 	"System Prompt": "Järjestelmäkehote",
 	"Tags": "Tagit",

+ 1 - 0
src/lib/i18n/locales/fr-CA/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Réussite",
 	"Successfully updated.": "Mise à jour réussie.",
 	"Suggested": "Sugéré",
+	"Support": "",
 	"System": "Système",
 	"System Prompt": "Prompt du système",
 	"Tags": "Balises",

+ 1 - 0
src/lib/i18n/locales/fr-FR/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Réussite",
 	"Successfully updated.": "Mise à jour réussie.",
 	"Suggested": "Sugéré",
+	"Support": "",
 	"System": "Système",
 	"System Prompt": "Prompt du système",
 	"Tags": "Balises",

+ 1 - 0
src/lib/i18n/locales/he-IL/translation.json

@@ -576,6 +576,7 @@
 	"Success": "הצלחה",
 	"Successfully updated.": "עדכון הצלחה.",
 	"Suggested": "מומלץ",
+	"Support": "",
 	"System": "מערכת",
 	"System Prompt": "תגובת מערכת",
 	"Tags": "תגיות",

+ 1 - 0
src/lib/i18n/locales/hi-IN/translation.json

@@ -575,6 +575,7 @@
 	"Success": "संपन्न",
 	"Successfully updated.": "सफलतापूर्वक उत्परिवर्तित।",
 	"Suggested": "सुझावी",
+	"Support": "",
 	"System": "सिस्टम",
 	"System Prompt": "सिस्टम प्रॉम्प्ट",
 	"Tags": "टैग",

+ 1 - 0
src/lib/i18n/locales/hr-HR/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Uspjeh",
 	"Successfully updated.": "Uspješno ažurirano.",
 	"Suggested": "Predloženo",
+	"Support": "",
 	"System": "Sustav",
 	"System Prompt": "Sistemski prompt",
 	"Tags": "Oznake",

+ 1 - 0
src/lib/i18n/locales/id-ID/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Berhasil",
 	"Successfully updated.": "Berhasil diperbarui.",
 	"Suggested": "Disarankan",
+	"Support": "",
 	"System": "Sistem",
 	"System Prompt": "Permintaan Sistem",
 	"Tags": "Tag",

+ 1 - 0
src/lib/i18n/locales/it-IT/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Successo",
 	"Successfully updated.": "Aggiornato con successo.",
 	"Suggested": "Suggerito",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Prompt di sistema",
 	"Tags": "Tag",

+ 1 - 0
src/lib/i18n/locales/ja-JP/translation.json

@@ -574,6 +574,7 @@
 	"Success": "成功",
 	"Successfully updated.": "正常に更新されました。",
 	"Suggested": "提案",
+	"Support": "",
 	"System": "システム",
 	"System Prompt": "システムプロンプト",
 	"Tags": "タグ",

+ 1 - 0
src/lib/i18n/locales/ka-GE/translation.json

@@ -575,6 +575,7 @@
 	"Success": "წარმატება",
 	"Successfully updated.": "წარმატებით განახლდა",
 	"Suggested": "პირდაპირ პოპულარული",
+	"Support": "",
 	"System": "სისტემა",
 	"System Prompt": "სისტემური მოთხოვნა",
 	"Tags": "ტეგები",

+ 1 - 0
src/lib/i18n/locales/ko-KR/translation.json

@@ -575,6 +575,7 @@
 	"Success": "성공",
 	"Successfully updated.": "성공적으로 업데이트되었습니다.",
 	"Suggested": "제안",
+	"Support": "",
 	"System": "시스템",
 	"System Prompt": "시스템 프롬프트",
 	"Tags": "태그",

+ 1 - 0
src/lib/i18n/locales/lt-LT/translation.json

@@ -577,6 +577,7 @@
 	"Success": "Sėkmingai",
 	"Successfully updated.": "Sėkmingai atnaujinta.",
 	"Suggested": "Siūloma",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Sistemos užklausa",
 	"Tags": "Žymos",

+ 1 - 0
src/lib/i18n/locales/nb-NO/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Suksess",
 	"Successfully updated.": "Oppdatert.",
 	"Suggested": "Foreslått",
+	"Support": "",
 	"System": "System",
 	"System Prompt": "Systemprompt",
 	"Tags": "Tagger",

+ 1 - 0
src/lib/i18n/locales/nl-NL/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Succes",
 	"Successfully updated.": "Succesvol bijgewerkt.",
 	"Suggested": "Suggestie",
+	"Support": "",
 	"System": "Systeem",
 	"System Prompt": "Systeem Prompt",
 	"Tags": "Tags",

+ 1 - 0
src/lib/i18n/locales/pa-IN/translation.json

@@ -575,6 +575,7 @@
 	"Success": "ਸਫਲਤਾ",
 	"Successfully updated.": "ਸਫਲਤਾਪੂਰਵਕ ਅੱਪਡੇਟ ਕੀਤਾ ਗਿਆ।",
 	"Suggested": "ਸੁਝਾਇਆ ਗਿਆ",
+	"Support": "",
 	"System": "ਸਿਸਟਮ",
 	"System Prompt": "ਸਿਸਟਮ ਪ੍ਰੰਪਟ",
 	"Tags": "ਟੈਗ",

+ 1 - 0
src/lib/i18n/locales/pl-PL/translation.json

@@ -577,6 +577,7 @@
 	"Success": "Sukces",
 	"Successfully updated.": "Pomyślnie zaktualizowano.",
 	"Suggested": "Sugerowane",
+	"Support": "",
 	"System": "System",
 	"System Prompt": "Prompt systemowy",
 	"Tags": "Tagi",

+ 1 - 0
src/lib/i18n/locales/pt-BR/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Sucesso",
 	"Successfully updated.": "Atualizado com sucesso.",
 	"Suggested": "Sugerido",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Prompt do Sistema",
 	"Tags": "Tags",

+ 1 - 0
src/lib/i18n/locales/pt-PT/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Sucesso",
 	"Successfully updated.": "Atualizado com sucesso.",
 	"Suggested": "Sugerido",
+	"Support": "",
 	"System": "Sistema",
 	"System Prompt": "Prompt do Sistema",
 	"Tags": "Etiquetas",

+ 1 - 0
src/lib/i18n/locales/ru-RU/translation.json

@@ -577,6 +577,7 @@
 	"Success": "Успех",
 	"Successfully updated.": "Успешно обновлено.",
 	"Suggested": "Предложено",
+	"Support": "",
 	"System": "Система",
 	"System Prompt": "Системный промпт",
 	"Tags": "Теги",

+ 1 - 0
src/lib/i18n/locales/sr-RS/translation.json

@@ -576,6 +576,7 @@
 	"Success": "Успех",
 	"Successfully updated.": "Успешно ажурирано.",
 	"Suggested": "Предложено",
+	"Support": "",
 	"System": "Систем",
 	"System Prompt": "Системски упит",
 	"Tags": "Ознаке",

+ 1 - 0
src/lib/i18n/locales/sv-SE/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Framgång",
 	"Successfully updated.": "Uppdaterades framgångsrikt.",
 	"Suggested": "Föreslagen",
+	"Support": "",
 	"System": "System",
 	"System Prompt": "Systeminstruktion",
 	"Tags": "Taggar",

+ 1 - 0
src/lib/i18n/locales/tk-TW/translation.json

@@ -575,6 +575,7 @@
 	"Success": "",
 	"Successfully updated.": "",
 	"Suggested": "",
+	"Support": "",
 	"System": "",
 	"System Prompt": "",
 	"Tags": "",

+ 1 - 0
src/lib/i18n/locales/tr-TR/translation.json

@@ -575,6 +575,7 @@
 	"Success": "Başarılı",
 	"Successfully updated.": "Başarıyla güncellendi.",
 	"Suggested": "Önerilen",
+	"Support": "",
 	"System": "Sistem",
 	"System Prompt": "Sistem Promptu",
 	"Tags": "Etiketler",

+ 1 - 0
src/lib/i18n/locales/uk-UA/translation.json

@@ -577,6 +577,7 @@
 	"Success": "Успіх",
 	"Successfully updated.": "Успішно оновлено.",
 	"Suggested": "Запропоновано",
+	"Support": "",
 	"System": "Система",
 	"System Prompt": "Системний промт",
 	"Tags": "Теги",

+ 1 - 0
src/lib/i18n/locales/vi-VN/translation.json

@@ -574,6 +574,7 @@
 	"Success": "Thành công",
 	"Successfully updated.": "Đã cập nhật thành công.",
 	"Suggested": "Gợi ý một số mẫu prompt",
+	"Support": "",
 	"System": "Hệ thống",
 	"System Prompt": "Prompt Hệ thống (System Prompt)",
 	"Tags": "Thẻ",

+ 1 - 0
src/lib/i18n/locales/zh-CN/translation.json

@@ -574,6 +574,7 @@
 	"Success": "成功",
 	"Successfully updated.": "成功更新。",
 	"Suggested": "建议",
+	"Support": "",
 	"System": "系统",
 	"System Prompt": "系统提示词 (System Prompt)",
 	"Tags": "标签",

+ 1 - 0
src/lib/i18n/locales/zh-TW/translation.json

@@ -574,6 +574,7 @@
 	"Success": "成功",
 	"Successfully updated.": "更新成功。",
 	"Suggested": "建議",
+	"Support": "",
 	"System": "系統",
 	"System Prompt": "系統提示詞",
 	"Tags": "標籤",