Commit f54b935a authored by jkobus's avatar jkobus Committed by Jarek Kobus
Browse files

Use book style capitalization for button labels



Change-Id: I9d74792f59a1209a3fbbd4fade39eee04d5ce5f4
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent e79d764f
...@@ -246,9 +246,9 @@ public: ...@@ -246,9 +246,9 @@ public:
const BazaarCommandParameters &p, QWidget *parent = 0) : const BazaarCommandParameters &p, QWidget *parent = 0) :
VcsBase::VcsBaseEditorParameterWidget(parent), m_client(client), m_params(p) VcsBase::VcsBaseEditorParameterWidget(parent), m_client(client), m_params(p)
{ {
mapSetting(addToggleButton(QLatin1String("-w"), tr("Ignore whitespace")), mapSetting(addToggleButton(QLatin1String("-w"), tr("Ignore Whitespace")),
client->settings()->boolPointer(BazaarSettings::diffIgnoreWhiteSpaceKey)); client->settings()->boolPointer(BazaarSettings::diffIgnoreWhiteSpaceKey));
mapSetting(addToggleButton(QLatin1String("-B"), tr("Ignore blank lines")), mapSetting(addToggleButton(QLatin1String("-B"), tr("Ignore Blank Lines")),
client->settings()->boolPointer(BazaarSettings::diffIgnoreBlankLinesKey)); client->settings()->boolPointer(BazaarSettings::diffIgnoreBlankLinesKey));
} }
......
...@@ -538,8 +538,8 @@ CvsDiffParameterWidget::CvsDiffParameterWidget(const CvsDiffParameters &p, QWidg ...@@ -538,8 +538,8 @@ CvsDiffParameterWidget::CvsDiffParameterWidget(const CvsDiffParameters &p, QWidg
VcsBaseEditorParameterWidget(parent), m_parameters(p) VcsBaseEditorParameterWidget(parent), m_parameters(p)
{ {
setBaseArguments(p.arguments); setBaseArguments(p.arguments);
addToggleButton(QLatin1String("-w"), tr("Ignore whitespace")); addToggleButton(QLatin1String("-w"), tr("Ignore Whitespace"));
addToggleButton(QLatin1String("-B"), tr("Ignore blank lines")); addToggleButton(QLatin1String("-B"), tr("Ignore Blank Lines"));
connect(this, SIGNAL(argumentsChanged()), connect(this, SIGNAL(argumentsChanged()),
this, SLOT(triggerReRun())); this, SLOT(triggerReRun()));
} }
......
...@@ -428,9 +428,9 @@ public: ...@@ -428,9 +428,9 @@ public:
const MercurialDiffParameters &p, QWidget *parent = 0) : const MercurialDiffParameters &p, QWidget *parent = 0) :
VcsBase::VcsBaseEditorParameterWidget(parent), m_client(client), m_params(p) VcsBase::VcsBaseEditorParameterWidget(parent), m_client(client), m_params(p)
{ {
mapSetting(addToggleButton(QLatin1String("-w"), tr("Ignore whitespace")), mapSetting(addToggleButton(QLatin1String("-w"), tr("Ignore Whitespace")),
client->settings()->boolPointer(MercurialSettings::diffIgnoreWhiteSpaceKey)); client->settings()->boolPointer(MercurialSettings::diffIgnoreWhiteSpaceKey));
mapSetting(addToggleButton(QLatin1String("-B"), tr("Ignore blank lines")), mapSetting(addToggleButton(QLatin1String("-B"), tr("Ignore Blank Lines")),
client->settings()->boolPointer(MercurialSettings::diffIgnoreBlankLinesKey)); client->settings()->boolPointer(MercurialSettings::diffIgnoreBlankLinesKey));
} }
......
...@@ -1215,7 +1215,7 @@ PerforceDiffParameterWidget::PerforceDiffParameterWidget(const PerforceDiffParam ...@@ -1215,7 +1215,7 @@ PerforceDiffParameterWidget::PerforceDiffParameterWidget(const PerforceDiffParam
VcsBase::VcsBaseEditorParameterWidget(parent), m_parameters(p) VcsBase::VcsBaseEditorParameterWidget(parent), m_parameters(p)
{ {
setBaseArguments(p.diffArguments); setBaseArguments(p.diffArguments);
addToggleButton(QLatin1String("w"), tr("Ignore whitespace")); addToggleButton(QLatin1String("w"), tr("Ignore Whitespace"));
connect(this, SIGNAL(argumentsChanged()), this, SLOT(triggerReRun())); connect(this, SIGNAL(argumentsChanged()), this, SLOT(triggerReRun()));
} }
......
...@@ -531,7 +531,7 @@ SubversionDiffParameterWidget::SubversionDiffParameterWidget(const SubversionDif ...@@ -531,7 +531,7 @@ SubversionDiffParameterWidget::SubversionDiffParameterWidget(const SubversionDif
VcsBase::VcsBaseEditorParameterWidget(parent), m_parameters(p) VcsBase::VcsBaseEditorParameterWidget(parent), m_parameters(p)
{ {
setBaseArguments(p.arguments); setBaseArguments(p.arguments);
addToggleButton(QLatin1String("w"), tr("Ignore whitespace")); addToggleButton(QLatin1String("w"), tr("Ignore Whitespace"));
connect(this, SIGNAL(argumentsChanged()), this, SLOT(triggerReRun())); connect(this, SIGNAL(argumentsChanged()), this, SLOT(triggerReRun()));
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment