From 93112a8211f0cfc8c1f525cefb5b24dd5c141f53 Mon Sep 17 00:00:00 2001 From: Mr Date: Tue, 11 Apr 2023 05:37:17 +0200 Subject: [PATCH] Add Romanian translation (#468) * Create Romanian chat.json I have created Romanian translation of the chat.json. * Add Romanian translation I have created Romanian translations. * Update next-i18next.config.js Added ro locale --------- Co-authored-by: Mckay Wrigley --- next-i18next.config.js | 35 ++++++++++++++++---------------- public/locales/ro/chat.json | 28 +++++++++++++++++++++++++ public/locales/ro/common.json | 1 + public/locales/ro/markdown.json | 5 +++++ public/locales/ro/promptbar.json | 12 +++++++++++ public/locales/ro/sidebar.json | 13 ++++++++++++ 6 files changed, 77 insertions(+), 17 deletions(-) create mode 100644 public/locales/ro/chat.json create mode 100644 public/locales/ro/common.json create mode 100644 public/locales/ro/markdown.json create mode 100644 public/locales/ro/promptbar.json create mode 100644 public/locales/ro/sidebar.json diff --git a/next-i18next.config.js b/next-i18next.config.js index 3946bd9..8490d33 100644 --- a/next-i18next.config.js +++ b/next-i18next.config.js @@ -2,23 +2,24 @@ module.exports = { i18n: { defaultLocale: 'en', locales: [ - 'bn', - 'de', - 'en', - 'es', - 'fr', - 'he', - 'id', - 'it', - 'ja', - 'ko', - 'pt', - 'ru', - 'sv', - 'te', - 'vi', - 'zh', - 'ar', + "bn", + "de", + "en", + "es", + "fr", + "he", + "id", + "it", + "ja", + "ko", + "pt", + "ru", + "ro", + "sv", + "te", + "vi", + "zh", + "ar", ], }, localePath: diff --git a/public/locales/ro/chat.json b/public/locales/ro/chat.json new file mode 100644 index 0000000..3d07670 --- /dev/null +++ b/public/locales/ro/chat.json @@ -0,0 +1,28 @@ +{ + "OpenAI API Key Required": "Este necesară cheia API OpenAI", + "Please set your OpenAI API key in the bottom left of the sidebar.": "Introduceți cheia API OpenAI în partea stângă jos a barei laterale", + "Stop Generating": "Nu mai generați", + "Prompt limit is {{maxLength}} characters": "Limita mesajelor este de {{maxLength}} caractere", + "System Prompt": "Solicitări de sistem", + "You are ChatGPT, a large language model trained by OpenAI. Follow the user's instructions carefully. Respond using markdown.": "Sunteți ChatGPT, un model de limbă mare antrenat de OpenAI. Urmați cu atenție instrucțiunile de utilizare. Vă rugăm să răspundeți folosind markdown.", + "Enter a prompt": "Introdu o cerere", + "Regenerate response": "Regenerați răspunsul", + "Sorry, there was an error.": "Scuze, a aparut o eroare.", + "Model": "Model", + "Conversation": "Conversaţie", + "OR": "SAU", + "Loading...": "Se încarcă...", + "Type a message...": "Scrie un mesaj...", + "Error fetching models.": "A apărut o eroare la preluarea șabloanelor.", + "AI": "IA", + "You": "Tu", + "Cancel": "Anulare", + "Save & Submit": "Salvați și trimiteți", + "Make sure your OpenAI API key is set in the bottom left of the sidebar.": "Asigurați-vă că cheia dvs. API OpenAI este introdusă în partea stângă jos a barei laterale", + "If you completed this step, OpenAI may be experiencing issues.": "Dacă ați parcurs acest pas, OpenAI poate întâmpina probleme.", + "click if using a .env.local file": "Faceți clic dacă utilizați un fișier .env.local", + "Message limit is {{maxLength}} characters. You have entered {{valueLength}} characters.": "Limita mesajelor este de {{maxLength}} caractere. Ați introdus {{valueLength}} caractere.", + "Please enter a message": "Vă rugăm să scrieți un mesaj", + "Chatbot UI is an advanced chatbot kit for OpenAI's chat models aiming to mimic ChatGPT's interface and functionality.": "Chatbot UI este un kit de chatbot avansat pentru șabloanele de chat OpenAI, care își propune să imite interfața și funcționalitatea ChatGPT.", + "Are you sure you want to clear all messages?": "Sigur doriți să ștergeți toate mesajele?" +} diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/public/locales/ro/common.json @@ -0,0 +1 @@ +{} diff --git a/public/locales/ro/markdown.json b/public/locales/ro/markdown.json new file mode 100644 index 0000000..d702495 --- /dev/null +++ b/public/locales/ro/markdown.json @@ -0,0 +1,5 @@ +{ + "Copy code": "Copiați codul", + "Copied!": "Copiat!", + "Enter file name": "Introduceți numele fișierului" +} diff --git a/public/locales/ro/promptbar.json b/public/locales/ro/promptbar.json new file mode 100644 index 0000000..4e2286c --- /dev/null +++ b/public/locales/ro/promptbar.json @@ -0,0 +1,12 @@ +{ + "New prompt": "Noua solicitare", + "New folder": "Dosar nou", + "No prompts.": "Fără solicitări.", + "Search prompts...": "Cereri de căutare...", + "Name": "Nume", + "Description": "Descriere", + "A description for your prompt.": "Descrierea solicitării prompt.", + "Prompt": "Îndemnuri", + "Prompt content. Use {{}} to denote a variable. Ex: {{name}} is a {{adjective}} {{noun}}": "Conținut prompt. Utilizați {{}} pentru a indica o variabilă. De exemplu: {{nume}} este un {{adjectiv}} {{substantiv}}", + "Save": "Salvați" +} diff --git a/public/locales/ro/sidebar.json b/public/locales/ro/sidebar.json new file mode 100644 index 0000000..b7a4b49 --- /dev/null +++ b/public/locales/ro/sidebar.json @@ -0,0 +1,13 @@ +{ + "New folder": "Folder nou", + "New chat": "Conversație nouă", + "No conversations.": "Nicio conversație.", + "Search conversations...": "Căutați conversații...", + "OpenAI API Key": "Cheia API OpenAI", + "Import data": "Importați conversații", + "Are you sure?": "Esti sigur?", + "Clear conversations": "Ștergeți conversațiile", + "Export data": "Exportați conversații", + "Dark mode": "Modul întunecat", + "Light mode": "Modul de golire" +} \ No newline at end of file