Browse Source

add new persian translations

Ased Mammad 1 năm trước cách đây
mục cha
commit
c724e19e62
2 tập tin đã thay đổi với 16 bổ sung15 xóa
  1. 2 1
      src/lib/i18n/index.ts
  2. 14 14
      src/lib/i18n/locales/fa/translation.json

+ 2 - 1
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;

+ 14 - 14
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": "شما"
 }