Commit 9298fbff authored by Bernhard Beschow's avatar Bernhard Beschow

translate user visible string

parent 57adaf8c
......@@ -146,7 +146,7 @@ void FileViewWidgetPrivate::saveFile()
= index.model()->data( index, MarblePlacemarkModel::ObjectPointerRole ).value<GeoDataObject*>();
GeoDataDocument *document = dynamic_cast<GeoDataDocument*>(object);
if ( document && !document->fileName().isEmpty() ) {
const QString saveFileName = QFileDialog::getSaveFileName(q, "Select filename for KML document");
const QString saveFileName = QFileDialog::getSaveFileName(q, QObject::tr("Select filename for KML document"));
GeoDataDocumentWriter::write(saveFileName, *document, kml::kmlTag_nameSpaceOgc22);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment