r19395 by jghali - #12586: Fix some untranslatable UI strings

scribus-commit scribus-commit at lists.scribus.net
Sat Aug 2 11:40:28 UTC 2014


Author: jghali
Date: Sat Aug  2 11:40:28 2014
New Revision: 19395

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19395
Log:
#12586: Fix some untranslatable UI strings

Modified:
    trunk/Scribus/scribus/ui/inspage.cpp
    trunk/Scribus/scribus/ui/propertiespalette_image.cpp

Modified: trunk/Scribus/scribus/ui/inspage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19395&path=/trunk/Scribus/scribus/ui/inspage.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/inspage.cpp (original)
+++ trunk/Scribus/scribus/ui/inspage.cpp Sat Aug  2 11:40:28 2014
@@ -215,7 +215,7 @@
 		}
 	}
 	dialogLayout->addWidget(masterPageGroup);
-	overrideMPSizingCheckBox=new QCheckBox("Override Master Page Sizing");
+	overrideMPSizingCheckBox=new QCheckBox( tr("Override Master Page Sizing"));
 	dialogLayout->addWidget(overrideMPSizingCheckBox);
 	dsGroupBox7 = new QGroupBox( this );
 	dsGroupBox7->setTitle( tr( "Page Size" ) );
@@ -258,7 +258,7 @@
 	dsGroupBox7Layout->addWidget( widthSpinBox, 2, 1 );
 	heightSpinBox = new ScrSpinBox( 1, 10000, dsGroupBox7, currentDoc->unitIndex() );
 	heightSpinBox->setValue(currentDoc->pageHeight() * currentDoc->unitRatio());
-	heightQLabel = new QLabel(tr( "&Height:" ), dsGroupBox7);
+	heightQLabel = new QLabel( tr( "&Height:" ), dsGroupBox7);
 	heightQLabel->setBuddy(heightSpinBox);
 	dsGroupBox7Layout->addWidget( heightQLabel, 2, 2 );
 	dsGroupBox7Layout->addWidget( heightSpinBox, 2, 3 );

Modified: trunk/Scribus/scribus/ui/propertiespalette_image.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19395&path=/trunk/Scribus/scribus/ui/propertiespalette_image.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_image.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette_image.cpp Sat Aug  2 11:40:28 2014
@@ -45,7 +45,7 @@
 	setSizePolicy( QSizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum));
 
 	imagePageNumber->setMinimum(0);
-	imagePageNumber->setSpecialValueText(tr( "Auto" ));
+	imagePageNumber->setSpecialValueText( tr( "Auto" ));
 	imagePageNumber->setDecimals(0);
 	imagePageNumber->setSuffix("");
 	imagePageNumberLabel->setBuddy(imagePageNumber);
@@ -84,7 +84,7 @@
 	keepImageDPIRatioButton->setCheckable( true );
 	keepImageDPIRatioButton->setAutoRaise( true );
 
-	frameScale->setText( "&To Frame Size" );
+	frameScale->setText( tr("&To Frame Size"));
 
 	cbProportional->setEnabled( false );
 	cbProportional->setText( "P&roportional" );
@@ -780,6 +780,8 @@
 	xscaleLabel->setText( tr("X-Sc&ale:"));
 	yscaleLabel->setText( tr("Y-Scal&e:"));
 	freeScale->setText( tr("&Free Scaling"));
+	frameScale->setText( tr("&To Frame Size"));
+	imagePageNumber->setSpecialValueText( tr( "Auto" ));
 	imagePageNumberLabel->setText( tr("&Page Number:"));
 	imageRotationLabel->setText( tr("Rotation:"));
 




More information about the scribus-commit mailing list