From c724e19e623c48d7a79ed63a33ead4f58a8d1b66 Mon Sep 17 00:00:00 2001 From: Ased Mammad Date: Thu, 7 Mar 2024 13:27:09 +0330 Subject: [PATCH] add new persian translations --- src/lib/i18n/index.ts | 3 ++- src/lib/i18n/locales/fa/translation.json | 28 ++++++++++++------------ 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/lib/i18n/index.ts b/src/lib/i18n/index.ts index 14a11a223..a1688367d 100644 --- a/src/lib/i18n/index.ts +++ b/src/lib/i18n/index.ts @@ -59,8 +59,9 @@ i18next } }); -export const languages = (await import(`./locales/languages.json`)).default; const i18n = createI18nStore(i18next); const isLoadingStore = createIsLoadingStore(i18next); + +export const languages = (await import(`./locales/languages.json`)).default; export default i18n; export const isLoading = isLoadingStore; diff --git a/src/lib/i18n/locales/fa/translation.json b/src/lib/i18n/locales/fa/translation.json index 27485d22f..88a5647ec 100644 --- a/src/lib/i18n/locales/fa/translation.json +++ b/src/lib/i18n/locales/fa/translation.json @@ -216,7 +216,7 @@ "Sync All": "همگام سازی همه", "System Prompt": "پرامپت سیستم", "Tags": "تگ‌ها", - "Temperature": "Temperature", + "Temperature": "دما", "Template": "الگو", "Text-to-Speech Engine": "موتور تبدیل متن به گفتار", "Tfs Z": "Tfs Z", @@ -311,17 +311,17 @@ "Open": "باز", "Close": "بسته", "sidebar": "نوار کناری", - "Playground": "Playground", - "Submit": "Submit", - "(Beta)": "(Beta)", - "Text Completion": "Text Completion", - "Chat": "Chat", - "You're a helpful assistant.": "You're a helpful assistant.", - "System": "System", - "assistant": "Assistant", - "Add message": "Add message", - "Enter a user message here": "Enter a user message here", - "Enter an assistant message here": "Enter an assistant message here", - "Drop any files here to add to the conversation": "Drop any files here to add to the conversation", - "You": "You" + "Playground": "زمین بازی", + "Submit": "ارسال", + "(Beta)": "(بتا)", + "Text Completion": "تکمیل متن", + "Chat": "گپ", + "You're a helpful assistant.": "تو یک دستیار سودمند هستی.", + "System": "سیستم", + "assistant": "دستیار", + "Add message": "اضافه کردن پیغام", + "Enter a user message here": "در اینجا یک پیام کاربر را وارد کنید", + "Enter an assistant message here": "در اینجا یک پیام دستیار را وارد کنید", + "Drop any files here to add to the conversation": "هر فایلی را اینجا رها کنید تا به مکالمه اضافه شود", + "You": "شما" }