Skip to content

Commit c4bc154

Browse files
committed
translation string fixes
1 parent 702d4cc commit c4bc154

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/qgsmapthemes.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ void QgsMapThemes::replaceTriggered()
137137
return;
138138

139139
int res = QMessageBox::question( mMenu, tr( "Replace theme" ),
140-
tr( "Are you sure you want to replace the existing theme “%1”?" ).arg( actionPreset->text() ),
140+
trUtf8( "Are you sure you want to replace the existing theme “%1”?" ).arg( actionPreset->text() ),
141141
QMessageBox::Yes | QMessageBox::No, QMessageBox::No );
142142
if ( res != QMessageBox::Yes )
143143
return;

src/gui/qgspropertyassistantwidget.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,12 @@ QgsPropertyGenericNumericAssistantWidget::QgsPropertyGenericNumericAssistantWidg
538538
minOutputSpinBox->setValue( 0.0 );
539539
minOutputSpinBox->setShowClearButton( true );
540540
minOutputSpinBox->setClearValue( 0.0 );
541-
minOutputSpinBox->setSuffix( tr( " °" ) );
541+
minOutputSpinBox->setSuffix( trUtf8( " °" ) );
542542
maxOutputSpinBox->setMaximum( 360.0 );
543543
maxOutputSpinBox->setValue( 360.0 );
544544
maxOutputSpinBox->setShowClearButton( true );
545545
maxOutputSpinBox->setClearValue( 360.0 );
546-
maxOutputSpinBox->setSuffix( tr( " °" ) );
546+
maxOutputSpinBox->setSuffix( trUtf8( " °" ) );
547547
exponentSpinBox->hide();
548548
mExponentLabel->hide();
549549
mLabelMinOutput->setText( tr( "Angle from" ) );

0 commit comments

Comments
 (0)