From kde-commits Sun Jul 31 20:00:17 2016 From: Pino Toscano Date: Sun, 31 Jul 2016 20:00:17 +0000 To: kde-commits Subject: [kdevelop] debuggers/common: i18n: translate messages from kdevdebuggercommon Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=146999523129164 Git commit 44b8acc1bfd257c515a56164476117cb8d96da63 by Pino Toscano. Committed on 31/07/2016 at 19:57. Pushed by pino into branch 'master'. i18n: translate messages from kdevdebuggercommon - extract messages for the library in an own kdevdebuggercommon.pot - set the TRANSLATION_DOMAIN for the i18n calls in that library M +1 -0 debuggers/common/CMakeLists.txt A +4 -0 debuggers/common/Messages.sh http://commits.kde.org/kdevelop/44b8acc1bfd257c515a56164476117cb8d96da63 diff --git a/debuggers/common/CMakeLists.txt b/debuggers/common/CMakeLists.= txt index c4fed7a..09a0cd8 100644 --- a/debuggers/common/CMakeLists.txt +++ b/debuggers/common/CMakeLists.txt @@ -1,3 +1,4 @@ +add_definitions(-DTRANSLATION_DOMAIN=3D\"kdevdebuggercommon\") set(debuggercommon_SRCS mi/mi.cpp mi/milexer.cpp diff --git a/debuggers/common/Messages.sh b/debuggers/common/Messages.sh new file mode 100644 index 0000000..24f885d --- /dev/null +++ b/debuggers/common/Messages.sh @@ -0,0 +1,4 @@ +#!/bin/sh +$EXTRACTRC `find . -name \*.ui` >> rc.cpp +$XGETTEXT `find . -name \*.cpp` -o $podir/kdevdebuggercommon.pot +rm -f rc.cpp