Skip to content

Commit

Permalink
Minor Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eminfedar committed Jan 12, 2018
1 parent 7c2e1d3 commit e22f479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion widgetci/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include "runguard.h"
#include <QApplication>
#include <QTranslator>
#include <QDebug>

int main(int argc, char *argv[])
{
Expand Down Expand Up @@ -69,7 +70,7 @@ int main(int argc, char *argv[])
QString langStr = QLocale::system().languageToString(QLocale::system().language());

if(lang != "en"){
if(translator.load(":/translations/widgetci_" + lang)){
if(translator.load(":/translations/translations/widgetci_" + lang)){
app.installTranslator(&translator);
}else{
qDebug() << "There is no available translations for your language.";
Expand Down

0 comments on commit e22f479

Please sign in to comment.