Default compose body "untranslate"

There is no reason to retranslate the default message/broadcast body,
and the default was just confusing HTML with no content.
This commit is contained in:
Peter Šurda 2016-03-24 23:05:16 +01:00
parent d25a1302ce
commit e9f62efa4b
2 changed files with 34 additions and 51 deletions

View File

@ -671,19 +671,11 @@ class Ui_MainWindow(object):
self.label_3.setText(_translate("MainWindow", "Subject:", None)) self.label_3.setText(_translate("MainWindow", "Subject:", None))
self.label_2.setText(_translate("MainWindow", "From:", None)) self.label_2.setText(_translate("MainWindow", "From:", None))
self.label.setText(_translate("MainWindow", "To:", None)) self.label.setText(_translate("MainWindow", "To:", None))
self.textEditMessage.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" #self.textEditMessage.setHtml("")
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Droid Sans\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"><br /></p></body></html>", None))
self.tabWidgetSend.setTabText(self.tabWidgetSend.indexOf(self.sendDirect), _translate("MainWindow", "Send ordinary Message", None)) self.tabWidgetSend.setTabText(self.tabWidgetSend.indexOf(self.sendDirect), _translate("MainWindow", "Send ordinary Message", None))
self.label_8.setText(_translate("MainWindow", "From:", None)) self.label_8.setText(_translate("MainWindow", "From:", None))
self.label_7.setText(_translate("MainWindow", "Subject:", None)) self.label_7.setText(_translate("MainWindow", "Subject:", None))
self.textEditMessageBroadcast.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" #self.textEditMessageBroadcast.setHtml("")
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Droid Sans\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"><br /></p></body></html>", None))
self.tabWidgetSend.setTabText(self.tabWidgetSend.indexOf(self.sendBroadcast), _translate("MainWindow", "Send Message to your Subscribers", None)) self.tabWidgetSend.setTabText(self.tabWidgetSend.indexOf(self.sendBroadcast), _translate("MainWindow", "Send Message to your Subscribers", None))
self.pushButtonTTL.setText(_translate("MainWindow", "TTL:", None)) self.pushButtonTTL.setText(_translate("MainWindow", "TTL:", None))
self.labelHumanFriendlyTTLDescription.setText(_translate("MainWindow", "X days", None)) self.labelHumanFriendlyTTLDescription.setText(_translate("MainWindow", "X days", None))

View File

@ -335,7 +335,7 @@ Please type the desiged email address (including @mailchuck.com) below:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="691"/> <location filename="../bitmessageqt/bitmessageui.py" line="683"/>
<source>Send</source> <source>Send</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -350,7 +350,7 @@ Please type the desiged email address (including @mailchuck.com) below:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="736"/> <location filename="../bitmessageqt/bitmessageui.py" line="728"/>
<source>Quit</source> <source>Quit</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -906,37 +906,37 @@ Are you sure you want to delete the channel?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="712"/> <location filename="../bitmessageqt/bitmessageui.py" line="704"/>
<source>Search</source> <source>Search</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="713"/> <location filename="../bitmessageqt/bitmessageui.py" line="705"/>
<source>All</source> <source>All</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="720"/> <location filename="../bitmessageqt/bitmessageui.py" line="712"/>
<source>To</source> <source>To</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="722"/> <location filename="../bitmessageqt/bitmessageui.py" line="714"/>
<source>From</source> <source>From</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="724"/> <location filename="../bitmessageqt/bitmessageui.py" line="716"/>
<source>Subject</source> <source>Subject</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="717"/> <location filename="../bitmessageqt/bitmessageui.py" line="709"/>
<source>Message</source> <source>Message</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="726"/> <location filename="../bitmessageqt/bitmessageui.py" line="718"/>
<source>Received</source> <source>Received</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -966,12 +966,12 @@ Are you sure you want to delete the channel?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="681"/> <location filename="../bitmessageqt/bitmessageui.py" line="677"/>
<source>Subject:</source> <source>Subject:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="680"/> <location filename="../bitmessageqt/bitmessageui.py" line="676"/>
<source>From:</source> <source>From:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -981,116 +981,107 @@ Are you sure you want to delete the channel?</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="682"/> <location filename="../bitmessageqt/bitmessageui.py" line="675"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Droid Sans&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;MS Shell Dlg 2&apos;;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../bitmessageqt/bitmessageui.py" line="679"/>
<source>Send ordinary Message</source> <source>Send ordinary Message</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="687"/> <location filename="../bitmessageqt/bitmessageui.py" line="679"/>
<source>Send Message to your Subscribers</source> <source>Send Message to your Subscribers</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="688"/> <location filename="../bitmessageqt/bitmessageui.py" line="680"/>
<source>TTL:</source> <source>TTL:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="689"/> <location filename="../bitmessageqt/bitmessageui.py" line="681"/>
<source>X days</source> <source>X days</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="709"/> <location filename="../bitmessageqt/bitmessageui.py" line="701"/>
<source>Subscriptions</source> <source>Subscriptions</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="693"/> <location filename="../bitmessageqt/bitmessageui.py" line="685"/>
<source>Add new Subscription</source> <source>Add new Subscription</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="727"/> <location filename="../bitmessageqt/bitmessageui.py" line="719"/>
<source>Chans</source> <source>Chans</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="711"/> <location filename="../bitmessageqt/bitmessageui.py" line="703"/>
<source>Add Chan</source> <source>Add Chan</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="728"/> <location filename="../bitmessageqt/bitmessageui.py" line="720"/>
<source>Network Status</source> <source>Network Status</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="731"/> <location filename="../bitmessageqt/bitmessageui.py" line="723"/>
<source>File</source> <source>File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="742"/> <location filename="../bitmessageqt/bitmessageui.py" line="734"/>
<source>Settings</source> <source>Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="738"/> <location filename="../bitmessageqt/bitmessageui.py" line="730"/>
<source>Help</source> <source>Help</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="734"/> <location filename="../bitmessageqt/bitmessageui.py" line="726"/>
<source>Import keys</source> <source>Import keys</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="735"/> <location filename="../bitmessageqt/bitmessageui.py" line="727"/>
<source>Manage keys</source> <source>Manage keys</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="737"/> <location filename="../bitmessageqt/bitmessageui.py" line="729"/>
<source>Ctrl+Q</source> <source>Ctrl+Q</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="739"/> <location filename="../bitmessageqt/bitmessageui.py" line="731"/>
<source>F1</source> <source>F1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="740"/> <location filename="../bitmessageqt/bitmessageui.py" line="732"/>
<source>Contact support</source> <source>Contact support</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="741"/> <location filename="../bitmessageqt/bitmessageui.py" line="733"/>
<source>About</source> <source>About</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="743"/> <location filename="../bitmessageqt/bitmessageui.py" line="735"/>
<source>Regenerate deterministic addresses</source> <source>Regenerate deterministic addresses</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="744"/> <location filename="../bitmessageqt/bitmessageui.py" line="736"/>
<source>Delete all trashed messages</source> <source>Delete all trashed messages</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../bitmessageqt/bitmessageui.py" line="745"/> <location filename="../bitmessageqt/bitmessageui.py" line="737"/>
<source>Join / Create chan</source> <source>Join / Create chan</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>