Browse Source

Removed non-translatable strings

Ivan Savenko 2 years ago
parent
commit
48c53d61f0
4 changed files with 86 additions and 59 deletions
  1. 43 28
      mapeditor/mainwindow.ui
  2. 2 2
      mapeditor/playerparams.ui
  3. 12 9
      mapeditor/playersettings.ui
  4. 29 20
      mapeditor/windownewmap.ui

+ 43 - 28
mapeditor/mainwindow.ui

@@ -111,7 +111,7 @@
   </widget>
   <widget class="QToolBar" name="toolBar">
    <property name="windowTitle">
-    <string>toolBar</string>
+    <string notr="true"/>
    </property>
    <attribute name="toolBarArea">
     <enum>TopToolBarArea</enum>
@@ -384,7 +384,7 @@
             <bool>false</bool>
            </attribute>
            <attribute name="verticalHeaderDefaultSectionSize">
-            <number>20</number>
+            <number>21</number>
            </attribute>
            <column>
             <property name="text">
@@ -660,7 +660,7 @@
            </size>
           </property>
           <property name="text">
-           <string>O</string>
+           <string notr="true">O</string>
           </property>
           <property name="checkable">
            <bool>true</bool>
@@ -734,7 +734,7 @@
           <x>0</x>
           <y>0</y>
           <width>128</width>
-          <height>251</height>
+          <height>257</height>
          </rect>
         </property>
         <property name="sizePolicy">
@@ -777,7 +777,7 @@
           <x>0</x>
           <y>0</y>
           <width>128</width>
-          <height>251</height>
+          <height>257</height>
          </rect>
         </property>
         <property name="sizePolicy">
@@ -813,7 +813,7 @@
           <x>0</x>
           <y>0</y>
           <width>128</width>
-          <height>251</height>
+          <height>257</height>
          </rect>
         </property>
         <property name="sizePolicy">
@@ -873,7 +873,7 @@
     <string>Open</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+O</string>
+    <string notr="true">Ctrl+O</string>
    </property>
   </action>
   <action name="actionSave">
@@ -885,7 +885,7 @@
     <string>Save</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+S</string>
+    <string notr="true">Ctrl+S</string>
    </property>
   </action>
   <action name="actionNew">
@@ -897,7 +897,7 @@
     <string>New</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+N</string>
+    <string notr="true">Ctrl+N</string>
    </property>
   </action>
   <action name="actionSave_as">
@@ -920,7 +920,7 @@
     <string>View underground</string>
    </property>
    <property name="shortcut">
-    <string>U</string>
+    <string notr="true">U</string>
    </property>
   </action>
   <action name="actionPass">
@@ -935,7 +935,7 @@
     <string>Pass</string>
    </property>
    <property name="shortcut">
-    <string>P</string>
+    <string notr="true">P</string>
    </property>
   </action>
   <action name="actionCut">
@@ -947,7 +947,7 @@
     <string>Cut</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+X</string>
+    <string notr="true">Ctrl+X</string>
    </property>
   </action>
   <action name="actionCopy">
@@ -959,7 +959,7 @@
     <string>Copy</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+C</string>
+    <string notr="true">Ctrl+C</string>
    </property>
   </action>
   <action name="actionPaste">
@@ -971,7 +971,7 @@
     <string>Paste</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+V</string>
+    <string notr="true">Ctrl+V</string>
    </property>
   </action>
   <action name="actionFill">
@@ -986,7 +986,7 @@
     <string>Fills the selection with obstacles</string>
    </property>
    <property name="shortcut">
-    <string>F</string>
+    <string notr="true">F</string>
    </property>
   </action>
   <action name="actionGrid">
@@ -1001,7 +1001,7 @@
     <string>Grid</string>
    </property>
    <property name="shortcut">
-    <string>G</string>
+    <string notr="true">G</string>
    </property>
   </action>
   <action name="actionMapSettings">
@@ -1014,6 +1014,9 @@
    <property name="toolTip">
     <string>Map title and description</string>
    </property>
+   <property name="shortcut">
+    <string notr="true"/>
+   </property>
   </action>
   <action name="actionPlayers_settings">
    <property name="enabled">
@@ -1022,6 +1025,9 @@
    <property name="text">
     <string>Players settings</string>
    </property>
+   <property name="shortcut">
+    <string notr="true"/>
+   </property>
   </action>
   <action name="actionUndo">
    <property name="enabled">
@@ -1038,7 +1044,7 @@
     <string>Undo</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+Z</string>
+    <string notr="true">Ctrl+Z</string>
    </property>
    <property name="shortcutVisibleInContextMenu">
     <bool>true</bool>
@@ -1056,7 +1062,7 @@
     <string>Redo</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+Y</string>
+    <string notr="true">Ctrl+Y</string>
    </property>
    <property name="shortcutVisibleInContextMenu">
     <bool>true</bool>
@@ -1074,7 +1080,7 @@
     <string>Erase</string>
    </property>
    <property name="shortcut">
-    <string>Backspace, Del</string>
+    <string notr="true">Backspace, Del</string>
    </property>
   </action>
   <action name="actionNeutral">
@@ -1085,13 +1091,16 @@
     <string>Neutral</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+0</string>
+    <string notr="true">Ctrl+0</string>
    </property>
   </action>
   <action name="actionValidate">
    <property name="text">
     <string>Validate</string>
    </property>
+   <property name="shortcut">
+    <string notr="true"/>
+   </property>
   </action>
   <action name="actionUpdate_appearance">
    <property name="enabled">
@@ -1100,6 +1109,9 @@
    <property name="text">
     <string>Update appearance</string>
    </property>
+   <property name="shortcut">
+    <string notr="true"/>
+   </property>
   </action>
   <action name="actionRecreate_obstacles">
    <property name="enabled">
@@ -1108,6 +1120,9 @@
    <property name="text">
     <string>Recreate obstacles</string>
    </property>
+   <property name="shortcut">
+    <string notr="true"/>
+   </property>
   </action>
   <action name="actionPlayer_1">
    <property name="checkable">
@@ -1117,7 +1132,7 @@
     <string>Player 1</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+1</string>
+    <string notr="true">Ctrl+1</string>
    </property>
   </action>
   <action name="actionPlayer_2">
@@ -1128,7 +1143,7 @@
     <string>Player 2</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+2</string>
+    <string notr="true">Ctrl+2</string>
    </property>
   </action>
   <action name="actionPlayer_3">
@@ -1139,7 +1154,7 @@
     <string>Player 3</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+3</string>
+    <string notr="true">Ctrl+3</string>
    </property>
   </action>
   <action name="actionPlayer_4">
@@ -1150,7 +1165,7 @@
     <string>Player 4</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+4</string>
+    <string notr="true">Ctrl+4</string>
    </property>
   </action>
   <action name="actionPlayer_5">
@@ -1161,7 +1176,7 @@
     <string>Player 5</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+5</string>
+    <string notr="true">Ctrl+5</string>
    </property>
   </action>
   <action name="actionPlayer_6">
@@ -1172,7 +1187,7 @@
     <string>Player 6</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+6</string>
+    <string notr="true">Ctrl+6</string>
    </property>
   </action>
   <action name="actionPlayer_7">
@@ -1183,7 +1198,7 @@
     <string>Player 7</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+7</string>
+    <string notr="true">Ctrl+7</string>
    </property>
   </action>
   <action name="actionPlayer_8">
@@ -1194,7 +1209,7 @@
     <string>Player 8</string>
    </property>
    <property name="shortcut">
-    <string>Ctrl+8</string>
+    <string notr="true">Ctrl+8</string>
    </property>
   </action>
  </widget>

+ 2 - 2
mapeditor/playerparams.ui

@@ -23,7 +23,7 @@
    </size>
   </property>
   <property name="windowTitle">
-   <string>Form</string>
+   <string/>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
    <property name="leftMargin">
@@ -47,7 +47,7 @@
       </size>
      </property>
      <property name="title">
-      <string>GroupBox</string>
+      <string/>
      </property>
      <layout class="QGridLayout" name="gridLayout">
       <item row="3" column="0">

+ 12 - 9
mapeditor/playersettings.ui

@@ -33,8 +33,8 @@
        <rect>
         <x>0</x>
         <y>0</y>
-        <width>628</width>
-        <height>187</height>
+        <width>634</width>
+        <height>201</height>
        </rect>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout_2">
@@ -66,39 +66,42 @@
    </item>
    <item row="0" column="1">
     <widget class="QComboBox" name="playersCount">
+     <property name="currentText">
+      <string notr="true">2</string>
+     </property>
      <item>
       <property name="text">
-       <string>2</string>
+       <string notr="true">2</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>3</string>
+       <string notr="true">3</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>4</string>
+       <string notr="true">4</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>5</string>
+       <string notr="true">5</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>6</string>
+       <string notr="true">6</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>7</string>
+       <string notr="true">7</string>
       </property>
      </item>
      <item>
       <property name="text">
-       <string>8</string>
+       <string notr="true">8</string>
       </property>
      </item>
     </widget>

+ 29 - 20
mapeditor/windownewmap.ui

@@ -69,7 +69,7 @@
         <set>Qt::ImhDigitsOnly</set>
        </property>
        <property name="text">
-        <string>36</string>
+        <string notr="true">36</string>
        </property>
        <property name="maxLength">
         <number>3</number>
@@ -89,7 +89,7 @@
         <set>Qt::ImhDigitsOnly</set>
        </property>
        <property name="text">
-        <string>36</string>
+        <string notr="true">36</string>
        </property>
        <property name="maxLength">
         <number>3</number>
@@ -228,18 +228,24 @@
           <height>16777215</height>
          </size>
         </property>
+        <property name="currentText">
+         <string notr="true">0</string>
+        </property>
         <item>
          <property name="text">
-          <string>0</string>
+          <string notr="true">0</string>
          </property>
         </item>
        </widget>
       </item>
       <item row="1" column="3">
        <widget class="QComboBox" name="cpuTeamsCombo">
+        <property name="currentText">
+         <string notr="true">0</string>
+        </property>
         <item>
          <property name="text">
-          <string>0</string>
+          <string notr="true">0</string>
          </property>
         </item>
        </widget>
@@ -284,42 +290,42 @@
         </item>
         <item>
          <property name="text">
-          <string>1</string>
+          <string notr="true">1</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>2</string>
+          <string notr="true">2</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>3</string>
+          <string notr="true">3</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>4</string>
+          <string notr="true">4</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>5</string>
+          <string notr="true">5</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>6</string>
+          <string notr="true">6</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>7</string>
+          <string notr="true">7</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>8</string>
+          <string notr="true">8</string>
          </property>
         </item>
        </widget>
@@ -353,42 +359,42 @@
         </item>
         <item>
          <property name="text">
-          <string>0</string>
+          <string notr="true">0</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>1</string>
+          <string notr="true">1</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>2</string>
+          <string notr="true">2</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>3</string>
+          <string notr="true">3</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>4</string>
+          <string notr="true">4</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>5</string>
+          <string notr="true">5</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>6</string>
+          <string notr="true">6</string>
          </property>
         </item>
         <item>
          <property name="text">
-          <string>7</string>
+          <string notr="true">7</string>
          </property>
         </item>
        </widget>
@@ -701,6 +707,9 @@
        <property name="enabled">
         <bool>false</bool>
        </property>
+       <property name="currentText">
+        <string notr="true"/>
+       </property>
        <property name="currentIndex">
         <number>-1</number>
        </property>