[qet] qet/qet: [5574] Add Hungarian switch language |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5574
Author: scorpio810
Date: 2018-10-29 16:14:38 +0100 (Mon, 29 Oct 2018)
Log Message:
-----------
Add Hungarian switch language
Modified Paths:
--------------
trunk/sources/qeticons.cpp
trunk/sources/qeticons.h
trunk/sources/ui/configpage/generalconfigurationpage.cpp
Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp 2018-10-28 07:39:09 UTC (rev 5573)
+++ trunk/sources/qeticons.cpp 2018-10-29 15:14:38 UTC (rev 5574)
@@ -192,6 +192,7 @@
QIcon es;
QIcon fr;
QIcon hr;
+ QIcon hu;
QIcon it;
QIcon pl;
QIcon pt;
@@ -510,6 +511,7 @@
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");
Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h 2018-10-28 07:39:09 UTC (rev 5573)
+++ trunk/sources/qeticons.h 2018-10-29 15:14:38 UTC (rev 5574)
@@ -200,6 +200,7 @@
extern QIcon es;
extern QIcon fr;
extern QIcon hr;
+ extern QIcon hu;
extern QIcon it;
extern QIcon pl;
extern QIcon pt;
Modified: trunk/sources/ui/configpage/generalconfigurationpage.cpp
===================================================================
--- trunk/sources/ui/configpage/generalconfigurationpage.cpp 2018-10-28 07:39:09 UTC (rev 5573)
+++ trunk/sources/ui/configpage/generalconfigurationpage.cpp 2018-10-29 15:14:38 UTC (rev 5574)
@@ -205,6 +205,7 @@
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