Skip to content
Permalink
Browse files

fix translation strings (fixes #8057)

  • Loading branch information
jef-n committed Jun 15, 2013
1 parent 6199c2c commit e44907868299f013b7d0a8f54f00dc0a5dd916b3
@@ -251,7 +251,7 @@ void QgsComposerScaleBarWidget::on_mNumberOfSegmentsSpinBox_valueChanged( int i
return;
}

mComposerScaleBar->beginCommand( tr( "Scalebar n segments" ), QgsComposerMergeCommand::ScaleBarNSegments );
mComposerScaleBar->beginCommand( tr( "Number of scalebar segments changed" ), QgsComposerMergeCommand::ScaleBarNSegments );
disconnectUpdateSignal();
mComposerScaleBar->setNumSegments( i );
mComposerScaleBar->update();
@@ -992,7 +992,7 @@ void QgsComposition::alignSelectedItemsHCenter()
double averageXCoord = ( selectedItemBBox.left() + selectedItemBBox.right() ) / 2.0;

//place items
QUndoCommand* parentCommand = new QUndoCommand( tr( "Aligned items hcenter" ) );
QUndoCommand* parentCommand = new QUndoCommand( tr( "Aligned items horizontal center" ) );
QList<QgsComposerItem*>::iterator align_it = selectedItems.begin();
for ( ; align_it != selectedItems.end(); ++align_it )
{
@@ -1082,7 +1082,7 @@ void QgsComposition::alignSelectedItemsVCenter()
}

double averageYCoord = ( selectedItemBBox.top() + selectedItemBBox.bottom() ) / 2.0;
QUndoCommand* parentCommand = new QUndoCommand( tr( "Aligned items vcenter" ) );
QUndoCommand* parentCommand = new QUndoCommand( tr( "Aligned items vertical center" ) );
QList<QgsComposerItem*>::iterator align_it = selectedItems.begin();
for ( ; align_it != selectedItems.end(); ++align_it )
{
@@ -702,7 +702,7 @@ QVariant QgsRuleBasedRendererV2Model::headerData( int section, Qt::Orientation o
{
if ( orientation == Qt::Horizontal && role == Qt::DisplayRole && section >= 0 && section < 7 )
{
QStringList lst; lst << tr( "Label" ) << tr( "Rule" ) << tr( "Min. scale" ) << tr( "Max.scale" ) << tr( "Count" ) << tr( "Duplicate count" );
QStringList lst; lst << tr( "Label" ) << tr( "Rule" ) << tr( "Min. scale" ) << tr( "Max. scale" ) << tr( "Count" ) << tr( "Duplicate count" );
return lst[section];
}
else if ( orientation == Qt::Horizontal && role == Qt::ToolTipRole )
@@ -1605,7 +1605,7 @@ Ctl (Cmd) increments by 15 deg.</string>
</action>
<action name="actionActionCatchForCustomization">
<property name="text">
<string>mActionCatchForCustomization</string>
<string notr="true">mActionCatchForCustomization</string>
</property>
<property name="toolTip">
<string>This is here just to avoid shortcut conflicts, the shortcut is caught in QgsCustomization</string>
@@ -54,9 +54,9 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-202</y>
<width>440</width>
<height>1380</height>
<y>0</y>
<width>438</width>
<height>1454</height>
</rect>
</property>
<property name="sizePolicy">
@@ -299,19 +299,6 @@
<item row="0" column="1">
<widget class="QComboBox" name="mGridTypeComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="mIntervalXLabel">
<property name="text">
<string>Interval</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>mIntervalXSpinBox</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<layout class="QVBoxLayout" name="verticalLayout_7">
<item>
@@ -345,7 +332,7 @@
<item row="2" column="0">
<widget class="QLabel" name="mOffsetXLabel">
<property name="text">
<string>Offset X</string>
<string>Offset</string>
</property>
<property name="wordWrap">
<bool>false</bool>
@@ -458,6 +445,19 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="mIntervalXLabel">
<property name="text">
<string>Interval</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
<property name="buddy">
<cstring>mIntervalXSpinBox</cstring>
</property>
</widget>
</item>
</layout>
</item>
<item>
@@ -723,7 +723,7 @@
<class>QgsColorButton</class>
<extends>QPushButton</extends>
<header>qgscolorbutton.h</header>
</customwidget>
</customwidget>
</customwidgets>
<resources/>
<connections/>

0 comments on commit e449078

Please sign in to comment.
You can’t perform that action at this time.