Skip to content

Commit

Permalink
translate a few more strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hkiel committed Jan 23, 2017
1 parent c431370 commit 062523e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
17 changes: 14 additions & 3 deletions OMNotebook/OMNotebookGUI/Resources/nls/OMNotebook_de_DE.ts
Expand Up @@ -437,6 +437,9 @@
<message>
<location filename="../../notebook.cpp" line="965"/>
<location filename="../../notebook.cpp" line="1176"/>
<location filename="../../notebook.cpp" line="1317"/>
<location filename="../../notebook.cpp" line="1352"/>
<location filename="../../notebook.cpp" line="1387"/>
<source>&amp;Other...</source>
<translation>&amp;andere...</translation>
</message>
Expand Down Expand Up @@ -734,17 +737,17 @@
<message>
<location filename="../../notebook.cpp" line="1178"/>
<source>Select font color</source>
<translation type="unfinished"></translation>
<translation>Schriftfarbe auswählen</translation>
</message>
<message>
<location filename="../../notebook.cpp" line="1209"/>
<source>C&amp;hoose Font...</source>
<translation type="unfinished"></translation>
<translation>Schrift&amp;art auswählen...</translation>
</message>
<message>
<location filename="../../notebook.cpp" line="1211"/>
<source>Select font</source>
<translation type="unfinished"></translation>
<translation>Schriftart auswählen</translation>
</message>
<message>
<location filename="../../notebook.cpp" line="1221"/>
Expand Down Expand Up @@ -987,6 +990,14 @@
<translation>Zellen können nicht in eine andere Ebene verschoben werden.</translation>
</message>
</context>
<context>
<name>IAEX::OtherDlg</name>
<message>
<location filename="../../otherdlg.h" line="69"/>
<source>Enter value (</source>
<translation>Wert eingeben (</translation>
</message>
</context>
<context>
<name>ImageDialog</name>
<message>
Expand Down
6 changes: 3 additions & 3 deletions OMNotebook/OMNotebookGUI/notebook.cpp
Expand Up @@ -1314,7 +1314,7 @@ void NotebookWindow::createFormatMenu()


borderMenu->addSeparator();
borderOther = new QAction( "&Other...", this );
borderOther = new QAction( tr("&Other..."), this );
borderOther->setWhatsThis("Other");
borderOther->setCheckable( true );
borderMenu->addAction( borderOther );
Expand Down Expand Up @@ -1349,7 +1349,7 @@ void NotebookWindow::createFormatMenu()


marginMenu->addSeparator();
marginOther = new QAction( "&Other...", this );
marginOther = new QAction( tr("&Other..."), this );
marginOther->setWhatsThis("Other");
marginOther->setCheckable( true );
marginMenu->addAction( marginOther );
Expand Down Expand Up @@ -1384,7 +1384,7 @@ void NotebookWindow::createFormatMenu()


paddingMenu->addSeparator();
paddingOther = new QAction( "&Other...", this );
paddingOther = new QAction( tr("&Other..."), this );
paddingOther->setWhatsThis("Other");
paddingOther->setCheckable( true );
paddingMenu->addAction( paddingOther );
Expand Down
4 changes: 2 additions & 2 deletions OMNotebook/OMNotebookGUI/otherdlg.h
Expand Up @@ -51,7 +51,7 @@ namespace IAEX
* \author Anders Fernström
* \date 2005-11-04
*
* \brief Class of opening a dialog window for entering av value...
* \brief Class of opening a dialog window for entering a value...
*/
class OtherDlg : public QDialog
{
Expand All @@ -66,7 +66,7 @@ namespace IAEX
minW.setNum( min_ );
maxW.setNum( max_ );

QString text = QString("Enter value (") + minW +
QString text = tr("Enter value (") + minW +
QString("-") + maxW + QString(")");

ui.label->setText( text );
Expand Down

0 comments on commit 062523e

Please sign in to comment.