View Issue Details

IDProjectCategoryView StatusLast Update
0015645ScribusTranslationpublic2019-06-04 20:55
Reporterbubu Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version1.5.5.svn 
Summary0015645: Non translatable strings in Picture Browser
DescriptionPlease, make translatable these strings:
scribus/scribus/plugins/picbrowser/picturebrowser.cpp
- 1888: moreButton->setText("Hide");
- 1896: moreButton->setText("More");
- 1577: statusLabel->setText(QString("%1 image(s) displayed, %2 image(s) filtered").arg(imagesDisplayed).arg(imagesFiltered));

Im not a programmer just a translator, but I attached a patch... Sorry if isn't good.
TagsNo tags attached.
PatchYes

Activities

bubu

2019-04-11 08:29

reporter  

tr (766 bytes)
--- A/picturebrowser.cpp
+++ B/picturebrowser.cpp
@@ -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(QString(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);
 	}
 }

tr (766 bytes)

jghali

2019-04-11 18:14

administrator   ~0046116

Applied, thanks!

Issue History

Date Modified Username Field Change
2019-04-11 08:29 bubu New Issue
2019-04-11 08:29 bubu File Added: tr
2019-04-11 18:14 jghali Assigned To => jghali
2019-04-11 18:14 jghali Status new => resolved
2019-04-11 18:14 jghali Resolution open => fixed
2019-04-11 18:14 jghali Fixed in Version => 1.5.5.svn
2019-04-11 18:14 jghali Note Added: 0046116
2019-06-04 20:55 cbradney Status resolved => closed