MKDIR = mkdir -p
COPY = cp -d --remove-destination
COPY_R = $(COPY) -r
+LRELEASE = lrelease
prefix=/usr/local
libprefix=$(prefix)/lib
qtbase: woc
cd qtbase && $(QMAKE)
$(MAKE) -C qtbase
+ cd qtbase && $(LRELEASE) wbase.pro
doc:
cd woc && $(DOXYGEN)
install-qtbase: qtbase
$(MKDIR) $(libprefix)
$(COPY) qtbase/libqwbase* $(libprefix)
+ $(COPY) qtbase/*.qm $(libprefix)
install-qtbase-dev: install-qtbase
$(MKDIR) $(incprefix)
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.1" language="de_DE">
+<context>
+ <name>WTransaction_Private</name>
+ <message>
+ <location filename="src/transaction.cpp" line="89"/>
+ <source>interface not found</source>
+ <translation>Verbindung nicht gefunden</translation>
+ </message>
+ <message>
+ <location filename="src/transaction.cpp" line="155"/>
+ <source>Web Request timed out.</source>
+ <translation>Web-Anfrage ist Ergebnislos abgelaufen.</translation>
+ </message>
+ <message>
+ <location filename="src/transaction.cpp" line="173"/>
+ <source>HTTP Error, return code %1 %2</source>
+ <translation>HTTP Fehler, Code %1 "%2"</translation>
+ </message>
+</context>
+</TS>
INCLUDEPATH += include src
DEPENDPATH += include src
-*g++* { QMAKE_CXXFLAGS += -std=c++11 }
\ No newline at end of file
+*g++* { QMAKE_CXXFLAGS += -std=c++11 }
+
+#Localization
+TRANSLATIONS = qwbase_de.ts