From ae026f8a4faaca223cc3b21d6682e6953d721f77 Mon Sep 17 00:00:00 2001 From: scorpio810 Date: Mon, 29 Oct 2018 15:14:38 +0000 Subject: [PATCH] Add Hungarian switch language git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5574 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/qeticons.cpp | 2 ++ sources/qeticons.h | 1 + sources/ui/configpage/generalconfigurationpage.cpp | 1 + 3 files changed, 4 insertions(+) diff --git a/sources/qeticons.cpp b/sources/qeticons.cpp index cf7bd27e3..a7a72ddeb 100644 --- a/sources/qeticons.cpp +++ b/sources/qeticons.cpp @@ -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"); diff --git a/sources/qeticons.h b/sources/qeticons.h index 3e2ba5555..c0ee6e0e9 100644 --- a/sources/qeticons.h +++ b/sources/qeticons.h @@ -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; diff --git a/sources/ui/configpage/generalconfigurationpage.cpp b/sources/ui/configpage/generalconfigurationpage.cpp index 5489b9c51..d67b7037c 100644 --- a/sources/ui/configpage/generalconfigurationpage.cpp +++ b/sources/ui/configpage/generalconfigurationpage.cpp @@ -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