update translatable strings
This commit is contained in:
parent
371898bc24
commit
fd4a396be1
|
@ -366,27 +366,27 @@ class MyForm(QtGui.QMainWindow):
|
||||||
newItem.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled )
|
newItem.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled )
|
||||||
self.ui.tableWidgetSent.setItem(0,2,newItem)
|
self.ui.tableWidgetSent.setItem(0,2,newItem)
|
||||||
if status == 'awaitingpubkey':
|
if status == 'awaitingpubkey':
|
||||||
statusText = 'Waiting on their encryption key. Will request it again soon.'
|
statusText = QtGui.QApplication.translate("MainWindow", "Waiting on their encryption key. Will request it again soon.")
|
||||||
elif status == 'doingpowforpubkey':
|
elif status == 'doingpowforpubkey':
|
||||||
statusText = 'Encryption key request queued.'
|
statusText = QtGui.QApplication.translate("MainWindow", "Encryption key request queued.")
|
||||||
elif status == 'msgqueued':
|
elif status == 'msgqueued':
|
||||||
statusText = 'Queued.'
|
statusText = QtGui.QApplication.translate("MainWindow", "Queued.")
|
||||||
elif status == 'msgsent':
|
elif status == 'msgsent':
|
||||||
statusText = 'Message sent. Waiting on acknowledgement. Sent at ' + unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(lastactiontime)),'utf-8')
|
statusText = QtGui.QApplication.translate("MainWindow", "Message sent. Waiting on acknowledgement. Sent at %1").arg(unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(lastactiontime))))
|
||||||
elif status == 'doingmsgpow':
|
elif status == 'doingmsgpow':
|
||||||
statusText = 'Need to do work to send message. Work is queued.'
|
statusText = QtGui.QApplication.translate("MainWindow", "Need to do work to send message. Work is queued.")
|
||||||
elif status == 'ackreceived':
|
elif status == 'ackreceived':
|
||||||
statusText = 'Acknowledgement of the message received ' + unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime))),'utf-8')
|
statusText = QtGui.QApplication.translate("MainWindow", "Acknowledgement of the message received %1").arg(unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime)))))
|
||||||
elif status == 'broadcastqueued':
|
elif status == 'broadcastqueued':
|
||||||
statusText = 'Broadcast queued.'
|
statusText = QtGui.QApplication.translate("MainWindow", "Broadcast queued.")
|
||||||
elif status == 'broadcastsent':
|
elif status == 'broadcastsent':
|
||||||
statusText = 'Broadcast on ' + unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime))),'utf-8')
|
statusText = QtGui.QApplication.translate("MainWindow", "Broadcast on %1").arg(unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime)))))
|
||||||
elif status == 'toodifficult':
|
elif status == 'toodifficult':
|
||||||
statusText = 'Problem: The work demanded by the recipient is more difficult than you are willing to do. ' + unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime))),'utf-8')
|
statusText = QtGui.QApplication.translate("MainWindow", "Problem: The work demanded by the recipient is more difficult than you are willing to do. %1").arg(unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime)))))
|
||||||
elif status == 'forcepow':
|
elif status == 'forcepow':
|
||||||
statusText = 'Forced difficulty override. Send should start soon.'
|
statusText = QtGui.QApplication.translate("MainWindow", "Forced difficulty override. Send should start soon.")
|
||||||
else:
|
else:
|
||||||
statusText = 'Unknown status: ' + status + ' ' + unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime))),'utf-8')
|
statusText = QtGui.QApplication.translate("Unknown status: %1 %2").arg(status).arg(unicode(strftime(shared.config.get('bitmessagesettings', 'timeformat'),localtime(int(lastactiontime)))))
|
||||||
newItem = myTableWidgetItem(statusText)
|
newItem = myTableWidgetItem(statusText)
|
||||||
newItem.setToolTip(statusText)
|
newItem.setToolTip(statusText)
|
||||||
newItem.setData(Qt.UserRole,QByteArray(ackdata))
|
newItem.setData(Qt.UserRole,QByteArray(ackdata))
|
||||||
|
|
Binary file not shown.
|
@ -1,6 +1,5 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!DOCTYPE TS>
|
<!DOCTYPE TS><TS version="2.0" language="fr_BE" sourcelanguage="en">
|
||||||
<TS version="2.0" language="fr_BE" sourcelanguage="en">
|
|
||||||
<context>
|
<context>
|
||||||
<name>MainWindow</name>
|
<name>MainWindow</name>
|
||||||
<message>
|
<message>
|
||||||
|
@ -311,6 +310,56 @@ p, li { white-space: pre-wrap; }
|
||||||
<source>Since startup on %1</source>
|
<source>Since startup on %1</source>
|
||||||
<translation>Depuis lancement le %1</translation>
|
<translation>Depuis lancement le %1</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="369"/>
|
||||||
|
<source>Waiting on their encryption key. Will request it again soon.</source>
|
||||||
|
<translation>En attente de la clé de chiffrement. Une nouvelle requête sera bientôt lancée.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="371"/>
|
||||||
|
<source>Encryption key request queued.</source>
|
||||||
|
<translation>Demande de clé de chiffrement en attente.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="373"/>
|
||||||
|
<source>Queued.</source>
|
||||||
|
<translation>En attente</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="377"/>
|
||||||
|
<source>Need to do work to send message. Work is queued.</source>
|
||||||
|
<translation>Travail nécessaire pour envoyer le message. Travail en attente.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="379"/>
|
||||||
|
<source>Acknowledgement of the message received %1</source>
|
||||||
|
<translation>Accusé de réception reçu le %1</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="381"/>
|
||||||
|
<source>Broadcast queued.</source>
|
||||||
|
<translation>Message de diffusion en attente.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="383"/>
|
||||||
|
<source>Broadcast on %1</source>
|
||||||
|
<translation>Message de diffusion à %1</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="385"/>
|
||||||
|
<source>Problem: The work demanded by the recipient is more difficult than you are willing to do. %1</source>
|
||||||
|
<translation>Problème : Le travail demandé par le destinataire est plus difficile que ce que vous avez paramétré. %1</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="387"/>
|
||||||
|
<source>Forced difficulty override. Send should start soon.</source>
|
||||||
|
<translation>Neutralisation forcée de la difficulté. L'envoi devrait bientôt commencer.</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../bitmessageqt/__init__.py" line="375"/>
|
||||||
|
<source>Message sent. Waiting on acknowledgement. Sent at %1</source>
|
||||||
|
<translation>Message envoyé. En attente de l'accusé de réception. Envoyé le %1</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>NewAddressDialog</name>
|
<name>NewAddressDialog</name>
|
||||||
|
@ -475,7 +524,7 @@ L'option \'Nombre Aléatoire\' est sélectionnée par défaut mai
|
||||||
<source>About</source>
|
<source>About</source>
|
||||||
<translation>À propos</translation>
|
<translation>À propos</translation>
|
||||||
</message>
|
</message>
|
||||||
<message utf8="true">
|
<message encoding="UTF-8">
|
||||||
<location filename="../about.py" line="60"/>
|
<location filename="../about.py" line="60"/>
|
||||||
<source>Copyright © 2013 Jonathan Warren</source>
|
<source>Copyright © 2013 Jonathan Warren</source>
|
||||||
<translation>Copyright © 2013 Jonathan Warren</translation>
|
<translation>Copyright © 2013 Jonathan Warren</translation>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user