KDevelop typo i18n

Giovanni Venturi maildigianni at tin.it
Mon Jan 10 21:38:03 UTC 2005


Into kdevelop/kdevdesigner/designer/mainwindow.cpp:

line 1761:
if ( ok ) {
            QString pn( i18n( "Set the 'title' of '%2'" ).arg( w->name() ) );
            SetPropertyCommand *cmd = new SetPropertyCommand( pn, 
formWindow(), w, 
propertyEditor,
                                                              "title", 
w->property( "title" ),
                                                              title, 
QString::null, QString::null );
            cmd->execute();
            formWindow()->commandHistory()->addCommand( cmd );
            MetaDataBase::setPropertyChanged( w, "title", TRUE );
        }
    } else if ( id == props[ "pagetitle" ] ) {
        bool ok = FALSE;
        QString text = QInputDialog::getText( i18n("Page Title"), i18n( "New 
page 
title" ),
                              QLineEdit::Normal, 
w->property("pageTitle").toString(), &ok, this );
        if ( ok ) {
            QString pn( i18n( "Set the 'pageTitle' of 
'%2'" ).arg( w->name() ) );
            SetPropertyCommand *cmd = new SetPropertyCommand( pn, 
formWindow(), w, 
propertyEditor,
                                                              "pageTitle",
                                                              w->property( "pageTitle" ),
                                                              text, 
QString::null, QString::null );
            cmd->execute();
            formWindow()->commandHistory()->addCommand( cmd );
            MetaDataBase::setPropertyChanged( w, "pageTitle", TRUE );
        }
    } else if ( id == props[ "pixmap" ] ) {
        QPixmap oldPix = w->property( "pixmap" ).toPixmap();
        QPixmap pix = qChoosePixmap( this, formWindow(), oldPix );
        if ( !pix.isNull() ) {
            QString pn( i18n( "Set the 'pixmap' of '%2'" ).arg( w->name() ) );
            SetPropertyCommand *cmd = new SetPropertyCommand( pn, 
formWindow(), w, 
propertyEditor,
                                                              "pixmap", 
w->property( "pixmap" ),
                                                              pix, 
QString::null, QString::null );


%2 should be %1, right? If so I can commit changes.
Gianni
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20050110/8d0366ac/attachment.sig>


More information about the KDevelop-devel mailing list