show notice to admin when kicking player
authorsheepluva
Sun, 30 Oct 2011 08:01:26 +0100
changeset 6240 5d8e478916b4
parent 6239 7ede83d81fc6
child 6241 e2c7771162ae
show notice to admin when kicking player
QTfrontend/ui/widget/chatwidget.cpp
share/hedgewars/Data/Locale/hedgewars_ar.ts
share/hedgewars/Data/Locale/hedgewars_bg.ts
share/hedgewars/Data/Locale/hedgewars_cs.ts
share/hedgewars/Data/Locale/hedgewars_de.ts
share/hedgewars/Data/Locale/hedgewars_en.ts
share/hedgewars/Data/Locale/hedgewars_es.ts
share/hedgewars/Data/Locale/hedgewars_fi.ts
share/hedgewars/Data/Locale/hedgewars_fr.ts
share/hedgewars/Data/Locale/hedgewars_hu.ts
share/hedgewars/Data/Locale/hedgewars_it.ts
share/hedgewars/Data/Locale/hedgewars_ja.ts
share/hedgewars/Data/Locale/hedgewars_ko.ts
share/hedgewars/Data/Locale/hedgewars_lt.ts
share/hedgewars/Data/Locale/hedgewars_nl.ts
share/hedgewars/Data/Locale/hedgewars_pl.ts
share/hedgewars/Data/Locale/hedgewars_pt_BR.ts
share/hedgewars/Data/Locale/hedgewars_pt_PT.ts
share/hedgewars/Data/Locale/hedgewars_ru.ts
share/hedgewars/Data/Locale/hedgewars_sk.ts
share/hedgewars/Data/Locale/hedgewars_sv.ts
share/hedgewars/Data/Locale/hedgewars_tr_TR.ts
share/hedgewars/Data/Locale/hedgewars_uk.ts
share/hedgewars/Data/Locale/hedgewars_zh_CN.ts
share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
--- a/QTfrontend/ui/widget/chatwidget.cpp	Sun Oct 30 07:21:51 2011 +0100
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Sun Oct 30 08:01:26 2011 +0100
@@ -710,7 +710,10 @@
 {
     QListWidgetItem * curritem = chatNicks->currentItem();
     if (curritem)
+    {
+        displayNotice(tr("Kicking %1 ...").arg(Qt::escape(curritem->text())));
         emit kick(curritem->text());
+    }
 }
 
 void HWChatWidget::onBan()
--- a/share/hedgewars/Data/Locale/hedgewars_ar.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_ar.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -131,6 +131,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_bg.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_bg.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_cs.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_cs.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -131,6 +131,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_de.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_de.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation>%1 ist kein gültiger Befehl!</translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation>%1 wird rausgeworfen ...</translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_en.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_en.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_es.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_es.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -134,6 +134,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_fi.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_fi.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_fr.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_fr.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_hu.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_hu.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -129,6 +129,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_it.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_it.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_ja.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_ja.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -129,6 +129,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_ko.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_ko.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -113,6 +113,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_lt.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_lt.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -86,57 +86,62 @@
 <context>
     <name>HWChatWidget</name>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="750"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="714"/>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="753"/>
         <source>%1 has been removed from your ignore list</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="764"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="767"/>
         <source>%1 has been added to your ignore list</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="787"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="790"/>
         <source>%1 has been removed from your friends list</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="800"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="803"/>
         <source>%1 has been added to your friends list</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="925"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="928"/>
         <source>Stylesheet imported from %1</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="926"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="929"/>
         <source>Enter %1 if you want to use the current StyleSheet in future, enter %2 to reset!</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="934"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="937"/>
         <source>Couldn&apos;t read %1</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="942"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="945"/>
         <source>StyleSheet discarded</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="967"/>
-        <source>StyleSheet saved to %1</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
         <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="970"/>
+        <source>StyleSheet saved to %1</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="973"/>
         <source>Failed to save StyleSheet to %1</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="990"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="993"/>
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
@@ -1477,23 +1482,23 @@
     </message>
     <message>
         <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="315"/>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="840"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="843"/>
         <source>Ignore</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
         <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="319"/>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="851"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="854"/>
         <source>Add friend</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="835"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="838"/>
         <source>Unignore</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="846"/>
+        <location filename="../../../../QTfrontend/ui/widget/chatwidget.cpp" line="849"/>
         <source>Remove friend</source>
         <translation type="unfinished"></translation>
     </message>
--- a/share/hedgewars/Data/Locale/hedgewars_nl.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_nl.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -114,6 +114,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_pl.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_pl.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -135,6 +135,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_pt_BR.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_pt_BR.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_pt_PT.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_pt_PT.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_ru.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_ru.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -135,6 +135,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_sk.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_sk.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -135,6 +135,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_sv.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_sv.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -130,6 +130,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_tr_TR.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_tr_TR.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -113,6 +113,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_uk.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_uk.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -131,6 +131,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_zh_CN.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_zh_CN.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -129,6 +129,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>
--- a/share/hedgewars/Data/Locale/hedgewars_zh_TW.ts	Sun Oct 30 07:21:51 2011 +0100
+++ b/share/hedgewars/Data/Locale/hedgewars_zh_TW.ts	Sun Oct 30 08:01:26 2011 +0100
@@ -113,6 +113,10 @@
         <source>%1 is not a valid command!</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <source>Kicking %1 ...</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>HWForm</name>