Add a few translator comments for frontend strings
authorWuzzy <Wuzzy2@mail.ru>
Tue, 21 Aug 2018 18:31:00 +0200
changeset 13681 05fde8e30041
parent 13680 d3a4cbba060e
child 13682 5f904c292699
Add a few translator comments for frontend strings
QTfrontend/model/netserverslist.cpp
QTfrontend/ui/page/pageadmin.cpp
QTfrontend/ui/page/pageoptions.cpp
QTfrontend/ui/widget/mapContainer.cpp
QTfrontend/ui/widget/seedprompt.cpp
--- a/QTfrontend/model/netserverslist.cpp	Tue Aug 21 17:56:17 2018 +0200
+++ b/QTfrontend/model/netserverslist.cpp	Tue Aug 21 18:31:00 2018 +0200
@@ -45,8 +45,10 @@
             case 0:
                 return tr("Title");
             case 1:
+                //: short for "IP address" (Internet Protocol), part of server address
                 return tr("IP");
             case 2:
+                //: short for "port number", part of server address
                 return tr("Port");
             default:
                 return QVariant();
--- a/QTfrontend/ui/page/pageadmin.cpp	Tue Aug 21 17:56:17 2018 +0200
+++ b/QTfrontend/ui/page/pageadmin.cpp	Tue Aug 21 18:31:00 2018 +0200
@@ -73,6 +73,7 @@
 
         // 4
         QLabel * lblPreview = new QLabel(this);
+        //: MOTD = Message Of The Day, the message which is shown to players joining the server
         lblPreview->setText(tr("MOTD preview:"));
         tab1Layout->addWidget(lblPreview, 4, 0);
 
@@ -94,6 +95,7 @@
         twBans = new QTableWidget(this);
         twBans->setColumnCount(3);
         twBans->setHorizontalHeaderLabels(QStringList()
+                              //: IP = short for "IP address" (Internet Protocol). Nick = short for "nick name"
                               << tr("IP/Nick")
                               << tr("Expiration")
                               << tr("Reason")
--- a/QTfrontend/ui/page/pageoptions.cpp	Tue Aug 21 17:56:17 2018 +0200
+++ b/QTfrontend/ui/page/pageoptions.cpp	Tue Aug 21 18:31:00 2018 +0200
@@ -512,6 +512,7 @@
             // Dampen
 
             CBDampenAudio = new QCheckBox(groupGame);
+            //: Checkbox text. If checked, the in-game audio volume is reduced (=dampened) when the game window loses its focus
             CBDampenAudio->setText(QCheckBox::tr("Dampen when losing focus"));
             CBDampenAudio->setWhatsThis(QCheckBox::tr("Reduce the game audio volume if the game window has lost its focus"));
             groupGame->layout()->addWidget(CBDampenAudio, 2, 1, 1, 3, Qt::AlignLeft);
--- a/QTfrontend/ui/widget/mapContainer.cpp	Tue Aug 21 17:56:17 2018 +0200
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Tue Aug 21 18:31:00 2018 +0200
@@ -154,6 +154,7 @@
     /* Seed button */
 
     btnSeed = new QPushButton(parentWidget()->parentWidget());
+    //: Refers to the "random seed"; the source of randomness in the game
     btnSeed->setText(tr("Seed"));
     btnSeed->setWhatsThis(tr("View and edit the seed, the source of randomness in the game"));
     btnSeed->setStyleSheet("padding: 5px;");
--- a/QTfrontend/ui/widget/seedprompt.cpp	Tue Aug 21 17:56:17 2018 +0200
+++ b/QTfrontend/ui/widget/seedprompt.cpp	Tue Aug 21 18:31:00 2018 +0200
@@ -31,6 +31,7 @@
     setModal(true);
     setWindowFlags(Qt::Sheet);
     setWindowModality(Qt::WindowModal);
+    //: Refers to the "random seed"; the source of randomness in the game
     setWindowTitle(tr("Seed"));
     setMinimumSize(360, 160);
     resize(360, 160);