Commit 9ee85427 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

Encryption menu: Make 'disabled' item translatable

parent 387672d9
Pipeline #5829 passed with stages
in 4 minutes and 49 seconds
......@@ -749,7 +749,8 @@ def build_accounts_menu():
def get_encryption_menu(control_id, control_type, zeroconf=False):
menu = Gio.Menu()
menu.append(
'Disabled', 'win.set-encryption-{}::{}'.format(control_id, 'disabled'))
_('Disabled'),
'win.set-encryption-{}::{}'.format(control_id, 'disabled'))
for name, plugin in app.plugin_manager.encryption_plugins.items():
if control_type.is_groupchat:
if not hasattr(plugin, 'allow_groupchat'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment