From 4199dd9f5fc6f0e7c0707bcfff731402ec9e7a01 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sun, 20 Dec 2015 16:13:15 +0100 Subject: [PATCH] add translation for Qt base lib --- .gitignore | 1 + Makefile | 3 +++ qtbase/qwbase_de.ts | 22 ++++++++++++++++++++++ qtbase/wbase.pro | 5 ++++- 4 files changed, 30 insertions(+), 1 deletions(-) create mode 100644 qtbase/qwbase_de.ts diff --git a/.gitignore b/.gitignore index 89794d8..512b7db 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ woc/prewoc lib*.so* *.a *.prl +*.qm vinfo .ctmp .ptmp diff --git a/Makefile b/Makefile index bda871d..f4ab98c 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ DOXYGEN = doxygen MKDIR = mkdir -p COPY = cp -d --remove-destination COPY_R = $(COPY) -r +LRELEASE = lrelease prefix=/usr/local libprefix=$(prefix)/lib @@ -34,6 +35,7 @@ woc: vinfo/staticVersion.h qtbase: woc cd qtbase && $(QMAKE) $(MAKE) -C qtbase + cd qtbase && $(LRELEASE) wbase.pro doc: cd woc && $(DOXYGEN) @@ -57,6 +59,7 @@ install-woc: woc install-qtbase: qtbase $(MKDIR) $(libprefix) $(COPY) qtbase/libqwbase* $(libprefix) + $(COPY) qtbase/*.qm $(libprefix) install-qtbase-dev: install-qtbase $(MKDIR) $(incprefix) diff --git a/qtbase/qwbase_de.ts b/qtbase/qwbase_de.ts new file mode 100644 index 0000000..d45f19f --- /dev/null +++ b/qtbase/qwbase_de.ts @@ -0,0 +1,22 @@ + + + + + WTransaction_Private + + + interface not found + Verbindung nicht gefunden + + + + Web Request timed out. + Web-Anfrage ist Ergebnislos abgelaufen. + + + + HTTP Error, return code %1 %2 + HTTP Fehler, Code %1 "%2" + + + diff --git a/qtbase/wbase.pro b/qtbase/wbase.pro index 6eaa415..22ccf7a 100644 --- a/qtbase/wbase.pro +++ b/qtbase/wbase.pro @@ -41,4 +41,7 @@ SOURCES += \ 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 -- 1.7.2.5