mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Translation fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7985 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
f5afee3c6b
commit
0302dfc1cd
@ -56,12 +56,19 @@ QgsDelimitedTextPluginGui::QgsDelimitedTextPluginGui(QgisInterface * _qI, QWidge
|
|||||||
delimiterRegexp->setChecked(true);
|
delimiterRegexp->setChecked(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
teInstructions->setHtml(tr("<h2>Description</h2>"
|
QString format = QString("<h2>%1</h2><p>%2</p><p>%3</p>");
|
||||||
"<p>Select a delimited text file containing a header row and one or more rows of x and y coordinates that you would like to use as a point layer and this plugin will do the job for you!</p>"
|
QString header = tr("Description");
|
||||||
"<p>Use the layer name box to specify the legend name for the new layer. Use the delimiter box to specify what delimeter is used in your file (e.g. space, comma, tab or a regular expression in Perl style). After choosing a delimiter, press the parse button and select the columns containing the x and y values for the layer.</p>"));
|
QString paragraph1 = tr("Select a delimited text file containing a header row"
|
||||||
// Force a slightly smaller height for the text sample display. Trying to
|
" and one or more rows of x and y coordinates that you"
|
||||||
// this in the .ui file never seems to achieve what it required, hence it's
|
" would like to use as a point layer and this plugin will do the job for you!");
|
||||||
// done here.
|
QString paragraph2 = tr("Use the layer name box to specify the legend name for the new layer."
|
||||||
|
" Use the delimiter box to specify what delimeter is used in your file (e.g. space,"
|
||||||
|
" comma, tab or a regular expression in Perl style). After choosing a delimiter,"
|
||||||
|
" press the parse button and select the columns containing the x and y values for the layer.");
|
||||||
|
teInstructions->setHtml(format.arg(header)
|
||||||
|
.arg(paragraph1)
|
||||||
|
.arg(paragraph2));
|
||||||
|
|
||||||
txtSample->setFixedHeight(120);
|
txtSample->setFixedHeight(120);
|
||||||
}
|
}
|
||||||
QgsDelimitedTextPluginGui::~QgsDelimitedTextPluginGui()
|
QgsDelimitedTextPluginGui::~QgsDelimitedTextPluginGui()
|
||||||
|
@ -49,10 +49,7 @@
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="html" >
|
<property name="html" >
|
||||||
<string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<string></string>
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
|
|
||||||
<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;"></p></body></html></string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -405,8 +405,8 @@ void QgsGPSPluginGui::populateIMPBabelFormats() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void QgsGPSPluginGui::populateCONVDialog() {
|
void QgsGPSPluginGui::populateCONVDialog() {
|
||||||
cmbCONVType->insertItem(tr("Route -> Waypoint"));
|
cmbCONVType->insertItem(tr("Routes") + " -> " + tr("Waypoints"));
|
||||||
cmbCONVType->insertItem(tr("Waypoint -> Route"));
|
cmbCONVType->insertItem(tr("Waypoints") + " -> " + tr("Routes"));
|
||||||
|
|
||||||
QString format = QString("<html><body><p>%1 %2<p>%3</body></html>");
|
QString format = QString("<html><body><p>%1 %2<p>%3</body></html>");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user