summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2017-12-15 14:20:44 +0100
committerSimon Rettberg2017-12-15 14:20:44 +0100
commit385c59f19f71b080ca21f16322046db8165e55ff (patch)
tree0873131160c478b8227302354a062ad4cad17b30
parentUpdate to CMAKE, fix timeout dialog on Qt5, fix menu getting covered by window (diff)
downloadbeamergui-385c59f19f71b080ca21f16322046db8165e55ff.tar.gz
beamergui-385c59f19f71b080ca21f16322046db8165e55ff.tar.xz
beamergui-385c59f19f71b080ca21f16322046db8165e55ff.zip
German translation
-rw-r--r--CMakeLists.txt19
-rw-r--r--src/i18n/de.ts30
2 files changed, 40 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c8ca1ac..b872522 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,16 @@ set(CMAKE_CXX_STANDARD 11)
# Some cmake versions can't understand the CMAKE_CXX_STANDARD option above?
SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
+#
+# Qt5
+#
+FIND_PACKAGE(Qt5 COMPONENTS Widgets LinguistTools REQUIRED)
+FIND_PACKAGE(X11 REQUIRED)
+
+if(NOT X11_Xrandr_FOUND)
+ MESSAGE( FATAL_ERROR "Cannot find xrandr libs" )
+endif()
+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
@@ -49,15 +59,6 @@ endif(BEAMERGUI_TSS)
# ${CMAKE_CURRENT_BINARY_DIR}
#)
-#
-# Qt5
-#
-FIND_PACKAGE(Qt5 COMPONENTS Widgets REQUIRED)
-FIND_PACKAGE(X11 REQUIRED)
-
-if(NOT X11_Xrandr_FOUND)
- MESSAGE( FATAL_ERROR "Cannot find xrandr libs" )
-endif()
QT5_WRAP_UI(BEAMERGUI_UI_HEADERS ${BEAMERGUI_UIS})
diff --git a/src/i18n/de.ts b/src/i18n/de.ts
new file mode 100644
index 0000000..481a35e
--- /dev/null
+++ b/src/i18n/de.ts
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="de_DE">
+<context>
+ <name>TimeOutDialog</name>
+ <message>
+ <location filename="../timeoutdialog.cpp" line="16"/>
+ <source>%v seconds</source>
+ <translation>Reset in %v Sekunden</translation>
+ </message>
+</context>
+<context>
+ <name>Widget</name>
+ <message>
+ <location filename="../widget.ui" line="28"/>
+ <source>Apply</source>
+ <translation>Anwenden</translation>
+ </message>
+ <message>
+ <location filename="../widget.cpp" line="394"/>
+ <source>Do you want to keep this resolution?</source>
+ <translation>Möchten Sie diese Auflösung beibehalten?</translation>
+ </message>
+ <message>
+ <location filename="../widget.cpp" line="395"/>
+ <source>Keep</source>
+ <translation>Beibehalten</translation>
+ </message>
+</context>
+</TS>