Commit 3407c35a authored by Dirk Wilden's avatar Dirk Wilden

translations

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6779 383ad7c9-94d9-4d36-a494-682f7c89f535
parent df23b72b
include (plugin)
openflipper_plugin ()
openflipper_plugin ( TRANSLATION_LANGUAGES de_DE )
......@@ -75,7 +75,7 @@ void ScriptingPlugin::pluginsInitialized() {
emit getMenubarMenu(tr("&Scripting"), scriptingMenu, true );
QIcon icon;
QAction* showWidget = scriptingMenu->addAction( "Show script editor" );
QAction* showWidget = scriptingMenu->addAction( tr("Show script editor") );
icon.addFile(OpenFlipper::Options::iconDirStr()+OpenFlipper::Options::dirSeparator()+"scriptEditor.png");
showWidget->setIcon(icon);
connect( showWidget, SIGNAL( triggered() ) ,
......@@ -226,7 +226,7 @@ void ScriptingPlugin::slotExecuteScript( QString _script ) {
if ( engine->hasUncaughtException() ) {
QScriptValue result = engine->uncaughtException();
QString exception = result.toString();
emit log( LOGERR , "Script execution failed with : " + exception );
emit log( LOGERR , tr("Script execution failed with : ") + exception );
}
/// Switch scripting mode off
......@@ -252,7 +252,7 @@ void ScriptingPlugin::slotExecuteFileScript( QString _filename ) {
slotExecuteScript(script);
} else
emit log(LOGERR,"Unable to open script file!");
emit log(LOGERR,tr("Unable to open script file!"));
}
void ScriptingPlugin::slotExecuteScriptButton() {
......@@ -324,11 +324,11 @@ void ScriptingPlugin::waitContinue( ) {
QMessageBox box;
box.addButton("Continue",QMessageBox::AcceptRole);
box.setText("Script execution has been interrupted");
box.addButton(tr("Continue"),QMessageBox::AcceptRole);
box.setText(tr("Script execution has been interrupted"));
box.setIcon(QMessageBox::Information);
box.setWindowModality(Qt::NonModal);
box.setWindowTitle("Continue?");
box.setWindowTitle(tr("Continue?"));
box.setWindowFlags( box.windowFlags() | Qt::WindowStaysOnTopHint);
box.show();
......@@ -344,11 +344,11 @@ void ScriptingPlugin::waitContinue( QString _msg, int _x, int _y ) {
QMessageBox box;
box.addButton("Continue",QMessageBox::AcceptRole);
box.addButton(tr("Continue"),QMessageBox::AcceptRole);
box.setText(_msg);
box.setIcon(QMessageBox::Information);
box.setWindowModality(Qt::NonModal);
box.setWindowTitle("Continue?");
box.setWindowTitle(tr("Continue?"));
box.setWindowFlags( box.windowFlags() | Qt::WindowStaysOnTopHint);
if(_x!=-1 && _y!=-1)
box.move(_x,_y);
......
......@@ -97,8 +97,8 @@ public :
ScriptingPlugin();
QString name() { return (QString("Scripting")); };
QString description( ) { return (QString("Provides Scripting for OpenFlipper")); };
QString name() { return (QString(tr("Scripting"))); };
QString description( ) { return (QString(tr("Provides Scripting for OpenFlipper"))); };
private slots :
void slotExecuteScriptButton();
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0">
<context>
<name>ScriptWidget</name>
<message>
<location filename="../scriptingWidget.ui" line="14"/>
<source>Script Editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="25"/>
<source>Current Script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="38"/>
<source>Execute</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="53"/>
<source>Live View</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="70"/>
<source>Function List</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="76"/>
<location filename="../scriptingWidget.ui" line="85"/>
<source>Filter</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="92"/>
<source>Reset</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="112"/>
<source> Description </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="134"/>
<source>File</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="148"/>
<source>Scan Directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="153"/>
<source>Check Database</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="158"/>
<source>Open</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="166"/>
<source>Save</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="171"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../scriptingWidget.ui" line="176"/>
<source>Save As</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ScriptingPlugin</name>
<message>
<location filename="../ScriptingPlugin.cc" line="75"/>
<source>&amp;Scripting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="78"/>
<source>Show script editor</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="229"/>
<source>Script execution failed with : </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="255"/>
<source>Unable to open script file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="327"/>
<location filename="../ScriptingPlugin.cc" line="347"/>
<source>Continue</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="328"/>
<source>Script execution has been interrupted</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="331"/>
<location filename="../ScriptingPlugin.cc" line="351"/>
<source>Continue?</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="365"/>
<source>Load Script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="365"/>
<location filename="../ScriptingPlugin.cc" line="404"/>
<source>Script Files (*.ofs)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.cc" line="404"/>
<source>Save Script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.hh" line="100"/>
<source>Scripting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../ScriptingPlugin.hh" line="101"/>
<source>Provides Scripting for OpenFlipper</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