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

Translations

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6749 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 232994b7
include (plugin)
openflipper_plugin ()
openflipper_plugin ( TRANSLATION_LANGUAGES de_DE )
......@@ -34,7 +34,7 @@
/*===========================================================================*\
* *
* $Revision$ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
......
......@@ -34,7 +34,7 @@
/*===========================================================================*\
* *
* $Revision$ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
......
......@@ -34,7 +34,7 @@
/*===========================================================================*\
* *
* $Revision$ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
......@@ -96,9 +96,9 @@ bool DecimaterPlugin::initializeToolbox(QWidget*& _widget)
*/
void DecimaterPlugin::pluginsInitialized() {
emit setSlotDescription("decimate(int,Object)","Decimate a given object",
QString("objectId,constraints").split(","),
QString("ID of an object; Object that can has one or more constraint properties (distance,normal_deviation,roundness,vertices)").split(";"));
emit setSlotDescription("decimate(int,Object)",tr("Decimate a given object"),
QString(tr("objectId,constraints")).split(","),
QString(tr("ID of an object; Object that can has one or more constraint properties (distance,normal_deviation,roundness,vertices)")).split(";"));
}
......@@ -140,7 +140,7 @@ void DecimaterPlugin::slot_decimate()
TriMeshObject* object = PluginFunctions::triMeshObject(*o_it);
if ( object == 0 )
emit log(LOGWARN , "Unable to get object");
emit log(LOGWARN , tr("Unable to get object"));
DecimaterInfo* decimater = dynamic_cast< DecimaterInfo* > ( o_it->objectData(DECIMATER) );
......@@ -165,7 +165,7 @@ void DecimaterPlugin::slot_decimate()
//init the decimater
if( ! decimater->decimater()->initialize() ){
emit log(LOGWARN, "Decimater could not be initialized");
emit log(LOGWARN, tr("Decimater could not be initialized"));
continue;
}
......@@ -198,7 +198,7 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints){
BaseObjectData* baseObjectData;
if ( ! PluginFunctions::getObject(_objID,baseObjectData) ) {
emit log(LOGERR,"Unable to get Object");
emit log(LOGERR,tr("Unable to get Object"));
return;
}
......@@ -206,7 +206,7 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints){
TriMeshObject* object = PluginFunctions::triMeshObject(baseObjectData);
if ( object == 0 ) {
emit log(LOGWARN , "Unable to get object ( Only Triangle Meshes supported)");
emit log(LOGWARN , tr("Unable to get object ( Only Triangle Meshes supported)"));
return;
}
......@@ -272,7 +272,7 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints){
//init the decimater
if( ! decimater->decimater()->initialize() ){
emit log(LOGWARN, "Decimater could not be initialized");
emit log(LOGWARN, tr("Decimater could not be initialized"));
return;
}
......@@ -287,7 +287,7 @@ void DecimaterPlugin::decimate(int _objID, QVariantMap _constraints){
object->update();
} else {
emit log(LOGERR,"Unsupported object type for decimater");
emit log(LOGERR,tr("Unsupported object type for decimater"));
return;
}
......
......@@ -34,7 +34,7 @@
/*===========================================================================*\
* *
* $Revision$ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
......@@ -114,7 +114,7 @@ public :
QString name(){ return (QString("Decimater")); };
/// Description of the Plugin
QString description() { return (QString("Mesh Decimation ...")); };
QString description() { return (QString(tr("Mesh Decimation ..."))); };
private :
......
......@@ -34,7 +34,7 @@
/*===========================================================================*\
* *
* $Revision$ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
......
......@@ -34,7 +34,7 @@
/*===========================================================================*\
* *
* $Revision$ *
* $Revision$ *
* $Author$ *
* $Date$ *
* *
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>DecimaterPlugin</name>
<message>
<location filename="../DecimaterPlugin.cc" line="99"/>
<source>Decimate a given object</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="100"/>
<source>objectId,constraints</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="101"/>
<source>ID of an object; Object that can has one or more constraint properties (distance,normal_deviation,roundness,vertices)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="143"/>
<source>Unable to get object</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="168"/>
<location filename="../DecimaterPlugin.cc" line="275"/>
<source>Decimater could not be initialized</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="201"/>
<source>Unable to get Object</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="209"/>
<source>Unable to get object ( Only Triangle Meshes supported)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.cc" line="290"/>
<source>Unsupported object type for decimater</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../DecimaterPlugin.hh" line="117"/>
<source>Mesh Decimation ...</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DecimaterToolbar</name>
<message>
<location filename="../decimaterToolbar.ui" line="14"/>
<source>Form</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="20"/>
<source>Constraints</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="28"/>
<source>Distance</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="51"/>
<location filename="../decimaterToolbar.ui" line="54"/>
<location filename="../decimaterToolbar.ui" line="72"/>
<source>Restrict Normal Deviation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="57"/>
<source>Normal Dev.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="64"/>
<source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Maximal normal deviation between &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;original normal and normals after &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;decimation step defined in degrees.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="91"/>
<source>&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Maximal normal deviation between &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;original normal and normals after &lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;decimation step defined in degrees.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<comment>Maximal normal deviation between original normal and normals after decimation step defined in degrees.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="99"/>
<source>Restrict Normal deviation</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="115"/>
<source>Roundness</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="163"/>
<source>#Vertices</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="200"/>
<source>Current number of vertices:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="213"/>
<source>&lt;not available&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../decimaterToolbar.ui" line="225"/>
<source>Decimate</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>
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