rename gajim-security_high / low to security-high / low. see #7445

This commit is contained in:
Yann Leboulanger 2014-03-29 18:18:04 +01:00
parent ce0fed09cd
commit cb39f5957a
6 changed files with 8 additions and 8 deletions

View File

Before

Width:  |  Height:  |  Size: 790 B

After

Width:  |  Height:  |  Size: 790 B

View File

Before

Width:  |  Height:  |  Size: 844 B

After

Width:  |  Height:  |  Size: 844 B

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -2348,11 +2348,11 @@ class ChatControl(ChatControlBase):
if authenticated:
#About encrypted chat session
authenticated_string = _('and authenticated')
img_path = gtkgui_helpers.get_icon_path('gajim-security_high')
img_path = gtkgui_helpers.get_icon_path('security-high')
else:
#About encrypted chat session
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)
#status will become 'is' or 'is not', authentificaed will become

View File

@ -5172,7 +5172,7 @@ class ESessionInfoWindow:
if self.session.verified_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:
self.session.control._show_lock_image(True, 'E2E', True,
self.session.is_loggable(), True)
@ -5189,7 +5189,7 @@ class ESessionInfoWindow:
self.session.control._show_lock_image(True, 'E2E', True,
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.''')
security_image = 'gajim-security_low'
security_image = 'security-low'
verification_status = _('''Contact's identity NOT verified''')
self.window.set_title(verification_status)
@ -5246,13 +5246,13 @@ class GPGInfoWindow:
verification_status = _('''Contact's identity NOT verified''')
info = _('The contact\'s key (%s) <b>does not match</b> the key '
'assigned in Gajim.') % keyID[:8]
image = 'gajim-security_low'
image = 'security-low'
elif not keyID:
# No key assigned nor a key is used by remote contact
verification_status = _('No OpenPGP key assigned')
info = _('No OpenPGP key is assigned to this contact. So you cannot'
' encrypt messages.')
image = 'gajim-security_low'
image = 'security-low'
else:
error = gajim.connections[account].gpg.encrypt('test', [keyID])[1]
if error:
@ -5260,12 +5260,12 @@ class GPGInfoWindow:
info = _('OpenPGP key is assigned to this contact, but <b>you '
'do not trust his key</b>, so message <b>cannot</b> be '
'encrypted. Use your OpenPGP client to trust this key.')
image = 'gajim-security_low'
image = 'security-low'
else:
verification_status = _('''Contact's identity verified''')
info = _('OpenPGP Key is assigned to this contact, and you '
'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>' % \
verification_status)