Mercurial > hg > octave-lyh
changeset 16859:54c370a00a4a
* settings-dialog.cc(constructor): enable translation of the cursor types
author | Torsten <ttl@justmail.de> |
---|---|
date | Thu, 27 Jun 2013 21:18:00 +0200 |
parents | cd29604214c5 |
children | 7b53de2c7412 |
files | libgui/src/settings-dialog.cc |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/settings-dialog.cc +++ b/libgui/src/settings-dialog.cc @@ -136,9 +136,9 @@ QStringList items; items << QString("0") << QString("1") << QString("2"); ui->terminal_cursorType->addItems(items); - ui->terminal_cursorType->setItemText (0, "IBeam Cursor"); - ui->terminal_cursorType->setItemText (1, "Block Cursor"); - ui->terminal_cursorType->setItemText (2, "Underline Cursor"); + ui->terminal_cursorType->setItemText (0, tr ("IBeam Cursor")); + ui->terminal_cursorType->setItemText (1, tr ("Block Cursor")); + ui->terminal_cursorType->setItemText (2, tr ("Underline Cursor")); if (cursorType == "ibeam") ui->terminal_cursorType->setCurrentIndex (0);