URI: 
       tkivy: rename 'Channels' dialog to 'Lightning' - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 4f3a28b87e244a158d6a038fdf791c480f583418
   DIR parent a50af83b84b572e2b484b1970384f9fe80ce0846
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu, 21 Jan 2021 14:32:48 +0100
       
       kivy: rename 'Channels' dialog to 'Lightning'
       
       Diffstat:
         M electrum/gui/kivy/main.kv           |       2 +-
         M electrum/gui/kivy/uix/dialogs/ligh… |      15 ++++++++-------
         M electrum/gui/kivy/uix/ui_screens/l… |       2 +-
       
       3 files changed, 10 insertions(+), 9 deletions(-)
       ---
   DIR diff --git a/electrum/gui/kivy/main.kv b/electrum/gui/kivy/main.kv
       t@@ -461,7 +461,7 @@ BoxLayout:
                            text: _('Addresses')
                        ActionOvrButton:
                            name: 'lightning_channels_dialog'
       -                    text: _('Channels')
       +                    text: _('Lightning')
                        ActionOvrButton:
                            name: 'settings'
                            text: _('Settings')
   DIR diff --git a/electrum/gui/kivy/uix/dialogs/lightning_channels.py b/electrum/gui/kivy/uix/dialogs/lightning_channels.py
       t@@ -164,10 +164,11 @@ Builder.load_string(r'''
        
        <LightningChannelsDialog@Popup>:
            name: 'lightning_channels'
       -    title: _('Lightning channels.')
       +    title: _('Lightning Network')
            has_lightning: False
            can_send: ''
            can_receive: ''
       +    num_channels_text: ''
            id: popup
            BoxLayout:
                id: box
       t@@ -175,11 +176,13 @@ Builder.load_string(r'''
                spacing: '2dp'
                padding: '12dp'
                BoxLabel:
       -            text: _('Can send') + ':'
       +            text: _('You can send') + ':'
                    value: root.can_send
                BoxLabel:
       -            text: _('Can receive') + ':'
       +            text: _('You can receive') + ':'
                    value: root.can_receive
       +        TopLabel:
       +            text: root.num_channels_text
                ScrollView:
                    GridLayout:
                        cols: 1
       t@@ -190,13 +193,10 @@ Builder.load_string(r'''
                BoxLayout:
                    size_hint: 1, None
                    height: '48dp'
       -            Widget:
       -                size_hint: 0.4, None
       -                height: '48dp'
                    Button:
                        size_hint: 0.3, None
                        height: '48dp'
       -                text: _('Open')
       +                text: _('Open Channel')
                        disabled: not root.has_lightning
                        on_release: popup.app.popup_dialog('lightning_open_channel_dialog')
                    Button:
       t@@ -592,6 +592,7 @@ class LightningChannelsDialog(Factory.Popup):
                    self.can_send = 'n/a'
                    self.can_receive = 'n/a'
                    return
       +        self.num_channels_text = _(f'You have {len(lnworker.channels)} channels.')
                self.can_send = self.app.format_amount_and_units(lnworker.num_sats_can_send())
                self.can_receive = self.app.format_amount_and_units(lnworker.num_sats_can_receive())
        
   DIR diff --git a/electrum/gui/kivy/uix/ui_screens/lightning.kv b/electrum/gui/kivy/uix/ui_screens/lightning.kv
       t@@ -1,6 +1,6 @@
        Popup:
            id: ln
       -    title: _('Lightning Network')
       +    title: _('Lightning Gossip')
            BoxLayout:
                orientation: 'vertical'
                ScrollView: