This commit is contained in:
Jean van Kasteel 2025-03-01 00:00:08 +00:00 committed by GitHub
commit 59878ec379
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3039 additions and 1 deletions

View File

@ -387,6 +387,7 @@ qt_add_translations(chat
${CMAKE_SOURCE_DIR}/translations/gpt4all_ro_RO.ts
${CMAKE_SOURCE_DIR}/translations/gpt4all_it_IT.ts
${CMAKE_SOURCE_DIR}/translations/gpt4all_pt_BR.ts
${CMAKE_SOURCE_DIR}/translations/gpt4all_fr_FR.ts
)
set_target_properties(chat PROPERTIES

View File

@ -135,7 +135,7 @@ static QString getUiLanguage(const QString directory, const QString fileName)
static QStringList getUiLanguages(const QString &modelPath)
{
QStringList languageList;
static const QStringList releasedLanguages = { "en_US", "it_IT", "zh_CN", "zh_TW", "es_MX", "pt_BR", "ro_RO" };
static const QStringList releasedLanguages = { "en_US", "it_IT", "zh_CN", "zh_TW", "es_MX", "pt_BR", "ro_RO", "fr_FR" };
// Add the language translations from model path files first which is used by translation developers
// to load translations in progress without having to rebuild all of GPT4All from source

File diff suppressed because it is too large Load Diff