Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
More translation clean-ups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8002 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Jan 18, 2008
1 parent 14da6a5 commit d24df2b
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 32 deletions.
8 changes: 8 additions & 0 deletions src/app/qgsabout.cpp
Expand Up @@ -48,6 +48,14 @@ QgsAbout::~QgsAbout()

void QgsAbout::init()
{

// Set up text in dialog.
QString format("<p align=center>%1</p><p align=center><a href=%2>%3</a></p>");
QString sentence1 = tr("Quantum GIS is licensed under the GNU General Public License");
QString link("http://www.gnu.org/licenses");
lblUrls->setHtml(format.arg(sentence1).arg(link).arg(link));
QgsDebugMsg(format.arg(sentence1).arg(link).arg(link));

// set the 60x60 icon pixmap
QPixmap icon(QgsApplication::iconsPath() + "qgis-icon-60x60.png");
qgisIcon->setPixmap(icon);
Expand Down
10 changes: 10 additions & 0 deletions src/gui/qgslayerprojectionselector.cpp
Expand Up @@ -28,6 +28,16 @@ QgsLayerProjectionSelector::QgsLayerProjectionSelector(QWidget *parent,
: QDialog(parent, fl)
{
setupUi(this);

// Set up text edit pane
QString format("<h2>%1</h2>%2 %3");
QString header = tr("Define this layer's projection:");
QString sentence1 = tr("This layer appears to have no projection specification.");
QString sentence2 = tr("By default, this layer will now have its projection set to that of the project"
", but you may override this by selecting a different projection below.");
textEdit->setHtml(format.arg(header).arg(sentence1)
.arg(sentence2));

connect(pbnOK, SIGNAL(clicked()), this, SLOT( accept()));

QApplication::restoreOverrideCursor();
Expand Down
10 changes: 3 additions & 7 deletions src/ui/qgsabout.ui
Expand Up @@ -96,13 +96,9 @@
</item>
<item row="3" column="0" >
<widget class="QTextEdit" name="lblUrls" >
<property name="html" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Arial'; font-size:12pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;">Quantum GIS is licensed under the GNU General Public License&lt;/p>
&lt;p align="center" style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;">http://www.gnu.org/licenses&lt;/p>&lt;/body>&lt;/html></string>
</property>
<property name="html">
<string></string>
</property>
</widget>
</item>
<item row="2" column="0" >
Expand Down
23 changes: 14 additions & 9 deletions src/ui/qgscustomprojectiondialogbase.ui
Expand Up @@ -41,10 +41,7 @@
<item row="1" column="0" colspan="2" >
<widget class="QTextBrowser" name="textBrowser" >
<property name="html" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;">You can define your own custom projection here. The definition must conform to the proj4 format for specifying a Spatial Reference System.&lt;/p>&lt;/body>&lt;/html></string>
<string>You can define your own custom projection here. The definition must conform to the proj4 format for specifying a Spatial Reference System.</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -177,6 +174,17 @@ p, li { white-space: pre-wrap; }
</property>
<item row="0" column="0" colspan="3" >
<widget class="QLabel" name="textLabel1_2" >
<property name="font" >
<font>
<family>Arial</family>
<pointsize>18</pointsize>
<weight>50</weight>
<italic>false</italic>
<bold>false</bold>
<underline>false</underline>
<strikeout>false</strikeout>
</font>
</property>
<property name="text" >
<string>Transform from WGS84 to the chosen projection</string>
</property>
Expand All @@ -185,10 +193,7 @@ p, li { white-space: pre-wrap; }
<item row="1" column="0" colspan="3" >
<widget class="QTextBrowser" name="textBrowser_2" >
<property name="html" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Arial'; font-size:10pt;">Use the text boxes below to test the projection definition you are creating. Enter a coordinate where both the lat/long and the projected result are known (for example by reading off a map). Then press the calculate button to see if the projection definition you are creating is accurate.&lt;/p>&lt;/body>&lt;/html></string>
<string>Use the text boxes below to test the projection definition you are creating. Enter a coordinate where both the lat/long and the projected result are known (for example by reading off a map). Then press the calculate button to see if the projection definition you are creating is accurate.</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -224,7 +229,7 @@ p, li { white-space: pre-wrap; }
<item row="3" column="2" >
<widget class="QLabel" name="textLabel2_3" >
<property name="text" >
<string>Projected Corrdinate System</string>
<string>Projected Coordinate System</string>
</property>
</widget>
</item>
Expand Down
3 changes: 0 additions & 3 deletions src/ui/qgslayerprojectionselectorbase.ui
Expand Up @@ -56,9 +56,6 @@
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-size:12pt; font-weight:600;">Define this layer's projection:&lt;/span>&lt;/p>&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This layer appears to have no projection specification. By default, this layer will now have its projection set to that of the project, but you may override this by selecting a different projection below.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="2" column="0" >
Expand Down
8 changes: 4 additions & 4 deletions src/ui/qgsnewconnectionbase.ui
Expand Up @@ -61,10 +61,10 @@
<item row="3" column="1" >
<widget class="QCheckBox" name="cb_publicSchemaOnly" >
<property name="toolTip" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:12pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Restrict the search to the public schema for spatial tables not in the geometry_columns table&lt;/p>&lt;/body>&lt;/html></string>
<string>Restrict the search to the public schema for spatial tables not in the geometry_columns table</string>
</property>
<property name="whatsThis" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:12pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">When searching for spatial tables that are not in the geometry_columns tables, restrict the search to tables that are in the public schema (for some databases this can save lots of time)&lt;/p>&lt;/body>&lt;/html></string>
<string>When searching for spatial tables that are not in the geometry_columns tables, restrict the search to tables that are in the public schema (for some databases this can save lots of time)</string>
</property>
<property name="text" >
<string>Only look in the 'public' schema</string>
Expand All @@ -84,10 +84,10 @@
<item row="2" column="1" >
<widget class="QCheckBox" name="cb_geometryColumnsOnly" >
<property name="toolTip" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;">Restrict the displayed tables to those that are in the geometry_columns table&lt;/p>&lt;/body>&lt;/html></string>
<string>Restrict the displayed tables to those that are in the geometry_columns table</string>
</property>
<property name="whatsThis" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;">Restricts the displayed tables to those that are in the geometry_columns table. This can speed up the initial display of spatial tables.&lt;/p>&lt;/body>&lt;/html></string>
<string>Restricts the displayed tables to those that are in the geometry_columns table. This can speed up the initial display of spatial tables.</string>
</property>
<property name="text" >
<string>Only look in the geometry_columns table</string>
Expand Down
11 changes: 2 additions & 9 deletions src/ui/qgspythondialog.ui
Expand Up @@ -30,11 +30,7 @@
</sizepolicy>
</property>
<property name="text" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'DejaVu Sans Condensed'; font-size:10pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">To access Quantum GIS environment from this python console use object &lt;span style=" font-weight:600;">iface&lt;/span> from global scope which is an instance of QgisInterface class.&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Usage e.g.: iface.zoomFull()&lt;/p>&lt;/body>&lt;/html></string>
<string>To access Quantum GIS environment from this python console use object &lt;span style=" font-weight:600;">iface&lt;/span> from global scope which is an instance of QgisInterface class.<br>Usage e.g.: iface.zoomFull()</string>
</property>
<property name="wordWrap" >
<bool>true</bool>
Expand All @@ -44,10 +40,7 @@ p, li { white-space: pre-wrap; }
<item>
<widget class="QTextBrowser" name="txtHistory" >
<property name="html" >
<string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'DejaVu Sans Condensed'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;">&lt;/p>&lt;/body>&lt;/html></string>
<string></string>
</property>
</widget>
</item>
Expand Down

0 comments on commit d24df2b

Please sign in to comment.