Fix map contrainer widget look in russian locale
authorunc0rr
Fri, 22 Aug 2014 20:18:13 +0400
changeset 10394 0e0c3936412f
parent 10393 c3daae6fd723
child 10395 0d20f6fc038a
Fix map contrainer widget look in russian locale
QTfrontend/ui/widget/mapContainer.cpp
share/hedgewars/Data/Locale/hedgewars_ru.ts
--- a/QTfrontend/ui/widget/mapContainer.cpp	Fri Aug 22 19:43:26 2014 +0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Fri Aug 22 20:18:13 2014 +0400
@@ -159,12 +159,12 @@
 
     /* Map list label */
 
-    lblMapList = new QLabel();
+    lblMapList = new QLabel(this);
     rightLayout->addWidget(lblMapList, 0);
 
     /* Static maps list */
 
-    staticMapList = new QListView;
+    staticMapList = new QListView(this);
     rightLayout->addWidget(staticMapList, 1);
     m_childWidgets << staticMapList;
 
@@ -196,7 +196,7 @@
 
     /* Generator style list */
 
-    generationStyles = new QListWidget();
+    generationStyles = new QListWidget(this);
     new QListWidgetItem(tr("All"), generationStyles);
     new QListWidgetItem(tr("Small"), generationStyles);
     new QListWidgetItem(tr("Medium"), generationStyles);
@@ -209,7 +209,7 @@
 
     /* Maze style list */
 
-    mazeStyles = new QListWidget();
+    mazeStyles = new QListWidget(this);
     new QListWidgetItem(tr("Small tunnels"), mazeStyles);
     new QListWidgetItem(tr("Medium tunnels"), mazeStyles);
     new QListWidgetItem(tr("Large tunnels"), mazeStyles);
@@ -235,7 +235,7 @@
 
     /* Theme chooser */
 
-    btnTheme = new QPushButton();
+    btnTheme = new QPushButton(this);
     btnTheme->setFlat(true);
     connect(btnTheme, SIGNAL(clicked()), this, SLOT(showThemePrompt()));
     m_childWidgets << btnTheme;
--- a/share/hedgewars/Data/Locale/hedgewars_ru.ts	Fri Aug 22 19:43:26 2014 +0400
+++ b/share/hedgewars/Data/Locale/hedgewars_ru.ts	Fri Aug 22 20:18:13 2014 +0400
@@ -495,11 +495,11 @@
     </message>
     <message>
         <source>Load map drawing</source>
-        <translation>Загрузить рисованную карту</translation>
+        <translation>Загрузить</translation>
     </message>
     <message>
         <source>Edit map drawing</source>
-        <translation>Редактировать рисованную карту</translation>
+        <translation>Редактировать</translation>
     </message>
     <message>
         <source>Small islands</source>
@@ -984,8 +984,6 @@
         <source>(%1 %2)</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
 </context>
@@ -2336,8 +2334,6 @@
         <source>Do you really want to remove %1 file(s)?</source>
         <translation type="unfinished">
             <numerusform></numerusform>
-            <numerusform></numerusform>
-            <numerusform></numerusform>
         </translation>
     </message>
     <message>