r20393 by craig -

scribus-commit scribus-commit at lists.scribus.net
Thu Sep 17 21:13:58 UTC 2015


Author: craig
Date: Thu Sep 17 21:13:57 2015
New Revision: 20393

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20393
Log:
Fix apostrophe

Modified:
    trunk/Scribus/scribus/ui/markvariabletext.cpp

Modified: trunk/Scribus/scribus/ui/markvariabletext.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20393&path=/trunk/Scribus/scribus/ui/markvariabletext.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/markvariabletext.cpp	(original)
+++ trunk/Scribus/scribus/ui/markvariabletext.cpp	Thu Sep 17 21:13:57 2015
@@ -15,7 +15,7 @@
 			((QComboBox*) labelEditWidget)->addItem(marks[i]->label, QVariant::fromValue((void*) marks[i]));
 	}
 	((QComboBox*) labelEditWidget)->setEditable(true);
-	((QComboBox*) labelEditWidget)->lineEdit()->setToolTip(tr("Edit selected Mark`s label. To create new Mark select \"New Mark\" in drop list and input new label."));
+	((QComboBox*) labelEditWidget)->lineEdit()->setToolTip(tr("Edit selected Mark's label. To create new Mark select \"New Mark\" in drop list and input new label."));
 	connect(((QComboBox*) labelEditWidget), SIGNAL(currentIndexChanged(int)),this,SLOT(onLabelList_currentIndexChanged(int)));
 	labelLayout->addWidget(labelEditWidget);
 	textEdit->setToolTip(tr("Edit variable text"));
@@ -28,7 +28,7 @@
 	setupUi(this);
 
 	labelEditWidget = (QWidget*) new QLineEdit(parent);
-	((QLineEdit*) labelEditWidget)->setToolTip(tr("Edit selected Mark`s label"));
+	((QLineEdit*) labelEditWidget)->setToolTip(tr("Edit selected Mark's label"));
 
 	labelLayout->addWidget(labelEditWidget);
 	textEdit->setToolTip(tr("Edit variable text"));
@@ -45,7 +45,7 @@
 {
 	text = textEdit->text();
 	//hack to read if it is QComboBox or QLineEdit
-	if (labelEditWidget->toolTip() != tr("Edit selected Mark`s label."))
+	if (labelEditWidget->toolTip() != tr("Edit selected Mark's label."))
 	{
 		int labelID = ((QComboBox*) labelEditWidget)->currentIndex();
 		label = ((QComboBox*) labelEditWidget)->currentText();
@@ -61,7 +61,7 @@
 
 void MarkVariableText::setValues(QString label, QString text)
 {
-	if (labelEditWidget->toolTip() == tr("Edit selected Mark`s label."))
+	if (labelEditWidget->toolTip() == tr("Edit selected Mark's label."))
 		((QLineEdit*) labelEditWidget)->setText(label);
 	else
 		((QComboBox*) labelEditWidget)->setCurrentIndex(((QComboBox*) labelEditWidget)->findText(label));




More information about the scribus-commit mailing list