From 3f926fa602d49d8de37efaa0c2e1c3dafb7a3b19 Mon Sep 17 00:00:00 2001 From: Diadlo Date: Wed, 4 Jan 2017 23:07:34 +0300 Subject: [PATCH] chore(resource): Translation resources separated --- qtox.pro | 3 ++- res.qrc | 34 ------------------------------- translations/translations.qrc | 38 +++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 35 deletions(-) create mode 100644 translations/translations.qrc diff --git a/qtox.pro b/qtox.pro index 304065b5c..12c7ffe86 100644 --- a/qtox.pro +++ b/qtox.pro @@ -403,7 +403,8 @@ freebsd { INSTALLS = target desktop icon } -RESOURCES += res.qrc +RESOURCES += res.qrc \ + translations/translations.qrc !contains(SMILEYS, NO) { RESOURCES += smileys/emojione.qrc diff --git a/res.qrc b/res.qrc index cd58996d0..d156fb9f2 100644 --- a/res.qrc +++ b/res.qrc @@ -42,40 +42,6 @@ img/taskbar/light/taskbar_offline.svg img/taskbar/light/taskbar_event.svg img/transfer.svg - translations/ar.qm - translations/be.qm - translations/bg.qm - translations/cs.qm - translations/da.qm - translations/de.qm - translations/el.qm - translations/eo.qm - translations/es.qm - translations/et.qm - translations/fi.qm - translations/fr.qm - translations/he.qm - translations/hr.qm - translations/hu.qm - translations/it.qm - translations/ja.qm - translations/jbo.qm - translations/ko.qm - translations/lt.qm - translations/nl.qm - translations/no_nb.qm - translations/pl.qm - translations/pr.qm - translations/pt.qm - translations/ru.qm - translations/sk.qm - translations/sl.qm - translations/sv.qm - translations/sw.qm - translations/tr.qm - translations/ug.qm - translations/uk.qm - translations/zh.qm ui/fileTransferWidget/fileDone.svg ui/callButton/callButton.css ui/callButton/callButton.svg diff --git a/translations/translations.qrc b/translations/translations.qrc new file mode 100644 index 000000000..e902069d4 --- /dev/null +++ b/translations/translations.qrc @@ -0,0 +1,38 @@ + + + ar.qm + be.qm + bg.qm + cs.qm + da.qm + de.qm + el.qm + eo.qm + es.qm + et.qm + fi.qm + fr.qm + he.qm + hr.qm + hu.qm + it.qm + ja.qm + jbo.qm + ko.qm + lt.qm + nl.qm + no_nb.qm + pl.qm + pr.qm + pt.qm + ru.qm + sk.qm + sl.qm + sv.qm + sw.qm + tr.qm + ug.qm + uk.qm + zh.qm + +