r22934 by jghali - #15645: Non translatable strings in Picture Browser

scribus-commit scribus-commit at lists.scribus.net
Thu Apr 11 18:14:12 UTC 2019


Author: jghali
Date: Thu Apr 11 18:14:12 2019
New Revision: 22934

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22934
Log:
#15645: Non translatable strings in Picture Browser

Modified:
    trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp

Modified: trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22934&path=/trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp	(original)
+++ trunk/Scribus/scribus/plugins/picbrowser/picturebrowser.cpp	Thu Apr 11 18:14:12 2019
@@ -1574,7 +1574,7 @@
 
 	if (pModel)
 		pModel->setModelItemsList(pImages->previewImagesList);
-	statusLabel->setText(QString("%1 image(s) displayed, %2 image(s) filtered").arg(imagesDisplayed).arg(imagesFiltered));
+	statusLabel->setText(tr("%1 image(s) displayed, %2 image(s) filtered").arg(imagesDisplayed).arg(imagesFiltered));
 }
 
 
@@ -1885,7 +1885,7 @@
 		tabWidget->show();
 
 		resize(872, 550);
-		moreButton->setText("Hide");
+		moreButton->setText(tr("Hide"));
 		moreButton->setIcon(*iconArrowUp);
 	}
 	else
@@ -1893,7 +1893,7 @@
 		tabWidget->hide();
 
 		resize(872, 385);
-		moreButton->setText("More");
+		moreButton->setText(tr("More"));
 		moreButton->setIcon(*iconArrowDown);
 	}
 }




More information about the scribus-commit mailing list