From fd4a396be1d119f49153afa5771333eca8d59fa6 Mon Sep 17 00:00:00 2001 From: Gatien Bovyn Date: Wed, 12 Jun 2013 13:36:24 +0200 Subject: [PATCH] update translatable strings --- src/bitmessageqt/__init__.py | 22 +++++------ src/translations/bitmessage_fr_BE.qm | Bin 30380 -> 32224 bytes src/translations/bitmessage_fr_BE.ts | 55 +++++++++++++++++++++++++-- 3 files changed, 63 insertions(+), 14 deletions(-) diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index cb77df4d..5742ddde 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -366,27 +366,27 @@ class MyForm(QtGui.QMainWindow): newItem.setFlags( QtCore.Qt.ItemIsSelectable | QtCore.Qt.ItemIsEnabled ) self.ui.tableWidgetSent.setItem(0,2,newItem) 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': - statusText = 'Encryption key request queued.' + statusText = QtGui.QApplication.translate("MainWindow", "Encryption key request queued.") elif status == 'msgqueued': - statusText = 'Queued.' + statusText = QtGui.QApplication.translate("MainWindow", "Queued.") 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': - 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': - 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': - statusText = 'Broadcast queued.' + statusText = QtGui.QApplication.translate("MainWindow", "Broadcast queued.") 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': - 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': - statusText = 'Forced difficulty override. Send should start soon.' + statusText = QtGui.QApplication.translate("MainWindow", "Forced difficulty override. Send should start soon.") 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.setToolTip(statusText) newItem.setData(Qt.UserRole,QByteArray(ackdata)) diff --git a/src/translations/bitmessage_fr_BE.qm b/src/translations/bitmessage_fr_BE.qm index bfe6389a861900615f375f2b941820df9983f4ad..f7734a32ac1b1c01e09cdc4da305244679f4c8a1 100644 GIT binary patch delta 2784 zcma)74Nz3q89mGX|BC^OBJdi6S{o^fgg{Y1B?5sRBP!8S;ZzM7Q;^Wxn?*lw%vA-h~s5pX;oV$VhdT=$ljAYJf=G*1~51-U5-ZTo7jcS&3^&t%D z3(ckthk=z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0@u z&_8EU(*3pi)opZNs?dkFbOSN+4SmkZHga}Yzh{UX@^6dyk(5~-qQ*c(UVY+P>v8Jv zk@)%|IZllef9;^9H18FMUZEsZb~i@d7ALKBKt!P%Q?5xKi5G#ydC7Q-nBcV#P%OFGe)KW diff --git a/src/translations/bitmessage_fr_BE.ts b/src/translations/bitmessage_fr_BE.ts index 65ba4b1c..1b02855b 100644 --- a/src/translations/bitmessage_fr_BE.ts +++ b/src/translations/bitmessage_fr_BE.ts @@ -1,6 +1,5 @@ - - + MainWindow @@ -311,6 +310,56 @@ p, li { white-space: pre-wrap; } Since startup on %1 Depuis lancement le %1 + + + Waiting on their encryption key. Will request it again soon. + En attente de la clé de chiffrement. Une nouvelle requête sera bientôt lancée. + + + + Encryption key request queued. + Demande de clé de chiffrement en attente. + + + + Queued. + En attente + + + + Need to do work to send message. Work is queued. + Travail nécessaire pour envoyer le message. Travail en attente. + + + + Acknowledgement of the message received %1 + Accusé de réception reçu le %1 + + + + Broadcast queued. + Message de diffusion en attente. + + + + Broadcast on %1 + Message de diffusion à %1 + + + + Problem: The work demanded by the recipient is more difficult than you are willing to do. %1 + Problème : Le travail demandé par le destinataire est plus difficile que ce que vous avez paramétré. %1 + + + + Forced difficulty override. Send should start soon. + Neutralisation forcée de la difficulté. L'envoi devrait bientôt commencer. + + + + Message sent. Waiting on acknowledgement. Sent at %1 + Message envoyé. En attente de l'accusé de réception. Envoyé le %1 + NewAddressDialog @@ -475,7 +524,7 @@ L'option \'Nombre Aléatoire\' est sélectionnée par défaut mai About À propos - + Copyright © 2013 Jonathan Warren Copyright © 2013 Jonathan Warren