forked from qt-creator/qt-creator
Gerrit: Fix UI text
Change-Id: I5be1fc3629961dbc224d65d1bc52efc9a4613d2a Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4f537a5ea3
commit
88a889d45a
@@ -226,22 +226,22 @@ void GerritPushDialog::onRemoteChanged(bool force)
|
||||
m_currentSupportsWip = supportsWip;
|
||||
m_ui->wipCheckBox->setEnabled(supportsWip);
|
||||
if (supportsWip) {
|
||||
m_ui->wipCheckBox->setToolTip(tr("Checked - Mark change as WIP\n"
|
||||
"Unchecked - Mark change as ready\n"
|
||||
"Partially checked - Do not change current state"));
|
||||
m_ui->wipCheckBox->setToolTip(tr("Checked - Mark change as WIP.\n"
|
||||
"Unchecked - Mark change as ready for review.\n"
|
||||
"Partially checked - Do not change current state."));
|
||||
m_ui->draftCheckBox->setTristate(true);
|
||||
if (m_ui->draftCheckBox->checkState() != Qt::Checked)
|
||||
m_ui->draftCheckBox->setCheckState(Qt::PartiallyChecked);
|
||||
m_ui->draftCheckBox->setToolTip(tr("Checked - Mark change as private\n"
|
||||
"Unchecked - Unmark change as private\n"
|
||||
"Partially checked - Do not change current state"));
|
||||
m_ui->draftCheckBox->setToolTip(tr("Checked - Mark change as private.\n"
|
||||
"Unchecked - Remove mark.\n"
|
||||
"Partially checked - Do not change current state."));
|
||||
} else {
|
||||
m_ui->wipCheckBox->setToolTip(tr("Supported on Gerrit 2.15 and up"));
|
||||
m_ui->wipCheckBox->setToolTip(tr("Supported on Gerrit 2.15 and later."));
|
||||
m_ui->draftCheckBox->setTristate(false);
|
||||
if (m_ui->draftCheckBox->checkState() != Qt::Checked)
|
||||
m_ui->draftCheckBox->setCheckState(Qt::Unchecked);
|
||||
m_ui->draftCheckBox->setToolTip(tr("Checked - Mark change as draft\n"
|
||||
"Unchecked - Unmark change as draft"));
|
||||
m_ui->draftCheckBox->setToolTip(tr("Checked - The change is a draft.\n"
|
||||
"Unchecked - The change is not a draft."));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -82,14 +82,14 @@ Unchecked - Unmark change as private
|
||||
Semi-checked - Do not change current state</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Draft/Private</string>
|
||||
<string>&Draft/private</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="wipCheckBox">
|
||||
<property name="text">
|
||||
<string>&Work-In-Progress</string>
|
||||
<string>&Work-in-progress</string>
|
||||
</property>
|
||||
<property name="tristate">
|
||||
<bool>true</bool>
|
||||
|
Reference in New Issue
Block a user