- search for translations in /usr/share/fdd3000e
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Fri, 28 Feb 2014 09:13:03 +0000 (10:13 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Fri, 28 Feb 2014 09:13:03 +0000 (10:13 +0100)
tr.patch [new file with mode: 0644]

diff --git a/tr.patch b/tr.patch
new file mode 100644 (file)
index 0000000..40eed90
--- /dev/null
+++ b/tr.patch
@@ -0,0 +1,22 @@
+--- fdd3000e-0.1.6a/fdd3000/main.cpp.orig      2014-02-28 09:43:55.366729812 +0100
++++ fdd3000e-0.1.6a/fdd3000/main.cpp   2014-02-28 10:05:32.636791756 +0100
+@@ -24,6 +24,10 @@
+ #include <QTextCodec>
+ #include <QTranslator>
++#if !defined(LOCALEDIR)
++#define LOCALEDIR "/usr/share/fdd3000e"
++#endif
++
+ int main(int argc, char *argv[])
+ {
+     QCoreApplication::setOrganizationName("steev");
+@@ -34,7 +38,7 @@ int main(int argc, char *argv[])
+     QTranslator qtTranslator;
+ //    qtTranslator.load("fdd3000e_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath));
+-    qtTranslator.load("fdd3000e_" + QLocale::system().name(),"");
++    qtTranslator.load("fdd3000e_" + QLocale::system().name(), LOCALEDIR);
+     a.installTranslator(&qtTranslator);
+ //    qDebug()<<QLocale::system().name();
This page took 0.069638 seconds and 4 git commands to generate.