Bazaar: fix UI text capitalization and punctuation

Change-Id: I15326c23ac99c952a17ad0677be823f793d0fa40
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Leena Miettinen
2015-03-27 10:36:10 +01:00
committed by Orgad Shaneh
parent 46dfb79ae1
commit dfc35bc133

View File

@@ -99,20 +99,20 @@ public:
VcsBaseEditorParameterWidget(parent) VcsBaseEditorParameterWidget(parent)
{ {
mapSetting(addToggleButton(QLatin1String("--verbose"), tr("Verbose"), mapSetting(addToggleButton(QLatin1String("--verbose"), tr("Verbose"),
tr("Show files changed in each revision")), tr("Show files changed in each revision.")),
settings->boolPointer(BazaarSettings::logVerboseKey)); settings->boolPointer(BazaarSettings::logVerboseKey));
mapSetting(addToggleButton(QLatin1String("--forward"), tr("Forward"), mapSetting(addToggleButton(QLatin1String("--forward"), tr("Forward"),
tr("Show from oldest to newest")), tr("Show from oldest to newest.")),
settings->boolPointer(BazaarSettings::logForwardKey)); settings->boolPointer(BazaarSettings::logForwardKey));
mapSetting(addToggleButton(QLatin1String("--include-merges"), tr("Include merges"), mapSetting(addToggleButton(QLatin1String("--include-merges"), tr("Include Merges"),
tr("Show merged revisions")), tr("Show merged revisions.")),
settings->boolPointer(BazaarSettings::logIncludeMergesKey)); settings->boolPointer(BazaarSettings::logIncludeMergesKey));
QList<ComboBoxItem> logChoices; QList<ComboBoxItem> logChoices;
logChoices << ComboBoxItem(tr("Detailed"), QLatin1String("long")) logChoices << ComboBoxItem(tr("Detailed"), QLatin1String("long"))
<< ComboBoxItem(tr("Moderately short"), QLatin1String("short")) << ComboBoxItem(tr("Moderately Short"), QLatin1String("short"))
<< ComboBoxItem(tr("One line"), QLatin1String("line")) << ComboBoxItem(tr("One Line"), QLatin1String("line"))
<< ComboBoxItem(tr("GNU ChangeLog"), QLatin1String("gnu-changelog")); << ComboBoxItem(tr("GNU Change Log"), QLatin1String("gnu-changelog"));
mapSetting(addComboBox(QStringList(QLatin1String("--log-format=%1")), logChoices), mapSetting(addComboBox(QStringList(QLatin1String("--log-format=%1")), logChoices),
settings->stringPointer(BazaarSettings::logFormatKey)); settings->stringPointer(BazaarSettings::logFormatKey));
} }