Commit c47ce8fc authored by Jan Möbius's avatar Jan Möbius

Translation


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7269 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6fbe98ca
......@@ -21,11 +21,11 @@ void FilePlanePlugin::initializePlugin() {
}
QString FilePlanePlugin::getLoadFilters() {
return QString( "Plane files ( *.pla )" );
return QString( tr("Plane files ( *.pla )") );
};
QString FilePlanePlugin::getSaveFilters() {
return QString( "Plane files ( *.pla )" );
return QString( tr("Plane files ( *.pla )") );
};
DataType FilePlanePlugin::supportedType() {
......@@ -153,7 +153,7 @@ QString FilePlanePlugin::get_unique_name(PlaneObject* _object)
{
name_unique = true;
QString cur_name = QString("Plane " + QString::number( cur_idx ) + ".pla");
QString cur_name = QString(tr("Plane %1.pla").arg( cur_idx ));
PluginFunctions::ObjectIterator o_it(PluginFunctions::ALL_OBJECTS, DATA_PLANE );
for(; o_it != PluginFunctions::objectsEnd(); ++o_it)
......@@ -167,7 +167,7 @@ QString FilePlanePlugin::get_unique_name(PlaneObject* _object)
}
}
return QString("Plane " + QString::number( cur_idx ) + ".pla");
return QString(tr("Plane %1.pla").arg( cur_idx ));
}
Q_EXPORT_PLUGIN2( fileplaneplugin , FilePlanePlugin );
......
......@@ -45,7 +45,7 @@ class FilePlanePlugin : public QObject, BaseInterface, FileInterface, LoadSaveIn
~FilePlanePlugin() {};
QString name() { return (QString("FilePlane")); };
QString description( ) { return (QString("Load/Save Planes")); };
QString description( ) { return (QString(tr("Load/Save Planes"))); };
int addEmpty( );
......
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