Added code to remember the 20 most recently connected hosts.

Tue, 30 Mar 2010 17:17:15 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 30 Mar 2010 17:17:15 +0000
changeset 161
bb3cc98f4104
parent 160
32cc58d56d4d
child 162
28f235c426c4

Added code to remember the 20 most recently connected hosts.

APIs/Python3/eric5.api file | annotate | diff | comparison | revisions
Cooperation/ChatWidget.py file | annotate | diff | comparison | revisions
Cooperation/ChatWidget.ui file | annotate | diff | comparison | revisions
Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Documentation/Help/source.qhp file | annotate | diff | comparison | revisions
Documentation/Source/eric5.Cooperation.ChatWidget.html file | annotate | diff | comparison | revisions
Documentation/Source/eric5.Globals.__init__.html file | annotate | diff | comparison | revisions
Globals/__init__.py file | annotate | diff | comparison | revisions
i18n/eric5_cs.ts file | annotate | diff | comparison | revisions
i18n/eric5_de.qm file | annotate | diff | comparison | revisions
i18n/eric5_de.ts file | annotate | diff | comparison | revisions
i18n/eric5_es.ts file | annotate | diff | comparison | revisions
i18n/eric5_fr.ts file | annotate | diff | comparison | revisions
i18n/eric5_it.ts file | annotate | diff | comparison | revisions
i18n/eric5_ru.ts file | annotate | diff | comparison | revisions
i18n/eric5_tr.ts file | annotate | diff | comparison | revisions
i18n/eric5_zh_CN.GB2312.ts file | annotate | diff | comparison | revisions
--- a/APIs/Python3/eric5.api	Tue Mar 30 15:57:01 2010 +0000
+++ b/APIs/Python3/eric5.api	Tue Mar 30 17:17:15 2010 +0000
@@ -7,7 +7,8 @@
 eric5.Cooperation.ChatWidget.ChatWidget.on_cancelEditButton_clicked?4()
 eric5.Cooperation.ChatWidget.ChatWidget.on_chatEdit_customContextMenuRequested?4(pos)
 eric5.Cooperation.ChatWidget.ChatWidget.on_connectButton_clicked?4()
-eric5.Cooperation.ChatWidget.ChatWidget.on_hostEdit_textChanged?4(host)
+eric5.Cooperation.ChatWidget.ChatWidget.on_hostEdit_currentIndexChanged?4(index)
+eric5.Cooperation.ChatWidget.ChatWidget.on_hostEdit_editTextChanged?4(host)
 eric5.Cooperation.ChatWidget.ChatWidget.on_sendEditButton_clicked?4()
 eric5.Cooperation.ChatWidget.ChatWidget.on_serverButton_clicked?4()
 eric5.Cooperation.ChatWidget.ChatWidget.on_shareButton_clicked?4(checked)
@@ -1563,6 +1564,7 @@
 eric5.E5XML.XMLWriterBase.XMLWriterBase?1(file)
 eric5.Globals.isWindowsPlatform?4()
 eric5.Globals.recentNameFiles?7
+eric5.Globals.recentNameHosts?7
 eric5.Globals.recentNameMultiProject?7
 eric5.Globals.recentNameProject?7
 eric5.Globals.settingsNameGlobal?7
--- a/Cooperation/ChatWidget.py	Tue Mar 30 15:57:01 2010 +0000
+++ b/Cooperation/ChatWidget.py	Tue Mar 30 17:17:15 2010 +0000
@@ -13,6 +13,8 @@
 
 from E5Gui.E5Application import e5App
 
+from Globals import recentNameHosts
+
 from QScintilla.Editor import Editor
 
 from .CooperationClient import CooperationClient
@@ -95,6 +97,55 @@
         
         if Preferences.getCooperation("AutoStartServer"):
             self.on_serverButton_clicked()
+        
+        self.recent = []
+        self.__loadRecent()
+    
+    def __loadRecent(self):
+        """
+        Private method to load the recently connected hosts.
+        """
+        self.recent = []
+        Preferences.Prefs.rsettings.sync()
+        rh = Preferences.Prefs.rsettings.value(recentNameHosts)
+        if rh is not None:
+            self.recent = rh[:20]
+            self.hostEdit.clear()
+            self.hostEdit.addItem("", -1)
+            for entry in self.recent:
+                host, port = entry.split(":")
+                port = int(port)
+                hostStr = "{0} ({1})".format(host, port)
+                self.hostEdit.addItem(hostStr, port)
+    
+    def __saveRecent(self):
+        """
+        Private method to save the list of recently connected hosts.
+        """
+        Preferences.Prefs.rsettings.setValue(recentNameHosts, self.recent)
+        Preferences.Prefs.rsettings.sync()
+    
+    def __setHostsHistory(self, host, port):
+        """
+        Private method to set the given host and port.
+        
+        @param host host name to remember (string)
+        @param port port number to remember (integer)
+        """
+        hostStr = "{0}:{1}".format(host, port)
+        if hostStr in self.recent:
+            self.recent.remove(hostStr)
+        self.recent.insert(0, hostStr)
+        
+        hostStr = "{0} ({1})".format(host, port)
+        index = self.hostEdit.findText(hostStr)
+        if index != -1:
+            self.hostEdit.removeItem(index)
+        if self.hostEdit.itemText(0) == host:
+            self.hostEdit.removeItem(0)
+            self.hostEdit.setEditText(hostStr)
+        self.hostEdit.insertItem(0, hostStr, port)
+        self.hostEdit.setCurrentIndex(0)
     
     def __handleMessage(self):
         """
@@ -179,7 +230,7 @@
         bar.setValue(bar.maximum())
     
     @pyqtSlot(str)
-    def on_hostEdit_textChanged(self, host):
+    def on_hostEdit_editTextChanged(self, host):
         """
         Private slot handling the entry of a host to connect to.
         
@@ -188,16 +239,34 @@
         if not self.__connected:
             self.connectButton.setEnabled(host != "")
     
+    @pyqtSlot(int)
+    def on_hostEdit_currentIndexChanged(self, index):
+        """
+        Private slot to handle the selection of a host.
+        
+        @param index index of the selected entry (integer)
+        """
+        port = self.hostEdit.itemData(index)
+        if port is not None:
+            if port == -1:
+                self.portSpin.setValue(Preferences.getCooperation("ServerPort"))
+            else:
+                self.portSpin.setValue(port)
+    
     @pyqtSlot()
     def on_connectButton_clicked(self):
         """
         Private slot initiating the connection.
         """
         if not self.__connected:
+            self.__setHostsHistory(self.hostEdit.currentText().split()[0], 
+                                   self.portSpin.value())
+            self.__saveRecent()
             if not self.__client.server().isListening():
                 self.on_serverButton_clicked()
             if self.__client.server().isListening():
-                self.__client.connectToHost(self.hostEdit.text(), self.portSpin.value())
+                self.__client.connectToHost(self.hostEdit.currentText().split()[0], 
+                                            self.portSpin.value())
                 self.__setConnected(True)
         else:
             self.__client.disconnectConnections()
@@ -240,7 +309,7 @@
             self.connectionLed.setColor(QColor(Qt.green))
         else:
             self.connectButton.setText(self.trUtf8("Connect"))
-            self.connectButton.setEnabled(self.hostEdit.text() != "")
+            self.connectButton.setEnabled(self.hostEdit.currentText() != "")
             self.connectionLed.setColor(QColor(Qt.red))
             self.cancelEditButton.click()
             self.shareButton.click()
--- a/Cooperation/ChatWidget.ui	Tue Mar 30 15:57:01 2010 +0000
+++ b/Cooperation/ChatWidget.ui	Tue Mar 30 17:17:15 2010 +0000
@@ -62,7 +62,11 @@
        </widget>
       </item>
       <item>
-       <widget class="QLineEdit" name="messageEdit"/>
+       <widget class="QLineEdit" name="messageEdit">
+        <property name="toolTip">
+         <string>Enter the text to send</string>
+        </property>
+       </widget>
       </item>
       <item>
        <widget class="QPushButton" name="sendButton">
@@ -187,7 +191,26 @@
        </widget>
       </item>
       <item row="0" column="1" colspan="3">
-       <widget class="QLineEdit" name="hostEdit"/>
+       <widget class="QComboBox" name="hostEdit">
+        <property name="sizePolicy">
+         <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <horstretch>0</horstretch>
+          <verstretch>0</verstretch>
+         </sizepolicy>
+        </property>
+        <property name="toolTip">
+         <string>Enter the host to connect to</string>
+        </property>
+        <property name="editable">
+         <bool>true</bool>
+        </property>
+        <property name="insertPolicy">
+         <enum>QComboBox::InsertAtTop</enum>
+        </property>
+        <property name="sizeAdjustPolicy">
+         <enum>QComboBox::AdjustToMinimumContentsLength</enum>
+        </property>
+       </widget>
       </item>
       <item row="1" column="0">
        <widget class="QLabel" name="label_3">
@@ -198,6 +221,9 @@
       </item>
       <item row="1" column="1">
        <widget class="QSpinBox" name="portSpin">
+        <property name="toolTip">
+         <string>Enter the port to connect to</string>
+        </property>
         <property name="minimum">
          <number>1025</number>
         </property>
@@ -253,6 +279,9 @@
       </item>
       <item>
        <widget class="QSpinBox" name="serverPortSpin">
+        <property name="toolTip">
+         <string>Enter the server port</string>
+        </property>
         <property name="minimum">
          <number>1025</number>
         </property>
Binary file Documentation/Help/source.qch has changed
--- a/Documentation/Help/source.qhp	Tue Mar 30 15:57:01 2010 +0000
+++ b/Documentation/Help/source.qhp	Tue Mar 30 17:17:15 2010 +0000
@@ -3189,10 +3189,13 @@
       <keyword name="ChatWidget.__editorCommandMessage" id="ChatWidget.__editorCommandMessage" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__editorCommandMessage" />
       <keyword name="ChatWidget.__handleMessage" id="ChatWidget.__handleMessage" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__handleMessage" />
       <keyword name="ChatWidget.__initialConnectionRefused" id="ChatWidget.__initialConnectionRefused" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__initialConnectionRefused" />
+      <keyword name="ChatWidget.__loadRecent" id="ChatWidget.__loadRecent" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__loadRecent" />
       <keyword name="ChatWidget.__newParticipant" id="ChatWidget.__newParticipant" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__newParticipant" />
       <keyword name="ChatWidget.__participantLeft" id="ChatWidget.__participantLeft" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__participantLeft" />
       <keyword name="ChatWidget.__saveChat" id="ChatWidget.__saveChat" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__saveChat" />
+      <keyword name="ChatWidget.__saveRecent" id="ChatWidget.__saveRecent" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__saveRecent" />
       <keyword name="ChatWidget.__setConnected" id="ChatWidget.__setConnected" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__setConnected" />
+      <keyword name="ChatWidget.__setHostsHistory" id="ChatWidget.__setHostsHistory" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__setHostsHistory" />
       <keyword name="ChatWidget.__showErrorMessage" id="ChatWidget.__showErrorMessage" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.__showErrorMessage" />
       <keyword name="ChatWidget.appendMessage" id="ChatWidget.appendMessage" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.appendMessage" />
       <keyword name="ChatWidget.checkEditorActions" id="ChatWidget.checkEditorActions" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.checkEditorActions" />
@@ -3200,7 +3203,8 @@
       <keyword name="ChatWidget.on_cancelEditButton_clicked" id="ChatWidget.on_cancelEditButton_clicked" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_cancelEditButton_clicked" />
       <keyword name="ChatWidget.on_chatEdit_customContextMenuRequested" id="ChatWidget.on_chatEdit_customContextMenuRequested" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_chatEdit_customContextMenuRequested" />
       <keyword name="ChatWidget.on_connectButton_clicked" id="ChatWidget.on_connectButton_clicked" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_connectButton_clicked" />
-      <keyword name="ChatWidget.on_hostEdit_textChanged" id="ChatWidget.on_hostEdit_textChanged" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_hostEdit_textChanged" />
+      <keyword name="ChatWidget.on_hostEdit_currentIndexChanged" id="ChatWidget.on_hostEdit_currentIndexChanged" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_hostEdit_currentIndexChanged" />
+      <keyword name="ChatWidget.on_hostEdit_editTextChanged" id="ChatWidget.on_hostEdit_editTextChanged" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_hostEdit_editTextChanged" />
       <keyword name="ChatWidget.on_sendEditButton_clicked" id="ChatWidget.on_sendEditButton_clicked" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_sendEditButton_clicked" />
       <keyword name="ChatWidget.on_serverButton_clicked" id="ChatWidget.on_serverButton_clicked" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_serverButton_clicked" />
       <keyword name="ChatWidget.on_shareButton_clicked" id="ChatWidget.on_shareButton_clicked" ref="eric5.Cooperation.ChatWidget.html#ChatWidget.on_shareButton_clicked" />
--- a/Documentation/Source/eric5.Cooperation.ChatWidget.html	Tue Mar 30 15:57:01 2010 +0000
+++ b/Documentation/Source/eric5.Cooperation.ChatWidget.html	Tue Mar 30 17:17:15 2010 +0000
@@ -95,6 +95,9 @@
 <td><a href="#ChatWidget.__initialConnectionRefused">__initialConnectionRefused</a></td>
 <td>Private slot to handle the refusal of the initial connection.</td>
 </tr><tr>
+<td><a href="#ChatWidget.__loadRecent">__loadRecent</a></td>
+<td>Private method to load the recently connected hosts.</td>
+</tr><tr>
 <td><a href="#ChatWidget.__newParticipant">__newParticipant</a></td>
 <td>Private slot handling a new participant joining.</td>
 </tr><tr>
@@ -104,9 +107,15 @@
 <td><a href="#ChatWidget.__saveChat">__saveChat</a></td>
 <td>Private slot to save the contents of the chat display.</td>
 </tr><tr>
+<td><a href="#ChatWidget.__saveRecent">__saveRecent</a></td>
+<td>Private method to save the list of recently connected hosts.</td>
+</tr><tr>
 <td><a href="#ChatWidget.__setConnected">__setConnected</a></td>
 <td>Private slot to set the connected state.</td>
 </tr><tr>
+<td><a href="#ChatWidget.__setHostsHistory">__setHostsHistory</a></td>
+<td>Private method to set the given host and port.</td>
+</tr><tr>
 <td><a href="#ChatWidget.__showErrorMessage">__showErrorMessage</a></td>
 <td>Private slot to show an error message.</td>
 </tr><tr>
@@ -128,7 +137,10 @@
 <td><a href="#ChatWidget.on_connectButton_clicked">on_connectButton_clicked</a></td>
 <td>Private slot initiating the connection.</td>
 </tr><tr>
-<td><a href="#ChatWidget.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td>
+<td><a href="#ChatWidget.on_hostEdit_currentIndexChanged">on_hostEdit_currentIndexChanged</a></td>
+<td>Private slot to handle the selection of a host.</td>
+</tr><tr>
+<td><a href="#ChatWidget.on_hostEdit_editTextChanged">on_hostEdit_editTextChanged</a></td>
 <td>Private slot handling the entry of a host to connect to.</td>
 </tr><tr>
 <td><a href="#ChatWidget.on_sendEditButton_clicked">on_sendEditButton_clicked</a></td>
@@ -196,6 +208,11 @@
 <b>__initialConnectionRefused</b>(<i></i>)
 <p>
         Private slot to handle the refusal of the initial connection.
+</p><a NAME="ChatWidget.__loadRecent" ID="ChatWidget.__loadRecent"></a>
+<h4>ChatWidget.__loadRecent</h4>
+<b>__loadRecent</b>(<i></i>)
+<p>
+        Private method to load the recently connected hosts.
 </p><a NAME="ChatWidget.__newParticipant" ID="ChatWidget.__newParticipant"></a>
 <h4>ChatWidget.__newParticipant</h4>
 <b>__newParticipant</b>(<i>nick</i>)
@@ -221,6 +238,11 @@
 <b>__saveChat</b>(<i></i>)
 <p>
         Private slot to save the contents of the chat display.
+</p><a NAME="ChatWidget.__saveRecent" ID="ChatWidget.__saveRecent"></a>
+<h4>ChatWidget.__saveRecent</h4>
+<b>__saveRecent</b>(<i></i>)
+<p>
+        Private method to save the list of recently connected hosts.
 </p><a NAME="ChatWidget.__setConnected" ID="ChatWidget.__setConnected"></a>
 <h4>ChatWidget.__setConnected</h4>
 <b>__setConnected</b>(<i>connected</i>)
@@ -231,6 +253,19 @@
 <dd>
 new connected state (boolean)
 </dd>
+</dl><a NAME="ChatWidget.__setHostsHistory" ID="ChatWidget.__setHostsHistory"></a>
+<h4>ChatWidget.__setHostsHistory</h4>
+<b>__setHostsHistory</b>(<i>host, port</i>)
+<p>
+        Private method to set the given host and port.
+</p><dl>
+<dt><i>host</i></dt>
+<dd>
+host name to remember (string)
+</dd><dt><i>port</i></dt>
+<dd>
+port number to remember (integer)
+</dd>
 </dl><a NAME="ChatWidget.__showErrorMessage" ID="ChatWidget.__showErrorMessage"></a>
 <h4>ChatWidget.__showErrorMessage</h4>
 <b>__showErrorMessage</b>(<i>message</i>)
@@ -289,9 +324,19 @@
 <b>on_connectButton_clicked</b>(<i></i>)
 <p>
         Private slot initiating the connection.
-</p><a NAME="ChatWidget.on_hostEdit_textChanged" ID="ChatWidget.on_hostEdit_textChanged"></a>
-<h4>ChatWidget.on_hostEdit_textChanged</h4>
-<b>on_hostEdit_textChanged</b>(<i>host</i>)
+</p><a NAME="ChatWidget.on_hostEdit_currentIndexChanged" ID="ChatWidget.on_hostEdit_currentIndexChanged"></a>
+<h4>ChatWidget.on_hostEdit_currentIndexChanged</h4>
+<b>on_hostEdit_currentIndexChanged</b>(<i>index</i>)
+<p>
+        Private slot to handle the selection of a host.
+</p><dl>
+<dt><i>index</i></dt>
+<dd>
+index of the selected entry (integer)
+</dd>
+</dl><a NAME="ChatWidget.on_hostEdit_editTextChanged" ID="ChatWidget.on_hostEdit_editTextChanged"></a>
+<h4>ChatWidget.on_hostEdit_editTextChanged</h4>
+<b>on_hostEdit_editTextChanged</b>(<i>host</i>)
 <p>
         Private slot handling the entry of a host to connect to.
 </p><dl>
--- a/Documentation/Source/eric5.Globals.__init__.html	Tue Mar 30 15:57:01 2010 +0000
+++ b/Documentation/Source/eric5.Globals.__init__.html	Tue Mar 30 17:17:15 2010 +0000
@@ -26,7 +26,7 @@
 </p>
 <h3>Global Attributes</h3>
 <table>
-<tr><td>recentNameFiles</td></tr><tr><td>recentNameMultiProject</td></tr><tr><td>recentNameProject</td></tr><tr><td>settingsNameGlobal</td></tr><tr><td>settingsNameOrganization</td></tr><tr><td>settingsNameRecent</td></tr>
+<tr><td>recentNameFiles</td></tr><tr><td>recentNameHosts</td></tr><tr><td>recentNameMultiProject</td></tr><tr><td>recentNameProject</td></tr><tr><td>settingsNameGlobal</td></tr><tr><td>settingsNameOrganization</td></tr><tr><td>settingsNameRecent</td></tr>
 </table>
 <h3>Classes</h3>
 <table>
--- a/Globals/__init__.py	Tue Mar 30 15:57:01 2010 +0000
+++ b/Globals/__init__.py	Tue Mar 30 17:17:15 2010 +0000
@@ -18,6 +18,7 @@
 recentNameMultiProject = "MultiProjects"
 recentNameProject = "Projects"
 recentNameFiles = "Files"
+recentNameHosts = "Hosts"
 
 def isWindowsPlatform():
     """
--- a/i18n/eric5_cs.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_cs.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1955,159 +1955,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">Odeslat</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">...</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished">Vyčistit</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished">Uložit</translation>
+        <source>Clear</source>
+        <translation type="unfinished">Vyčistit</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished">Uložit</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">Kopírovat</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
Binary file i18n/eric5_de.qm has changed
--- a/i18n/eric5_de.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_de.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="1.1" language="de">
+<!DOCTYPE TS>
+<TS version="2.0" language="de">
 <context>
     <name>AboutDialog</name>
     <message>
@@ -1549,7 +1550,7 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksMenu.py" line="140"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
         <translation>In neuem &amp;Register öffnen\tStrg+LMK</translation>
     </message>
     <message>
@@ -1600,7 +1601,7 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksToolBar.py" line="72"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
         <translation>In neuem &amp;Register öffnen\tStrg+LMK</translation>
     </message>
 </context>
@@ -1819,163 +1820,183 @@
         <translation>Nutzer</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation>Drücken, um den obigen Text zu senden</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation>Senden</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation>Verbindung</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation>Rechner:</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation>Port:</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation>Zeigt den Verbindungsstatus</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation>Server</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation>Zeigt den Status des Servers</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation>Server starten</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation>! Unbekannter Befehl: {0}
 </translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation>* {0} ist beigetreten.
 </translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation>* {0} hat die Sitzung verlassen.
 </translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation>Server anhalten</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation>! Serverfehler: {0}
 </translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation>Unterbrechen</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation>Verbinden</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation>Verteilter Editor</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation>Drücken, um den Freigabestatus des aktuellen Editors umzuschalten</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
-        <source>...</source>
-        <translation>...</translation>
-    </message>
-    <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
+        <source>...</source>
+        <translation>...</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation>Drücken, um eine verteilte Änderungssitzung zu starten</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation>Drücken, um eine verteilte Änderungssitzung zu beenden und die Änderungen zu senden</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation>Drücken, um eine verteilte Änderungssitzung abzubrechen</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation>Löschen</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation>Speichern</translation>
-    </message>
-    <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
-        <source>Save Chat</source>
-        <translation>Chat speichern</translation>
-    </message>
-    <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
-        <source>Text Files (*.txt);;All Files (*)</source>
-        <translation>Text Dateien (*.txt);;Alle Dateien (*)</translation>
-    </message>
-    <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
-        <source>Error saving Chat</source>
-        <translation>Fehlr beim Speichern</translation>
-    </message>
-    <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
-        <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
-        <translation>&lt;p&gt;Der Inhalt des Chats konnte nicht nach &lt;b&gt;{0}&lt;/b&gt; geschrieben werden.&lt;/p&gt;&lt;p&gt;Ursache: {1}&lt;/p&gt;</translation>
-    </message>
-    <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
-        <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
-        <translation>&lt;p&gt;Die Datei &lt;b&gt;{0}&lt;/b&gt; existiert bereits.&lt;/p&gt;</translation>
+        <source>Clear</source>
+        <translation>Löschen</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation>Speichern</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
+        <source>Save Chat</source>
+        <translation>Chat speichern</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
+        <source>Text Files (*.txt);;All Files (*)</source>
+        <translation>Text Dateien (*.txt);;Alle Dateien (*)</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
+        <source>Error saving Chat</source>
+        <translation>Fehlr beim Speichern</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
+        <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
+        <translation>&lt;p&gt;Der Inhalt des Chats konnte nicht nach &lt;b&gt;{0}&lt;/b&gt; geschrieben werden.&lt;/p&gt;&lt;p&gt;Ursache: {1}&lt;/p&gt;</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
+        <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
+        <translation>&lt;p&gt;Die Datei &lt;b&gt;{0}&lt;/b&gt; existiert bereits.&lt;/p&gt;</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation>Kopieren</translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation>Gib den zu sendenden Text ein</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation>Gib den Host ein, zu dem verbunden werden soll</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation>Gib den Port ein, zu dem auf Host verbunden werden soll</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation>Gib den Serverport ein</translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
@@ -10888,7 +10909,7 @@
     </message>
     <message>
         <location filename="Helpviewer/HelpBrowserWV.py" line="568"/>
-        <source>Open Link in New Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open Link in New Tab	Ctrl+LMB</source>
         <translation>Link in neuem Fenster öffnen\tStrg+LMK</translation>
     </message>
     <message>
--- a/i18n/eric5_es.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_es.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1816,159 +1816,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">Enviar</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">...</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished"></translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished">Guardar</translation>
+        <source>Clear</source>
+        <translation type="unfinished"></translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished">Guardar</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">Copiar</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished">&lt;p&gt;El archivo &lt;b&gt;{0}&lt;/b&gt; ya existe.&lt;/p&gt;</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
--- a/i18n/eric5_fr.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_fr.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -2005,159 +2005,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">Envoyer</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">...</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished">Effacer</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished"></translation>
+        <source>Clear</source>
+        <translation type="unfinished">Effacer</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">Copier</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
--- a/i18n/eric5_it.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_it.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1960,159 +1960,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">Spedisci</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">...</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished">Pulisci</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished">Salva</translation>
+        <source>Clear</source>
+        <translation type="unfinished">Pulisci</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished">Salva</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">Copia</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
--- a/i18n/eric5_ru.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_ru.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1965,159 +1965,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">Отправить</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">...</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished">Очистить</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished">Сохранить</translation>
+        <source>Clear</source>
+        <translation type="unfinished">Очистить</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished">Сохранить</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">Копировать</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
--- a/i18n/eric5_tr.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_tr.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1996,159 +1996,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">Gönder</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">...</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished">Temizle</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished">Kaydet</translation>
+        <source>Clear</source>
+        <translation type="unfinished">Temizle</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished">Kaydet</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">Kopyala</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>
--- a/i18n/eric5_zh_CN.GB2312.ts	Tue Mar 30 15:57:01 2010 +0000
+++ b/i18n/eric5_zh_CN.GB2312.ts	Tue Mar 30 17:17:15 2010 +0000
@@ -1998,159 +1998,179 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="70"/>
+        <location filename="Cooperation/ChatWidget.ui" line="74"/>
         <source>Press to send the text above</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="73"/>
+        <location filename="Cooperation/ChatWidget.ui" line="77"/>
         <source>Send</source>
         <translation type="unfinished">发送</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="179"/>
+        <location filename="Cooperation/ChatWidget.ui" line="183"/>
         <source>Connection</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="185"/>
+        <location filename="Cooperation/ChatWidget.ui" line="189"/>
         <source>Host:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="250"/>
+        <location filename="Cooperation/ChatWidget.ui" line="276"/>
         <source>Port:</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="234"/>
+        <location filename="Cooperation/ChatWidget.ui" line="260"/>
         <source>Shows the connection status</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="244"/>
+        <location filename="Cooperation/ChatWidget.ui" line="270"/>
         <source>Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="289"/>
+        <location filename="Cooperation/ChatWidget.ui" line="318"/>
         <source>Shows the status of the server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="213"/>
+        <location filename="Cooperation/ChatWidget.py" line="282"/>
         <source>Start Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="108"/>
+        <location filename="Cooperation/ChatWidget.py" line="159"/>
         <source>! Unknown command: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="129"/>
+        <location filename="Cooperation/ChatWidget.py" line="180"/>
         <source>* {0} has joined.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="158"/>
+        <location filename="Cooperation/ChatWidget.py" line="209"/>
         <source>* {0} has left.
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="221"/>
+        <location filename="Cooperation/ChatWidget.py" line="290"/>
         <source>Stop Server</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="226"/>
+        <location filename="Cooperation/ChatWidget.py" line="295"/>
         <source>! Server Error: {0}
 </source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="238"/>
+        <location filename="Cooperation/ChatWidget.py" line="307"/>
         <source>Disconnect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="242"/>
+        <location filename="Cooperation/ChatWidget.py" line="311"/>
         <source>Connect</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="86"/>
+        <location filename="Cooperation/ChatWidget.ui" line="90"/>
         <source>Share Editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="108"/>
+        <location filename="Cooperation/ChatWidget.ui" line="112"/>
         <source>Press to toggle the shared status of the current editor</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="156"/>
+        <location filename="Cooperation/ChatWidget.ui" line="160"/>
         <source>...</source>
         <translation type="unfinished">……</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="124"/>
+        <location filename="Cooperation/ChatWidget.ui" line="128"/>
         <source>Press to start a shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="140"/>
+        <location filename="Cooperation/ChatWidget.ui" line="144"/>
         <source>Press to end the edit and send the changes</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.ui" line="153"/>
+        <location filename="Cooperation/ChatWidget.ui" line="157"/>
         <source>Press to cancel the shared edit</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="71"/>
-        <source>Clear</source>
-        <translation type="unfinished">清除</translation>
-    </message>
-    <message>
         <location filename="Cooperation/ChatWidget.py" line="73"/>
-        <source>Save</source>
-        <translation type="unfinished">保存</translation>
+        <source>Clear</source>
+        <translation type="unfinished">清除</translation>
     </message>
     <message>
         <location filename="Cooperation/ChatWidget.py" line="75"/>
+        <source>Save</source>
+        <translation type="unfinished">保存</translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.py" line="77"/>
         <source>Copy</source>
         <translation type="unfinished">复制</translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>Save Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="413"/>
+        <location filename="Cooperation/ChatWidget.py" line="482"/>
         <source>Text Files (*.txt);;All Files (*)</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="427"/>
+        <location filename="Cooperation/ChatWidget.py" line="496"/>
         <source>&lt;p&gt;The file &lt;b&gt;{0}&lt;/b&gt; already exists.&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>Error saving Chat</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Cooperation/ChatWidget.py" line="444"/>
+        <location filename="Cooperation/ChatWidget.py" line="513"/>
         <source>&lt;p&gt;The chat contents could not be written to &lt;b&gt;{0}&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Reason: {1}&lt;/p&gt;</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="67"/>
+        <source>Enter the text to send</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="202"/>
+        <source>Enter the host to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="225"/>
+        <source>Enter the port to connect to</source>
+        <translation type="unfinished"></translation>
+    </message>
+    <message>
+        <location filename="Cooperation/ChatWidget.ui" line="283"/>
+        <source>Enter the server port</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>CodeMetricsDialog</name>

eric ide

mercurial