[Marble-commits] branches/KDE/4.3/kdeedu/marble
Kristof Bal
kristof.bal at gmail.com
Wed Aug 12 16:45:33 CEST 2009
SVN commit 1010457 by kbal:
Fix extracting of Qt messages and tr()->i18n() in marble_part.
This will add two times three (identical) messages in marble.pot en marble_qt.pot.
CCMAIL:kde-i18n-doc at kde.org
M +1 -1 Messages.sh
M +3 -3 src/marble_part.cpp
--- branches/KDE/4.3/kdeedu/marble/Messages.sh #1010456:1010457
@@ -29,4 +29,4 @@
$EXTRACTRC `find . -name '*.ui' -o -name '*.rc' -o -name '*.kcfg'` >> rc.cpp
$XGETTEXT src/kdemain.cpp src/marble_part.cpp rc.cpp -o $podir/marble.pot
-$XGETTEXT_QT src/QtMainWindow.cpp src/qtmain.cpp `find src/plugins -name '*.cpp'` `find src/lib -name '*.cpp'` src/lib/global.h -o $podir/marble_qt.pot
+$XGETTEXT_QT src/QtMainWindow.cpp src/qtmain.cpp src/QtMarbleConfigDialog.cpp `find src/plugins -name '*.cpp'` `find src/lib -name '*.cpp'` src/lib/global.h -o $podir/marble_qt.pot
--- branches/KDE/4.3/kdeedu/marble/src/marble_part.cpp #1010456:1010457
@@ -900,13 +900,13 @@
// FIXME: Delete the following line once OpenGL support is officially supported.
ui_viewSettings.kcfg_graphicsSystem->removeItem( Marble::OpenGLGraphics );
- QString nativeString ( tr("Native") );
+ QString nativeString ( i18n("Native") );
#ifdef Q_WS_X11
- nativeString = tr( "Native (X11)" );
+ nativeString = i18n( "Native (X11)" );
#endif
#ifdef Q_WS_MAC
- nativeString = tr( "Native (Mac OS X Core Graphics)" );
+ nativeString = i18n( "Native (Mac OS X Core Graphics)" );
#endif
ui_viewSettings.kcfg_graphicsSystem->setItemText( Marble::NativeGraphics, nativeString );
More information about the Marble-commits
mailing list