From: Soeren Apel Date: Sun, 2 Sep 2018 19:36:23 +0000 (+0200) Subject: Settings: Fix description text X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=39e047cffdbfdb6dd10f3367e600887553a89d74 Settings: Fix description text When %q is used, we don't just encapsulate annotation texts in quotation marks, we encapsulate all fields. --- diff --git a/pv/dialogs/settings.cpp b/pv/dialogs/settings.cpp index 97f47d76..1ac8a4c3 100644 --- a/pv/dialogs/settings.cpp +++ b/pv/dialogs/settings.cpp @@ -295,7 +295,7 @@ QWidget *Settings::get_decoder_settings_form(QWidget *parent) connect(ann_export_format_, SIGNAL(textChanged(const QString&)), this, SLOT(on_dec_exportFormat_changed(const QString&))); decoder_layout->addRow(tr("Annotation export format"), ann_export_format_); - QLabel *description_1 = new QLabel(tr("%s = sample range; %d: decoder name; %c: row name; %q: use quotes for ann text")); + QLabel *description_1 = new QLabel(tr("%s = sample range; %d: decoder name; %c: row name; %q: use quotations marks")); description_1->setAlignment(Qt::AlignRight); decoder_layout->addRow(description_1); QLabel *description_2 = new QLabel(tr("%1: longest annotation text; %a: all annotation texts"));