diff options
author | Jan Darmochwal | 2010-10-06 01:35:05 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-10-06 01:35:05 +0200 |
commit | bf7453843683494b81dd70232a2093577db34289 (patch) | |
tree | fed26399810a9fa58b974c3d71a72e0c19cab74d /src/dialog.cpp | |
parent | highlight previous session (diff) | |
download | vmchooser-bf7453843683494b81dd70232a2093577db34289.tar.gz vmchooser-bf7453843683494b81dd70232a2093577db34289.tar.xz vmchooser-bf7453843683494b81dd70232a2093577db34289.zip |
i18n support and German translation
Translation can be done with .ts-files in src/i18n/de.ts. The resulting .qm-files are stored as resources in the program binary.
build.sh has a new option --update-translations that causes the .ts files to be updated
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r-- | src/dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp index 6a931ca..7ebfbcc 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -16,7 +16,7 @@ Dialog::Dialog(QWidget *parent) : if (ifaceDBus_->isValid()) { // PVS is running QStringList accessOptions; - accessOptions << "None" << "View Only" << "Full"; + accessOptions << tr("None") << tr("View Only") << tr("Full"); ui->comboBoxLecturer->insertItems(0, accessOptions); ui->comboBoxOthers->insertItems(0, accessOptions); |