Add tr () to dialog checkboxes
authorMax Lapan <max.lapan@gmail.com>
Mon, 15 Mar 2010 14:28:42 +0000 (17:28 +0300)
committerMax Lapan <max.lapan@gmail.com>
Mon, 15 Mar 2010 14:28:42 +0000 (17:28 +0300)
settingsDialog.cpp

index 82c2dc2..3e48230 100644 (file)
@@ -118,13 +118,13 @@ void DisplaySettingsDialog::initChecks (QBoxLayout *layout)
 {
     QGridLayout *grid = new QGridLayout;
 
-    _showLight = new QCheckBox ("Light", this);
+    _showLight = new QCheckBox (tr ("Light"), this);
     _showLight->setChecked (settings ()->check (Settings::C_Light));
-    _showRank = new QCheckBox ("Rank", this);
+    _showRank = new QCheckBox (tr ("Rank"), this);
     _showRank->setChecked (settings ()->check (Settings::C_Rank));
-    _showTime = new QCheckBox ("Time", this);
+    _showTime = new QCheckBox (tr ("Time"), this);
     _showTime->setChecked (settings ()->check (Settings::C_Time));
-    _showHint = new QCheckBox ("Hint", this);
+    _showHint = new QCheckBox (tr ("Hint"), this);
     _showHint->setChecked (settings ()->check (Settings::C_Hint));
 
     grid->addWidget (_showLight, 0, 0);