Skip to content

Commit 36992b3

Browse files
committedJul 13, 2015
Standardise capitalisation of HTML string (refs #7050)
1 parent b4c6023 commit 36992b3

File tree

7 files changed

+12
-21
lines changed

7 files changed

+12
-21
lines changed
 

‎src/app/composer/qgscomposerhtmlwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void QgsComposerHtmlWidget::on_mUrlLineEdit_editingFinished()
122122
QgsComposition* composition = mHtml->composition();
123123
if ( composition )
124124
{
125-
composition->beginMultiFrameCommand( mHtml, tr( "Change html url" ) );
125+
composition->beginMultiFrameCommand( mHtml, tr( "Change HTML url" ) );
126126
mHtml->setUrl( newUrl );
127127
mHtml->update();
128128
composition->endMultiFrameCommand();

‎src/app/qgstipfactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ QgsTipFactory::QgsTipFactory() : QObject()
196196
myTip.setTitle( tr( "Add an action to layer" ) );
197197
myTip.setContent( tr( "Action in a layer allow user to trigger action when clicking on a geometry"
198198
" with 'Run Feature Action' tools."
199-
"For example, you can open an html page using the field value of the geometry "
199+
"For example, you can open a HTML page using the field value of the geometry "
200200
"as a parameter. Look at the <a href=\"http://docs.qgis.org/latest/en/docs/user_manual/working_with_vector/vector_properties.html?#actions-menu\">documentation</a>."
201201
) );
202202
addGuiTip( myTip );

‎src/core/composer/qgscomposerhtml.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ void QgsComposerHtml::setUserStylesheetEnabled( const bool stylesheetEnabled )
454454

455455
QString QgsComposerHtml::displayName() const
456456
{
457-
return tr( "<html frame>" );
457+
return tr( "<HTML frame>" );
458458
}
459459

460460
bool QgsComposerHtml::writeXML( QDomElement& elem, QDomDocument & doc, bool ignoreFrames ) const

‎src/gui/qgscomposerview.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -937,12 +937,12 @@ void QgsComposerView::mouseReleaseEvent( QMouseEvent* e )
937937
{
938938
QgsComposerHtml* composerHtml = new QgsComposerHtml( composition(), true );
939939
QgsAddRemoveMultiFrameCommand* command = new QgsAddRemoveMultiFrameCommand( QgsAddRemoveMultiFrameCommand::Added,
940-
composerHtml, composition(), tr( "Html item added" ) );
940+
composerHtml, composition(), tr( "HTML item added" ) );
941941
composition()->undoStack()->push( command );
942942
QgsComposerFrame* frame = new QgsComposerFrame( composition(), composerHtml, mRubberBandItem->transform().dx(),
943943
mRubberBandItem->transform().dy(), mRubberBandItem->rect().width(),
944944
mRubberBandItem->rect().height() );
945-
composition()->beginMultiFrameCommand( composerHtml, tr( "Html frame added" ) );
945+
composition()->beginMultiFrameCommand( composerHtml, tr( "HTML frame added" ) );
946946
composerHtml->addFrame( frame );
947947
composition()->endMultiFrameCommand();
948948

‎src/gui/qgsmaptoolidentify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ bool QgsMapToolIdentify::identifyRasterLayer( QList<IdentifyResult> *results, Qg
525525
}
526526
else // text or html
527527
{
528-
QgsDebugMsg( QString( "%1 html or text values" ).arg( values.size() ) );
528+
QgsDebugMsg( QString( "%1 HTML or text values" ).arg( values.size() ) );
529529
foreach ( int bandNo, values.keys() )
530530
{
531531
QString value = values.value( bandNo ).toString();

‎src/ui/qgisapp.ui

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<x>0</x>
1818
<y>0</y>
1919
<width>1050</width>
20-
<height>27</height>
20+
<height>25</height>
2121
</rect>
2222
</property>
2323
<widget class="QMenu" name="mProjectMenu">
@@ -1908,10 +1908,10 @@ Acts on currently active editable layer</string>
19081908
<normaloff>:/images/themes/default/mActionFormAnnotation.png</normaloff>:/images/themes/default/mActionFormAnnotation.png</iconset>
19091909
</property>
19101910
<property name="text">
1911-
<string>Html Annotation</string>
1911+
<string>HTML Annotation</string>
19121912
</property>
19131913
<property name="toolTip">
1914-
<string>Html Annotation</string>
1914+
<string>HTML Annotation</string>
19151915
</property>
19161916
</action>
19171917
<action name="mActionDuplicateLayer">

‎src/ui/qgscomposerbase.ui

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,7 @@
2121
<bool>true</bool>
2222
</property>
2323
<layout class="QGridLayout" name="gridLayout">
24-
<property name="leftMargin">
25-
<number>0</number>
26-
</property>
27-
<property name="topMargin">
28-
<number>0</number>
29-
</property>
30-
<property name="rightMargin">
31-
<number>0</number>
32-
</property>
33-
<property name="bottomMargin">
24+
<property name="margin">
3425
<number>0</number>
3526
</property>
3627
<item row="0" column="0">
@@ -715,7 +706,7 @@
715706
<string>Add &amp;HTML</string>
716707
</property>
717708
<property name="toolTip">
718-
<string>Add html frame</string>
709+
<string>Add HTML frame</string>
719710
</property>
720711
</action>
721712
<action name="mActionComposerManager">
@@ -1053,8 +1044,8 @@
10531044
</action>
10541045
</widget>
10551046
<resources>
1056-
<include location="../../python/plugins/fTools/resources.qrc"/>
10571047
<include location="../../images/images.qrc"/>
1048+
<include location="../../python/plugins/fTools/resources.qrc"/>
10581049
</resources>
10591050
<connections/>
10601051
</ui>

0 commit comments

Comments
 (0)
Please sign in to comment.