rename gajim-security_high / low to security-high / low. see #7445
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 790 B |
Before Width: | Height: | Size: 844 B After Width: | Height: | Size: 844 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
@ -2348,11 +2348,11 @@ class ChatControl(ChatControlBase):
|
||||||
if authenticated:
|
if authenticated:
|
||||||
#About encrypted chat session
|
#About encrypted chat session
|
||||||
authenticated_string = _('and authenticated')
|
authenticated_string = _('and authenticated')
|
||||||
img_path = gtkgui_helpers.get_icon_path('gajim-security_high')
|
img_path = gtkgui_helpers.get_icon_path('security-high')
|
||||||
else:
|
else:
|
||||||
#About encrypted chat session
|
#About encrypted chat session
|
||||||
authenticated_string = _('and NOT authenticated')
|
authenticated_string = _('and NOT authenticated')
|
||||||
img_path = gtkgui_helpers.get_icon_path('gajim-security_low')
|
img_path = gtkgui_helpers.get_icon_path('security-low')
|
||||||
self.lock_image.set_from_file(img_path)
|
self.lock_image.set_from_file(img_path)
|
||||||
|
|
||||||
#status will become 'is' or 'is not', authentificaed will become
|
#status will become 'is' or 'is not', authentificaed will become
|
||||||
|
|
|
@ -5172,7 +5172,7 @@ class ESessionInfoWindow:
|
||||||
|
|
||||||
if self.session.verified_identity:
|
if self.session.verified_identity:
|
||||||
labeltext += '\n\n' + _('''You have already verified this contact's identity.''')
|
labeltext += '\n\n' + _('''You have already verified this contact's identity.''')
|
||||||
security_image = 'gajim-security_high'
|
security_image = 'security-high'
|
||||||
if self.session.control:
|
if self.session.control:
|
||||||
self.session.control._show_lock_image(True, 'E2E', True,
|
self.session.control._show_lock_image(True, 'E2E', True,
|
||||||
self.session.is_loggable(), True)
|
self.session.is_loggable(), True)
|
||||||
|
@ -5189,7 +5189,7 @@ class ESessionInfoWindow:
|
||||||
self.session.control._show_lock_image(True, 'E2E', True,
|
self.session.control._show_lock_image(True, 'E2E', True,
|
||||||
self.session.is_loggable(), False)
|
self.session.is_loggable(), False)
|
||||||
labeltext += '\n\n' + _('''To be certain that <b>only</b> the expected person can read your messages or send you messages, you need to verify their identity by clicking the button below.''')
|
labeltext += '\n\n' + _('''To be certain that <b>only</b> the expected person can read your messages or send you messages, you need to verify their identity by clicking the button below.''')
|
||||||
security_image = 'gajim-security_low'
|
security_image = 'security-low'
|
||||||
|
|
||||||
verification_status = _('''Contact's identity NOT verified''')
|
verification_status = _('''Contact's identity NOT verified''')
|
||||||
self.window.set_title(verification_status)
|
self.window.set_title(verification_status)
|
||||||
|
@ -5246,13 +5246,13 @@ class GPGInfoWindow:
|
||||||
verification_status = _('''Contact's identity NOT verified''')
|
verification_status = _('''Contact's identity NOT verified''')
|
||||||
info = _('The contact\'s key (%s) <b>does not match</b> the key '
|
info = _('The contact\'s key (%s) <b>does not match</b> the key '
|
||||||
'assigned in Gajim.') % keyID[:8]
|
'assigned in Gajim.') % keyID[:8]
|
||||||
image = 'gajim-security_low'
|
image = 'security-low'
|
||||||
elif not keyID:
|
elif not keyID:
|
||||||
# No key assigned nor a key is used by remote contact
|
# No key assigned nor a key is used by remote contact
|
||||||
verification_status = _('No OpenPGP key assigned')
|
verification_status = _('No OpenPGP key assigned')
|
||||||
info = _('No OpenPGP key is assigned to this contact. So you cannot'
|
info = _('No OpenPGP key is assigned to this contact. So you cannot'
|
||||||
' encrypt messages.')
|
' encrypt messages.')
|
||||||
image = 'gajim-security_low'
|
image = 'security-low'
|
||||||
else:
|
else:
|
||||||
error = gajim.connections[account].gpg.encrypt('test', [keyID])[1]
|
error = gajim.connections[account].gpg.encrypt('test', [keyID])[1]
|
||||||
if error:
|
if error:
|
||||||
|
@ -5260,12 +5260,12 @@ class GPGInfoWindow:
|
||||||
info = _('OpenPGP key is assigned to this contact, but <b>you '
|
info = _('OpenPGP key is assigned to this contact, but <b>you '
|
||||||
'do not trust his key</b>, so message <b>cannot</b> be '
|
'do not trust his key</b>, so message <b>cannot</b> be '
|
||||||
'encrypted. Use your OpenPGP client to trust this key.')
|
'encrypted. Use your OpenPGP client to trust this key.')
|
||||||
image = 'gajim-security_low'
|
image = 'security-low'
|
||||||
else:
|
else:
|
||||||
verification_status = _('''Contact's identity verified''')
|
verification_status = _('''Contact's identity verified''')
|
||||||
info = _('OpenPGP Key is assigned to this contact, and you '
|
info = _('OpenPGP Key is assigned to this contact, and you '
|
||||||
'trust his key, so messages will be encrypted.')
|
'trust his key, so messages will be encrypted.')
|
||||||
image = 'gajim-security_high'
|
image = 'security-high'
|
||||||
|
|
||||||
status_label.set_markup('<b><span size="x-large">%s</span></b>' % \
|
status_label.set_markup('<b><span size="x-large">%s</span></b>' % \
|
||||||
verification_status)
|
verification_status)
|
||||||
|
|