r24555 by jghali - #16512: Shrink eyedropper dialog for new color name <bubu>

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 7 21:43:46 UTC 2021


Author: jghali
Date: Sun Mar  7 21:43:46 2021
New Revision: 24555

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24555
Log:
#16512: Shrink eyedropper dialog for new color name <bubu>

Modified:
    trunk/Scribus/scribus/canvasmode_eyedropper.cpp

Modified: trunk/Scribus/scribus/canvasmode_eyedropper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24555&path=/trunk/Scribus/scribus/canvasmode_eyedropper.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_eyedropper.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_eyedropper.cpp	Sun Mar  7 21:43:46 2021
@@ -178,14 +178,14 @@
 	{
 		bool ok;
 		bool nameFound = false;
-		QString questionString = "<qt>" + tr("The selected color does not exist in the document's color set. Please enter a name for this new color.") + "</qt>";
+		QString questionString = "<qt>" + tr("The selected color does not exist in the document's color set.") + "<br/>" + tr("Please enter a name for this new color.") + "</qt>";
 		do
 		{
 			colorName = QInputDialog::getText(m_ScMW, tr("Color Not Found"), questionString, QLineEdit::Normal, tr("RGB %1").arg(selectedColor.name()), &ok);
 			if (ok)
 			{
 				if (m_doc->PageColors.contains(colorName))
-					questionString = "<qt>" + tr("The name you have selected already exists. Please enter a different name for this new color.") + "</qt>";
+					questionString = "<qt>" + tr("The name you have selected already exists.") + "<br/>" + tr(" Please enter a different name for this new color.") + "</qt>";
 				else
 					nameFound = true;
 			}




More information about the scribus-commit mailing list