Skip to content

Commit

Permalink
add i18n token
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshen committed Apr 17, 2024
1 parent 0e9df68 commit 4be6d67
Show file tree
Hide file tree
Showing 36 changed files with 253 additions and 0 deletions.
2 changes: 2 additions & 0 deletions locales/ar/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "فشلت مصادقة Bedrock، يرجى التحقق من AccessKeyId/SecretAccessKey وإعادة المحاولة",
"InvalidGoogleAPIKey": "مفتاح Google API غير صحيح أو فارغ، يرجى التحقق من مفتاح Google API وإعادة المحاولة",
"InvalidGroqAPIKey": "مفتاح Groq API غير صحيح أو فارغ، يرجى التحقق من مفتاح Groq API وإعادة المحاولة",
"InvalidMinimaxAPIKey": "مفتاح Minimax API غير صحيح أو فارغ، يرجى التحقق من مفتاح Mistral API وإعادة المحاولة",
"InvalidMistralAPIKey": "مفتاح Mistral AI API غير صحيح أو فارغ، يرجى التحقق من مفتاح Mistral API وإعادة المحاولة",
"InvalidMoonshotAPIKey": "مفتاح API لـ Moonshot AI غير صحيح أو فارغ، يرجى التحقق من مفتاح API لـ Moonshot وإعادة المحاولة",
"InvalidOllamaArgs": "تكوين Ollama غير صحيح، يرجى التحقق من تكوين Ollama وإعادة المحاولة",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "مفتاح ZeroOne API غير صحيح أو فارغ، يرجى التحقق من مفتاح ZeroOne API وإعادة المحاولة",
"InvalidZhipuAPIKey": "مفتاح Zhipu API غير صحيح أو فارغ، يرجى التحقق من مفتاح Zhipu API وإعادة المحاولة",
"LocationNotSupportError": "عذرًا، لا يدعم موقعك الحالي خدمة هذا النموذج، قد يكون ذلك بسبب قيود المنطقة أو عدم توفر الخدمة. يرجى التحقق مما إذا كان الموقع الحالي يدعم استخدام هذه الخدمة، أو محاولة استخدام معلومات الموقع الأخرى.",
"MinimaxBizError": "حدث خطأ في طلب خدمة Minimax، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
"MistralBizError": "طلب خدمة Mistral AI خاطئ، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
"MoonshotBizError": "حدث خطأ في خدمة جانب القمر، يرجى التحقق من المعلومات أدناه أو إعادة المحاولة",
"NoOpenAIAPIKey": "مفتاح API الخاص بـ OpenAI فارغ، يرجى إضافة مفتاح API الخاص بـ OpenAI",
Expand Down
12 changes: 12 additions & 0 deletions locales/ar/modelProvider.json
Expand Up @@ -95,6 +95,18 @@
"title": "استخدام مفتاح API الخاص بـ Groq المخصص"
}
},
"minimax": {
"title": "Minimax",
"token": {
"desc": "أدخل مفتاح API الخاص بـ Minimax",
"placeholder": "مفتاح API Minimax",
"title": "مفتاح API"
},
"unlock": {
"description": "قم بإدخال مفتاح API الخاص بـ Minimax الخاص بك لبدء الجلسة. لن يتم تسجيل مفتاح الـ API الخاص بك من قبل التطبيق",
"title": "استخدام مفتاح API Minimax المخصص"
}
},
"mistral": {
"title": "Mistral AI",
"token": {
Expand Down
2 changes: 2 additions & 0 deletions locales/bg-BG/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "Удостоверяването на Bedrock е неуспешно. Моля, проверете AccessKeyId/SecretAccessKey и опитайте отново.",
"InvalidGoogleAPIKey": "API ключът на Google е неправилен или празен. Моля, проверете API ключа на Google и опитайте отново.",
"InvalidGroqAPIKey": "API ключът на Groq е неправилен или празен. Моля, проверете API ключа на Groq и опитайте отново.",
"InvalidMinimaxAPIKey": "Невалиден ключ за Minimax API или празен, моля проверете ключа за Mistral API и опитайте отново",
"InvalidMistralAPIKey": "Неправилен или празен API ключ на Mistral AI. Моля, проверете вашия API ключ на Mistral и опитайте отново.",
"InvalidMoonshotAPIKey": "API ключът на Moonshot AI е неправилен или празен, моля, проверете API ключа на Moonshot и опитайте отново.",
"InvalidOllamaArgs": "Невалидна конфигурация на Ollama, моля, проверете конфигурацията на Ollama и опитайте отново",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "API ключът на 01-AI е неправилен или празен. Моля, проверете API ключа на 01-AI и опитайте отново.",
"InvalidZhipuAPIKey": "API ключът на Zhipu е неправилен или празен. Моля, проверете API ключа на Zhipu и опитайте отново.",
"LocationNotSupportError": "Съжаляваме, вашето текущо местоположение не поддържа тази услуга на модела. Това може да се дължи на регионални ограничения или на недостъпност на услугата. Моля, потвърдете дали текущото местоположение поддържа използването на тази услуга или опитайте да използвате друго местоположение.",
"MinimaxBizError": "Грешка при заявката към услугата Minimax, моля проверете информацията по-долу или опитайте отново",
"MistralBizError": "Възникна грешка при заявка към услугата Mistral AI. Моля, отстранете неизправностите въз основа на следната информация или опитайте отново.",
"MoonshotBizError": "Възникна грешка с услугата Moonshot, моля, отстранете неизправностите или опитайте отново въз основа на следната информация.",
"NoOpenAIAPIKey": "API ключът на OpenAI е празен, моля, добавете персонализиран API ключ на OpenAI",
Expand Down
12 changes: 12 additions & 0 deletions locales/bg-BG/modelProvider.json
Expand Up @@ -95,6 +95,18 @@
"title": "Използване на персонализиран Groq API ключ"
}
},
"minimax": {
"title": "Минимакс",
"token": {
"desc": "Въведете API ключ от Минимакс",
"placeholder": "API ключ на Минимакс",
"title": "API ключ"
},
"unlock": {
"description": "Само въведете вашия API ключ от Минимакс, за да започнете сесия. Приложението няма да запази вашия API ключ.",
"title": "Използване на персонализиран API ключ от Минимакс"
}
},
"mistral": {
"title": "Mistral AI",
"token": {
Expand Down
2 changes: 2 additions & 0 deletions locales/de-DE/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "Die Bedrock-Authentifizierung ist fehlgeschlagen. Bitte überprüfen Sie AccessKeyId/SecretAccessKey und versuchen Sie es erneut.",
"InvalidGoogleAPIKey": "Der Google API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Google API-Schlüssel und versuchen Sie es erneut.",
"InvalidGroqAPIKey": "Der Groq API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Groq API-Schlüssel und versuchen Sie es erneut.",
"InvalidMinimaxAPIKey": "Ungültiger oder leerer Minimax-API-Schlüssel. Bitte überprüfen Sie den Mistral-API-Schlüssel und versuchen Sie es erneut.",
"InvalidMistralAPIKey": "Der Mistral AI-API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Mistral-API-Schlüssel und versuchen Sie es erneut.",
"InvalidMoonshotAPIKey": "Ungültiger oder leerer Moonshot AI API-Schlüssel. Bitte überprüfen Sie den Moonshot API-Schlüssel und versuchen Sie es erneut.",
"InvalidOllamaArgs": "Ollama-Konfiguration ist ungültig. Bitte überprüfen Sie die Ollama-Konfiguration und versuchen Sie es erneut.",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "Ungültiger oder leerer ZeroOne-API-Schlüssel. Bitte überprüfen Sie den ZeroOne-API-Schlüssel und versuchen Sie es erneut.",
"InvalidZhipuAPIKey": "Der Zhipu API-Schlüssel ist ungültig oder leer. Bitte überprüfen Sie den Zhipu API-Schlüssel und versuchen Sie es erneut.",
"LocationNotSupportError": "Entschuldigung, Ihr Standort unterstützt diesen Modellservice möglicherweise aufgrund von regionalen Einschränkungen oder nicht aktivierten Diensten nicht. Bitte überprüfen Sie, ob der aktuelle Standort die Verwendung dieses Dienstes unterstützt, oder versuchen Sie, andere Standortinformationen zu verwenden.",
"MinimaxBizError": "Fehler beim Abrufen des Minimax-Dienstes. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
"MistralBizError": "Beim Anfordern des Mistral AI-Dienstes ist ein Fehler aufgetreten. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
"MoonshotBizError": "Fehler beim Abrufen des Dark Side of the Moon-Services. Bitte überprüfen Sie die folgenden Informationen oder versuchen Sie es erneut.",
"NoOpenAIAPIKey": "Der OpenAI-API-Schlüssel ist leer. Bitte fügen Sie einen benutzerdefinierten OpenAI-API-Schlüssel hinzu",
Expand Down
12 changes: 12 additions & 0 deletions locales/de-DE/modelProvider.json
Expand Up @@ -95,6 +95,18 @@
"title": "Verwenden Sie einen individuellen Groq-API-Schlüssel"
}
},
"minimax": {
"title": "Minimax",
"token": {
"desc": "Geben Sie Ihren API-Schlüssel von Minimax ein",
"placeholder": "Minimax API-Schlüssel",
"title": "API-Schlüssel"
},
"unlock": {
"description": "Geben Sie Ihren Minimax API-Schlüssel ein, um die Sitzung zu starten. Die Anwendung speichert Ihren API-Schlüssel nicht.",
"title": "Verwenden Sie einen benutzerdefinierten Minimax API-Schlüssel"
}
},
"mistral": {
"title": "Mistral AI",
"token": {
Expand Down
2 changes: 2 additions & 0 deletions locales/en-US/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "Bedrock authentication failed. Please check the AccessKeyId/SecretAccessKey and retry.",
"InvalidGoogleAPIKey": "Google API Key is incorrect or empty. Please check the Google API Key and retry.",
"InvalidGroqAPIKey": "Groq API Key is incorrect or empty. Please check the Groq API Key and retry.",
"InvalidMinimaxAPIKey": "Incorrect or empty Minimax API Key, please check Mistral API Key and try again",
"InvalidMistralAPIKey": "Incorrect or empty Mistral AI API Key. Please check your Mistral API Key and try again.",
"InvalidMoonshotAPIKey": "The Moonshot AI API Key is incorrect or empty, please check the Moonshot API Key and try again.",
"InvalidOllamaArgs": "Invalid Ollama configuration, please check Ollama configuration and try again",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "01-AI API Key is incorrect or empty. Please check the 01-AI API Key and retry.",
"InvalidZhipuAPIKey": "Zhipu API Key is incorrect or empty. Please check the Zhipu API Key and retry.",
"LocationNotSupportError": "We're sorry, your current location does not support this model service. This may be due to regional restrictions or the service not being available. Please confirm if the current location supports using this service, or try using a different location.",
"MinimaxBizError": "Error occurred while requesting Minimax service, please troubleshoot or retry based on the following information",
"MistralBizError": "Error occurred while requesting Mistral AI service. Please troubleshoot based on the following information or retry.",
"MoonshotBizError": "There was an error with the Moonshot service, please troubleshoot or retry based on the following information.",
"NoOpenAIAPIKey": "OpenAI API Key is empty, please add a custom OpenAI API Key",
Expand Down
12 changes: 12 additions & 0 deletions locales/en-US/modelProvider.json
Expand Up @@ -95,6 +95,18 @@
"title": "Use Custom Groq API Key"
}
},
"minimax": {
"title": "Minimax",
"token": {
"desc": "Enter your API Key from Minimax",
"placeholder": "Minimax API Key",
"title": "API Key"
},
"unlock": {
"description": "Enter your Minimax API Key to start the session. The app will not store your API Key.",
"title": "Use Custom Minimax API Key"
}
},
"mistral": {
"title": "Mistral AI",
"token": {
Expand Down
2 changes: 2 additions & 0 deletions locales/es-ES/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "La autenticación de Bedrock no se ha completado con éxito, por favor, verifica AccessKeyId/SecretAccessKey e inténtalo de nuevo",
"InvalidGoogleAPIKey": "La clave de API de Google es incorrecta o está vacía, por favor, verifica la clave de API de Google e inténtalo de nuevo",
"InvalidGroqAPIKey": "La clave de API de Groq es incorrecta o está vacía. Por favor, revisa la clave de API de Groq e inténtalo de nuevo.",
"InvalidMinimaxAPIKey": "Clave de API Minimax incorrecta o vacía, por favor, verifique la clave de API Mistral e inténtelo de nuevo",
"InvalidMistralAPIKey": "La clave de API de Mistral AI es incorrecta o está vacía. Por favor, revise la clave de API de Mistral y vuelva a intentarlo.",
"InvalidMoonshotAPIKey": "La clave de API de Moonshot AI no es válida o está vacía. Por favor, revise la clave de API de Moonshot e inténtelo de nuevo.",
"InvalidOllamaArgs": "La configuración de Ollama no es válida, por favor revisa la configuración de Ollama e inténtalo de nuevo",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "La clave de API de ZeroOneBiz es incorrecta o está vacía. Por favor, revise la clave de API de ZeroOneBiz e inténtelo de nuevo.",
"InvalidZhipuAPIKey": "La clave de API de Zhipu es incorrecta o está vacía, por favor, verifica la clave de API de Zhipu e inténtalo de nuevo",
"LocationNotSupportError": "Lo sentimos, tu ubicación actual no es compatible con este servicio de modelo, puede ser debido a restricciones geográficas o a que el servicio no está disponible. Por favor, verifica si tu ubicación actual es compatible con este servicio o intenta usar otra información de ubicación.",
"MinimaxBizError": "Error al solicitar el servicio Minimax, por favor, revise la siguiente información o inténtelo de nuevo",
"MistralBizError": "Se produjo un error al solicitar el servicio Mistral AI. Por favor, revise la siguiente información o inténtelo de nuevo.",
"MoonshotBizError": "Se produjo un error al solicitar el servicio de Moonshot en el lado oscuro de la luna. Por favor, revise la siguiente información o inténtelo de nuevo.",
"NoOpenAIAPIKey": "La clave de API de OpenAI está vacía. Agregue una clave de API de OpenAI personalizada",
Expand Down
12 changes: 12 additions & 0 deletions locales/es-ES/modelProvider.json
Expand Up @@ -95,6 +95,18 @@
"title": "Usar clave de API de Groq personalizada"
}
},
"minimax": {
"title": "Minimax",
"token": {
"desc": "Introduce tu clave API de Minimax",
"placeholder": "Clave API de Minimax",
"title": "Clave API de Minimax"
},
"unlock": {
"description": "Ingresa tu clave API de Minimax para comenzar la sesión. La aplicación no guardará tu clave API.",
"title": "Usar clave API personalizada de Minimax"
}
},
"mistral": {
"title": "Mistral AI",
"token": {
Expand Down
2 changes: 2 additions & 0 deletions locales/fr-FR/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "L'authentification Bedrock a échoué, veuillez vérifier AccessKeyId/SecretAccessKey et réessayer",
"InvalidGoogleAPIKey": "Clé API Google incorrecte ou vide, veuillez vérifier la clé API Google et réessayer",
"InvalidGroqAPIKey": "Clé API Groq incorrecte ou vide, veuillez vérifier la clé API Groq et réessayer",
"InvalidMinimaxAPIKey": "Clé API Minimax incorrecte ou vide, veuillez vérifier la clé API Mistral et réessayer",
"InvalidMistralAPIKey": "Clé API Mistral AI incorrecte ou manquante. Veuillez vérifier la clé API Mistral et réessayer.",
"InvalidMoonshotAPIKey": "Clé API Moonshot AI incorrecte ou manquante. Veuillez vérifier la clé API Moonshot et réessayer.",
"InvalidOllamaArgs": "La configuration d'Ollama n'est pas valide, veuillez vérifier la configuration d'Ollama et réessayer",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "La clé d'API ZeroOne est incorrecte ou vide, veuillez vérifier la clé d'API ZeroOne et réessayer",
"InvalidZhipuAPIKey": "Clé API Zhipu incorrecte ou vide, veuillez vérifier la clé API Zhipu et réessayer",
"LocationNotSupportError": "Désolé, votre emplacement actuel ne prend pas en charge ce service de modèle, peut-être en raison de restrictions géographiques ou de services non disponibles. Veuillez vérifier si votre emplacement actuel prend en charge ce service ou essayer avec une autre localisation.",
"MinimaxBizError": "Erreur de service Minimax, veuillez vérifier les informations suivantes ou réessayer",
"MistralBizError": "Erreur de service Mistral AI. Veuillez vérifier les informations ci-dessous ou réessayer.",
"MoonshotBizError": "Erreur de service Moonshot : une erreur s'est produite lors de la demande du service Côté Obscur de la Lune. Veuillez vérifier les informations suivantes ou réessayer.",
"NoOpenAIAPIKey": "La clé API OpenAI est vide. Veuillez ajouter une clé API OpenAI personnalisée",
Expand Down
12 changes: 12 additions & 0 deletions locales/fr-FR/modelProvider.json
Expand Up @@ -95,6 +95,18 @@
"title": "Utiliser une clé API Groq personnalisée"
}
},
"minimax": {
"title": "Minimax",
"token": {
"desc": "Entrez la clé API de Minimax",
"placeholder": "Clé API Minimax",
"title": "Clé API"
},
"unlock": {
"description": "Entrez votre clé API Minimax pour commencer la session. L'application ne stockera pas votre clé API.",
"title": "Utiliser une clé API Minimax personnalisée"
}
},
"mistral": {
"title": "Mistral AI",
"token": {
Expand Down
2 changes: 2 additions & 0 deletions locales/it-IT/error.json
Expand Up @@ -45,6 +45,7 @@
"InvalidBedrockCredentials": "Autenticazione Bedrock non riuscita, controlla AccessKeyId/SecretAccessKey e riprova",
"InvalidGoogleAPIKey": "Chiave API Google non corretta o vuota, controlla la chiave API Google e riprova",
"InvalidGroqAPIKey": "Chiave API Groq non valida o vuota, controlla la chiave API Groq e riprova",
"InvalidMinimaxAPIKey": "Chiave API Minimax non valida o vuota, controlla la chiave API Mistral e riprova",
"InvalidMistralAPIKey": "Chiave API Mistral AI non valida o vuota. Si prega di controllare la chiave API Mistral e riprovare.",
"InvalidMoonshotAPIKey": "La chiave API di Moonshot AI non è corretta o è vuota, si prega di controllare la chiave API di Moonshot e riprovare",
"InvalidOllamaArgs": "Configurazione Ollama non valida, controllare la configurazione di Ollama e riprovare",
Expand All @@ -54,6 +55,7 @@
"InvalidZeroOneAPIKey": "La chiave API ZeroOne non è corretta o è vuota, si prega di controllare la chiave API ZeroOne e riprovare",
"InvalidZhipuAPIKey": "Chiave API Zhipu non corretta o vuota, controlla la chiave API Zhipu e riprova",
"LocationNotSupportError": "Spiacenti, la tua posizione attuale non supporta questo servizio modello, potrebbe essere a causa di restrizioni geografiche o servizi non attivati. Verifica se la posizione attuale supporta l'uso di questo servizio o prova a utilizzare un'altra posizione.",
"MinimaxBizError": "Errore di servizio Minimax, controlla le informazioni seguenti o riprova",
"MistralBizError": "Errore di richiesta del servizio Mistral AI. Si prega di controllare le informazioni seguenti o riprovare.",
"MoonshotBizError": "Si è verificato un errore nel servizio Moonshot, si prega di controllare le informazioni seguenti o riprovare",
"NoOpenAIAPIKey": "La chiave API OpenAI è vuota. Aggiungi una chiave API personalizzata OpenAI",
Expand Down

0 comments on commit 4be6d67

Please sign in to comment.