Skip to content
Snippets Groups Projects
Commit 0b47c54d authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Philipp Hörist
Browse files

Fix typo s/entrys/entries/

parent ab1f7084
No related branches found
No related tags found
No related merge requests found
......@@ -1490,7 +1490,7 @@ def _fill_muc_avatar_sha_cache(self):
rows = self._con.execute(sql).fetchall()
for row in rows:
self._muc_avatar_sha_cache[row.jid] = row.avatar_sha
log.info('%s Avatar SHA entrys loaded', len(rows))
log.info('%d Avatar SHA entries loaded', len(rows))
@timeit
def set_avatar_sha(self, account_jid, jid, sha=None):
......@@ -1632,7 +1632,7 @@ def _fill_disco_info_cache(self):
for row in rows:
disco_info = row.disco_info._replace(timestamp=row.last_seen)
self._disco_info_cache[row.jid] = disco_info
log.info('%s DiscoInfo entrys loaded', len(rows))
log.info('%d DiscoInfo entries loaded', len(rows))
def get_last_disco_info(self, jid, max_age=0):
"""
......
......@@ -52,7 +52,7 @@ def __init__(self):
# gajim-dark.css
Has only entrys which we want to override in gajim.css
Has only entries which we want to override in gajim.css
# default.css or default-dark.css
......
......@@ -37,7 +37,7 @@
# hide-fallback-fields Hide fallback fields in IBR form (ejabberd)
# left-width Width for labels
# read-only Read only mode for fields
# entry-activates-default Form entrys activate the default widget
# entry-activates-default Form entry activates the default widget
class DataFormWidget(Gtk.ScrolledWindow):
......
......@@ -529,13 +529,13 @@ def get_singlechat_menu(control_id, account, jid):
def build_chatstate_menu():
menu = Gio.Menu()
entrys = [
entries = [
(_('Disabled'), 'disabled'),
(_('Composing only'), 'composing_only'),
(_('All chat states'), 'all')
]
for entry in entrys:
for entry in entries:
label, setting = entry
action = 'win.send-chatstate-%s::%s' % (control_id, setting)
menu.append(label, action)
......@@ -646,13 +646,13 @@ def build_sync_menu():
def build_chatstate_menu():
menu = Gio.Menu()
entrys = [
entries = [
(_('Disabled'), 'disabled'),
(_('Composing only'), 'composing_only'),
(_('All chat states'), 'all')
]
for entry in entrys:
for entry in entries:
label, setting = entry
action = 'win.send-chatstate-%s::%s' % (control_id, setting)
menu.append(label, action)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment