Skip to content

Commit f74bf2a

Browse files
committed
Try fixing the loading of the translations of the Qt strings
It seems like the translations of the strings from the Qt framework are not loaded correctly. This is my attempt to fix this problem. See issue #2124.
1 parent 20373dd commit f74bf2a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Application.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ Application::Application(int& argc, char** argv) :
4646
// 2) the application translations directory.
4747
m_translatorQt = new QTranslator(this);
4848

49-
ok = m_translatorQt->load("qt_" + name,
49+
ok = m_translatorQt->load("qtbase_" + name,
5050
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
5151
if (ok == false)
52-
ok = m_translatorQt->load("qt_" + name, "translations");
52+
ok = m_translatorQt->load("qtbase_" + name, "translations");
5353
if (ok == true)
5454
installTranslator(m_translatorQt);
5555
} else {

0 commit comments

Comments
 (0)