Fixed tr()-glitches.

This commit is contained in:
Friedemann Kleint
2009-07-30 16:44:16 +02:00
parent 8cadee7b99
commit 1cad9748cc
5 changed files with 11 additions and 10 deletions

View File

@@ -183,7 +183,7 @@
</item> </item>
<item> <item>
<property name="text"> <property name="text">
<string>Reload all unmodified files</string> <string>Reload all modified files</string>
</property> </property>
</item> </item>
<item> <item>

View File

@@ -30,7 +30,7 @@
<string>When checked, all files touched by a commit will be displayed when clicking on a revision number in the annotation view (retrieved via commit id). Otherwise, only the respective file will be displayed.</string> <string>When checked, all files touched by a commit will be displayed when clicking on a revision number in the annotation view (retrieved via commit id). Otherwise, only the respective file will be displayed.</string>
</property> </property>
<property name="text"> <property name="text">
<string>Describe by commit id</string> <string>Describe all files matching commit id:</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@@ -136,10 +136,10 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
const int rowCount = itemModel->rowCount(); const int rowCount = itemModel->rowCount();
QAction *deleteAction = new QAction(tr("Delete breakpoint", 0, si.size()), &menu); QAction *deleteAction = new QAction(tr("Delete breakpoint"), &menu);
deleteAction->setEnabled(si.size() > 0); deleteAction->setEnabled(si.size() > 0);
QAction *deleteAllAction = new QAction(tr("Delete all breakpoints", 0, si.size()), &menu); QAction *deleteAllAction = new QAction(tr("Delete all breakpoints"), &menu);
deleteAllAction->setEnabled(si.size() > 0); deleteAllAction->setEnabled(si.size() > 0);
// Delete by file: Find indexes of breakpoints of the same file // Delete by file: Find indexes of breakpoints of the same file
@@ -168,7 +168,7 @@ void BreakWindow::contextMenuEvent(QContextMenuEvent *ev)
alwaysAdjustAction->setCheckable(true); alwaysAdjustAction->setCheckable(true);
alwaysAdjustAction->setChecked(m_alwaysResizeColumnsToContents); alwaysAdjustAction->setChecked(m_alwaysResizeColumnsToContents);
QAction *editConditionAction = new QAction(tr("Edit condition...", 0, si.size()), &menu); QAction *editConditionAction = new QAction(tr("Edit condition..."), &menu);
editConditionAction->setEnabled(si.size() > 0); editConditionAction->setEnabled(si.size() > 0);
QAction *synchronizeAction = new QAction(tr("Synchronize breakpoints"), &menu); QAction *synchronizeAction = new QAction(tr("Synchronize breakpoints"), &menu);

View File

@@ -1525,10 +1525,11 @@ QString DebuggerManager::qtDumperLibraryName() const
QStringList DebuggerManager::qtDumperLibraryLocations() const QStringList DebuggerManager::qtDumperLibraryLocations() const
{ {
if (theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool()) if (theDebuggerAction(UseCustomDebuggingHelperLocation)->value().toBool()) {
return QStringList() << const QString customLocation = theDebuggerAction(CustomDebuggingHelperLocation)->value().toString();
( theDebuggerAction(CustomDebuggingHelperLocation)->value().toString() const QString location = tr("%1 (explicitly set in the Debugger Options)").arg(customLocation);
+ tr(" (explicitly set in the Debugger Options)")); return QStringList(location);
}
return m_dumperLibLocations; return m_dumperLibLocations;
} }

View File

@@ -68,7 +68,7 @@
<item> <item>
<widget class="QCheckBox" name="includeQtModuleCheckBox"> <widget class="QCheckBox" name="includeQtModuleCheckBox">
<property name="text"> <property name="text">
<string>Include Qt module name</string> <string>Use Qt module name in #include-directive</string>
</property> </property>
</widget> </widget>
</item> </item>