Changeset 165 in tspsg-svn for trunk/src


Ignore:
Timestamp:
Apr 15, 2011, 6:28:48 AM (14 years ago)
Author:
laleppa
Message:
  • Made some small corrections to different texts.
  • FIX: Icons in toolbar configuration dialog didn't follow style and one of them wasn't shown.
Location:
trunk/src
Files:
1 added
4 edited
5 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp

    r120 r165  
    18121812//    ui.currentToolBarList->setAcceptDrops(true);
    18131813
    1814         d_ptr->ui.upButton->setIcon(QIcon(":/images/icons/go-up.png"));
    1815         d_ptr->ui.downButton->setIcon(QIcon(":/images/icons/go-down.png"));
    1816         d_ptr->ui.leftButton->setIcon(QIcon(":/images/icons/go-previous.png"));
    1817         d_ptr->ui.rightButton->setIcon(QIcon(":/images/icons/go-next.png"));
    1818         d_ptr->ui.newButton->setIcon(QIcon(":/images/icons/list-add.png"));
    1819         d_ptr->ui.removeButton->setIcon(QIcon(":/images/icons/list-remove.png"));
     1814    d_ptr->ui.upButton->setIcon(GET_ICON("go-up"));
     1815    d_ptr->ui.downButton->setIcon(GET_ICON("go-down"));
     1816    d_ptr->ui.leftButton->setIcon(GET_ICON("go-previous"));
     1817    d_ptr->ui.rightButton->setIcon(GET_ICON("go-next"));
     1818    d_ptr->ui.newButton->setIcon(GET_ICON("list-add"));
     1819    d_ptr->ui.removeButton->setIcon(GET_ICON("list-remove"));
    18201820
    18211821    connect(d_ptr->ui.newButton, SIGNAL(clicked()), this, SLOT(newClicked()));
  • trunk/src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.qrc

    r119 r165  
    11<RCC>
    22    <qresource prefix="/">
    3         <file>images/icons/go-down.png</file>
    4         <file>images/icons/go-next.png</file>
    5         <file>images/icons/go-up.png</file>
    6         <file>images/icons/list-add.png</file>
    7         <file>images/icons/list-remove.png</file>
     3        <file>images/icons/128x128/go-down.png</file>
     4        <file>images/icons/128x128/go-next.png</file>
     5        <file>images/icons/128x128/go-up.png</file>
     6        <file>images/icons/128x128/list-add.png</file>
     7        <file>images/icons/128x128/list-remove.png</file>
    88    </qresource>
    99</RCC>
  • trunk/src/mainwindow.cpp

    r163 r165  
    524524{
    525525    if (!hasUpdater()) {
    526         QMessageBox::warning(this, tr("Unsupported Feature"), tr("Sorry, but this feature is not supported on your platform\nor support for this feature was not installed."));
     526        QMessageBox::warning(this, tr("Unsupported Feature"), tr("Sorry, but this feature is not supported on your\nplatform or support for it was not installed."));
    527527        return;
    528528    }
     
    738738QPushButton *cancel = new QPushButton(&pd);
    739739    cancel->setIcon(GET_ICON("dialog-cancel"));
    740     cancel->setText(QCoreApplication::translate("QDialogButtonBox", "Cancel", "No need to translate this. This translation will be taken from Qt translation files."));
     740    cancel->setText(QCoreApplication::translate("QDialogButtonBox", "Cancel", "No need to translate this. The translation will be taken from Qt translation files."));
    741741    pd.setCancelButton(cancel);
    742742    pd.setMaximum(n);
     
    18571857
    18581858    QMenu *m = new QMenu(this);
    1859     m->addAction(QApplication::translate("QDialogButtonBox", "Discard", "No need to translate this. This translation will be taken from Qt translation files."),
     1859    m->addAction(QApplication::translate("QDialogButtonBox", "Discard", "No need to translate this. The translation will be taken from Qt translation files."),
    18601860                 this, SLOT(discard()));
    1861     m->addAction(QApplication::translate("QDialogButtonBox", "Cancel", "No need to translate this. This translation will be taken from Qt translation files."),
     1861    m->addAction(QApplication::translate("QDialogButtonBox", "Cancel", "No need to translate this. The translation will be taken from Qt translation files."),
    18621862                 this, SLOT(cancel()));
    18631863
    1864     QAction *o = new QAction(QApplication::translate("QMenuBar", "Actions", "No need to translate this. This translation will be taken from Qt translation files."), this);
     1864    QAction *o = new QAction(QApplication::translate("QtToolBarDialog", "Actions"), this);
    18651865    o->setSoftKeyRole(QAction::NegativeSoftKey);
    18661866    o->setMenu(m);
  • trunk/src/tspmodel.cpp

    r157 r165  
    404404        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
    405405            + tr("File version (%1) is newer than this version of %3 supports (%2).\n"
    406                  "Please, try to update the application. Also, the file might be corrupted.")
     406                 "Please, try to update the application. Also, the file could be corrupted.")
    407407                 .arg(version).arg(TSPT_VERSION).arg(QApplication::applicationName()));
    408408        QApplication::restoreOverrideCursor();
Note: See TracChangeset for help on using the changeset viewer.