Skip to content
Permalink
Browse files

Update more labels to reflect project metadata in widget

  • Loading branch information
nyalldawson committed Mar 19, 2018
1 parent 681cd41 commit df56de01a75526d1e92975283159399974333c56
Showing with 13 additions and 9 deletions.
  1. +4 −0 src/gui/qgsmetadatawidget.cpp
  2. +9 −9 src/ui/qgsmetadatawidget.ui
@@ -156,6 +156,10 @@ void QgsMetadataWidget::setMode( QgsMetadataWidget::Mode mode )
mLabelContact->setText( tr( "Contact describe the owner of the %1." ).arg( type ) );
mLabelLinks->setText( tr( "Links describe ancillary resources and information related to this %1." ).arg( type ) );
mLabelHistory->setText( tr( "History about the %1." ).arg( type ) );
labelKeywords->setText( tr( "<html><head/><body><p>Keywords are optional, and provide a way to provide additional descriptive information about "
"the %1. Edits made in the categories tab will update the category entry below. For the concept, we suggest "
"to use a standard based vocabulary such as <a href=\"https://www.eionet.europa.eu/gemet/en/inspire-themes/\">"
"<span style=\" text-decoration: underline; color:#0000ff;\">GEMET.</span></a></p></body></html>" ).arg( type ) );
btnAutoSource->setText( tr( "Set from %1" ).arg( mMode == LayerMetadata ? tr( "layer" ) : tr( "project" ) ) );
}

@@ -35,7 +35,7 @@
<enum>QTabWidget::Rounded</enum>
</property>
<property name="currentIndex">
<number>0</number>
<number>8</number>
</property>
<widget class="QWidget" name="tabIdentificationDialog">
<attribute name="title">
@@ -66,7 +66,7 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-52</y>
<y>0</y>
<width>786</width>
<height>721</height>
</rect>
@@ -75,7 +75,7 @@
<item>
<widget class="QLabel" name="mIdLabel">
<property name="text">
<string>This page describes the basic attribution of the dataset. Please use the tooltips for more information.</string>
<string>Label text set in qgsmetadatawidget.cpp</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -382,7 +382,7 @@
<item>
<widget class="QLabel" name="mLabelCategories">
<property name="text">
<string>Dataset categories.</string>
<string>Label text set in qgsmetadatawidget.cpp</string>
</property>
</widget>
</item>
@@ -550,9 +550,9 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QLabel" name="label_17">
<widget class="QLabel" name="labelKeywords">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Keywords are optional, and provide a way to provide additional descriptive information about the dataset. Edits made in the categories tab will update the category entry below. For the concept, we suggest to use a standard based vocabulary such as &lt;a href=&quot;https://www.eionet.europa.eu/gemet/en/inspire-themes/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;GEMET.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Label text set in qgsmetadatawidget.cpp&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@@ -1052,7 +1052,7 @@
<item>
<widget class="QLabel" name="mLabelContact">
<property name="text">
<string>Contact describe the owner of the dataset.</string>
<string>Label text set in qgsmetadatawidget.cpp</string>
</property>
</widget>
</item>
@@ -1334,7 +1334,7 @@
<string>a list of online resources associated with the resource.</string>
</property>
<property name="text">
<string>Links describe ancillary resources and information related to this dataset.</string>
<string>Label text set in qgsmetadatawidget.cpp</string>
</property>
</widget>
</item>
@@ -1406,7 +1406,7 @@
<item>
<widget class="QLabel" name="mLabelHistory">
<property name="text">
<string>History about the dataset.</string>
<string>Label text set in qgsmetadatawidget.cpp</string>
</property>
<property name="wordWrap">
<bool>true</bool>

0 comments on commit df56de0

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