Fix \n new line text break (2)
authorrdymac <rdy@aol.es>
Mon, 17 Jun 2013 20:18:42 +0000 (23:18 +0300)
committerrdymac <rdy@aol.es>
Mon, 17 Jun 2013 20:18:42 +0000 (23:18 +0300)
Fix \n new line text break

plugins/labels.py

index f8ceba9..20e4fa9 100644 (file)
@@ -37,9 +37,7 @@ class Plugin(BasePlugin):
 
     def __init__(self, gui):
         self.target_host = 'labelectrum.herokuapp.com'
-        BasePlugin.__init__(self, gui, 'labels', _('Label Sync'),_('This plugin can sync your labels accross multiple Electrum installs by using a remote database to save your data. Labels,  \
-transactions and addresses are all sent and stored encrypted on the remote server. This code might increase the load of your wallet with a few microseconds as it will sync labels on each startup.\n\n\
-To get started visit http://labelectrum.herokuapp.com/ to sign up for an account.'))
+        BasePlugin.__init__(self, gui, 'labels', _('Label Sync'), '%s\n\n%s%s%s' % (_("This plugin can sync your labels across multiple Electrum installs by using a remote database to save your data. Labels, transactions and addresses are all sent and stored encrypted on the remote server. This code might increase the load of your wallet with a few microseconds as it will sync labels on each startup."), _("To get started visit"), " http://labelectrum.herokuapp.com/", _(" to sign up for an account.")))
 
         self.wallet = gui.wallet
         self.gui = gui