Philipp Hörist pushed to branch master at gajim / gajim
Commits: 0b47c54d by Emmanuel Gil Peyrot at 2020-04-21T18:17:31+02:00 Fix typo s/entrys/entries/
- - - - -
4 changed files:
- gajim/common/logger.py - gajim/gtk/css_config.py - gajim/gtk/dataform.py - gajim/gui_menu_builder.py
Changes:
===================================== gajim/common/logger.py ===================================== @@ -1490,7 +1490,7 @@ class Logger: 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 @@ class Logger: 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): """
===================================== gajim/gtk/css_config.py ===================================== @@ -52,7 +52,7 @@ class CSSConfig():
# 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
===================================== gajim/gtk/dataform.py ===================================== @@ -37,7 +37,7 @@ from gajim.gtk.util import MaxWidthComboBoxText # 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):
===================================== gajim/gui_menu_builder.py ===================================== @@ -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 get_groupchat_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)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/0b47c54d5e9128e22695d72105ca53c6d...