add localisation #205

Merged
Astalaseven merged 14 commits from master into master 2013-06-12 19:31:58 +02:00
3 changed files with 9 additions and 5 deletions
Showing only changes of commit a5dd8c9187 - Show all commits

View File

@ -905,7 +905,7 @@ class MyForm(QtGui.QMainWindow):
shared.statusIconColor = 'red'
# if the connection is lost then show a notification
if self.connected:
self.notifierShow('Bitmessage','Connection lost')
self.notifierShow('Bitmessage',QtGui.QApplication.translate("MainWindow", "Connection lost"))
self.connected = False
if self.actionStatus != None:
@ -918,7 +918,7 @@ class MyForm(QtGui.QMainWindow):
shared.statusIconColor = 'yellow'
# if a new connection has been established then show a notification
if not self.connected:
self.notifierShow('Bitmessage','Connected')
self.notifierShow('Bitmessage',QtGui.QApplication.translate("MainWindow", "Connected"))
self.connected = True
if self.actionStatus != None:
@ -930,7 +930,7 @@ class MyForm(QtGui.QMainWindow):
self.ui.pushButtonStatusIcon.setIcon(QIcon(":/newPrefix/images/greenicon.png"))
shared.statusIconColor = 'green'
if not self.connected:
self.notifierShow('Bitmessage','Connected')
self.notifierShow('Bitmessage',QtGui.QApplication.translate("MainWindow", "Connected"))
self.connected = True
if self.actionStatus != None:
@ -966,7 +966,7 @@ class MyForm(QtGui.QMainWindow):
def removeInboxRowByMsgid(self,msgid):#msgid and inventoryHash are the same thing
for i in range(self.ui.tableWidgetInbox.rowCount()):
if msgid == str(self.ui.tableWidgetInbox.item(i,3).data(Qt.UserRole).toPyObject()):
self.statusBar().showMessage('Message trashed')
self.statusBar().showMessage(QtGui.QApplication.translate("MainWindow", "Message trashed"))
self.ui.tableWidgetInbox.removeRow(i)
break

Binary file not shown.

View File

@ -627,7 +627,6 @@ Il est important de faire des sauvegardes de ce fichier. Souhaitez-vous l'o
<message>
<location filename="../bitmessageqt/__init__.py" line="1088"/>
<source>Error: The address version in %1 is too high. Either you need to upgrade your Bitmessage software or your acquaintance is being clever.</source>
<translatorcomment>/*&quot;your acquaintance is being clever&quot;?*/ </translatorcomment>
<translation>Erreur : La version de l&apos;adresse %1 est trop grande. Pensez à mettre à jour Bitmessage.</translation>
</message>
<message>
@ -700,6 +699,11 @@ Il est important de faire des sauvegardes de ce fichier. Souhaitez-vous l&apos;o
<source>Error: You cannot add the same address to your subsciptions twice. Perhaps rename the existing one if you want.</source>
<translation>Erreur : Vous ne pouvez pas ajouter une même adresse à vos abonnements deux fois. Essayez de renommer l&apos;adresse existante.</translation>
</message>
<message>
<location filename="../bitmessageqt/__init__.py" line="969"/>
<source>Message trashed</source>
<translation>Message envoyé à la corbeille</translation>
</message>
</context>
<context>
<name>NewAddressDialog</name>