From ff13a3eab8dbee1cc669774c22298a82a38f3eba Mon Sep 17 00:00:00 2001 From: oznav2 <92755196+oznav2@users.noreply.github.com> Date: Sun, 26 Mar 2023 12:29:51 +0300 Subject: [PATCH] add_Hebrew_locales (#190) * add_Hebrew_locales Add Locales of Hebrew * Update next-i18next.config.js updating i-18next with Hebrew --- next-i18next.config.js | 1 + public/locales/he/chat.json | 24 ++++++++++++++++++++++++ public/locales/he/common.json | 1 + public/locales/he/markdown.json | 5 +++++ public/locales/he/sidebar.json | 13 +++++++++++++ 5 files changed, 44 insertions(+) create mode 100644 public/locales/he/chat.json create mode 100644 public/locales/he/common.json create mode 100644 public/locales/he/markdown.json create mode 100644 public/locales/he/sidebar.json diff --git a/next-i18next.config.js b/next-i18next.config.js index 0b23d6b..63efd63 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -14,6 +14,7 @@ module.exports = { "te", "vi", "zh", + "he", ], }, localePath: diff --git a/public/locales/he/chat.json b/public/locales/he/chat.json new file mode 100644 index 0000000..b514415 --- /dev/null +++ b/public/locales/he/chat.json @@ -0,0 +1,24 @@ +{ + "OpenAI API Key Required": "מפתח openAI API", + "Please set your OpenAI API key in the bottom left of the sidebar.": "עליך להזין את המפתח האישי שלך בצידו השמאלי התחתון של תפריט הניווט.", + "Stop Generating": "עצור תהליך הפקת התשובה", + "Prompt limit is {{maxLength}} characters": "אורך התשובה מוגבל ל {{maxLength}} תווים", + "System Prompt": "הגדרת בסיס לכל תשובה של המערכת", + "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown.": "You are Hebrew speaking ChatGPT, a large language model trained by OpenAI which responds in Hebrew to any question or User comment. Follow the user's instructions carefully. Respond in Hebrew using markdown.", + "Enter a prompt": "הקלד הודעה", + "Regenerate response": "הפק תשובה מחדש", + "Sorry, there was an error.": "התנצלותנו הכנה, המערכת מדווחת על תקלה", + "Model": "מודל", + "Conversation": "שיחה", + "OR": "או", + "Loading...": "טוען...", + "Type a message...": "הקלד הודעתך...", + "Error fetching models.": "תקלה באיחזור רשימת המודלים", + "AI": "המערכת", + "You": "אתה", + "Make sure your OpenAI API key is set in the bottom left of the sidebar.": "עליך לוודא שמפתח האישי שלך מוזן בתפריט מצד שמאל", + "If you completed this step, OpenAI may be experiencing issues.": "אם טרם השלמת חלק זה יש סבירות גבוהה להתרחשות תקלה", + "Message limit is {{maxLength}} characters. You have entered {{valueLength}} characters.": "מגבלת תווים היא {{maxLength}}. אתה הקלדת עד עכשיו {{valueLength}} תווים.", + "Please enter a message": "הקלד את הודעתך", + "Chatbot UI is an advanced chatbot kit for OpenAI's chat models aiming to mimic ChatGPT's interface and functionality.": "מערכת הצאטבוט היא ערכה מתקדמת לניהול שיחה המכוונת לחקות את המראה והפונקציונאלית של ChatGPT" +} \ No newline at end of file diff --git a/public/locales/he/common.json b/public/locales/he/common.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/public/locales/he/common.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/public/locales/he/markdown.json b/public/locales/he/markdown.json new file mode 100644 index 0000000..eabb752 --- /dev/null +++ b/public/locales/he/markdown.json @@ -0,0 +1,5 @@ +{ + "Copy code": "העתק קוד", + "Copied!": "נשמר בזכרון", + "Enter file name": "הקלד שם לקובץ" +} \ No newline at end of file diff --git a/public/locales/he/sidebar.json b/public/locales/he/sidebar.json new file mode 100644 index 0000000..cef2411 --- /dev/null +++ b/public/locales/he/sidebar.json @@ -0,0 +1,13 @@ +{ + "New folder": "תיקיה חדשה", + "New chat": "שיחה חדשה", + "No conversations.": "אין שיחות חדשות", + "Search conversations...": "חיפוש שיחות...", + "OpenAI API Key": "מפתח אישי ל openAI", + "Import conversations": "ייבוא שיחות", + "Are you sure?": "אתה בטוח?", + "Clear conversations": "ניקוי שיחות", + "Export conversations": "ייצוא שיחות", + "Dark mode": "מצב כהה", + "Light mode": "מצב בהיר" +} \ No newline at end of file