[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    branches/KDE/4.3/kdeedu/marble
From:       Kristof Bal <kristof.bal () gmail ! com>
Date:       2009-08-12 14:45:33
Message-ID: 1250088333.598804.20438.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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 );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic