Add Hungarian switch language

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5574 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810 2018-10-29 15:14:38 +00:00
parent 80426630b9
commit ae026f8a4f
3 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,7 @@ namespace QET {
QIcon es;
QIcon fr;
QIcon hr;
QIcon hu;
QIcon it;
QIcon pl;
QIcon pt;
@ -510,6 +511,7 @@ void QET::Icons::initIcons() {
es .addFile(":/ico/24x16/es.png");
fr .addFile(":/ico/24x16/fr.png");
hr .addFile(":/ico/24x16/hr.png");
hu .addFile(":/ico/24x16/hu.png");
it .addFile(":/ico/24x16/it.png");
pl .addFile(":/ico/24x16/pl.png");
pt .addFile(":/ico/24x16/pt.png");

View File

@ -200,6 +200,7 @@ namespace QET {
extern QIcon es;
extern QIcon fr;
extern QIcon hr;
extern QIcon hu;
extern QIcon it;
extern QIcon pl;
extern QIcon pt;

View File

@ -205,6 +205,7 @@ void GeneralConfigurationPage::fillLang()
ui->m_lang_cb->addItem(QET::Icons::nl, tr("Pays-Bas"), "nl");
ui->m_lang_cb->addItem(QET::Icons::be, tr("Belgique-Flemish"), "be");
ui->m_lang_cb->addItem(QET::Icons::tr, tr("Turc"), "tr");
ui->m_lang_cb->addItem(QET::Icons::hu, tr("Hongrois"), "hu");
//set current index to the lang found in setting file
//if lang doesn't exist set to system