From 3492323216ef8da57b72db68afb3abd5a216a010 Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Mon, 12 Aug 2019 15:59:47 -0700 Subject: [PATCH] =?UTF-8?q?Change=20Romanian=20name=20to=20Rom=C3=A2ne?= =?UTF-8?q?=C8=99te,=20clarify=20which=20translation=20file=20qDebug=20sta?= =?UTF-8?q?tements=20refer=20to.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oscar/translation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oscar/translation.cpp b/oscar/translation.cpp index a377abe4..d8cb45c3 100644 --- a/oscar/translation.cpp +++ b/oscar/translation.cpp @@ -50,7 +50,7 @@ void initTranslations() langNames["en_UK"] = "English (UK)"; langNames["nl"] = "Nederlands"; langNames["pt_BR"] = "Portugues (BR)"; - langNames["ro"] = "Romanian"; + langNames["ro"] = "Românește"; langNames[DefaultLanguage]="English (US)"; @@ -176,7 +176,7 @@ void initTranslations() QString qtLang = language.left(2); if ( qtLang.compare("zh") == 0 ) qtLang.append("_CN"); - qDebug() << "Loading" << langname << "translation" << "qt_" + qtLang + ".qm" << "from" << qtLangPath.toLocal8Bit().data(); + qDebug() << "Loading" << langname << "QT translation" << "qt_" + qtLang + ".qm" << "from" << qtLangPath.toLocal8Bit().data(); QTranslator * qtranslator = new QTranslator(); if (!langfile.isEmpty() && !qtranslator->load("qt_" + qtLang + ".qm", qtLangPath)) { @@ -186,7 +186,7 @@ void initTranslations() qApp->installTranslator(qtranslator); // Install OSCAR translation files - qDebug() << "Loading" << langname << "translation" << langfile.toLocal8Bit().data() << "from" << langpath.toLocal8Bit().data(); + qDebug() << "Loading" << langname << "OSCAR translation" << langfile.toLocal8Bit().data() << "from" << langpath.toLocal8Bit().data(); QTranslator * translator = new QTranslator(); if (!langfile.isEmpty() && !translator->load(langfile, langpath)) {