Philipp Hörist pushed to branch mainwindow at gajim / gajim
Commits:
c7396358 by lovetox at 2021-12-04T16:12:04+01:00
Fix comment typos
- - - - -
6 changed files:
- gajim/common/preview_helpers.py
- gajim/common/styling.py
- gajim/data/style/gajim.css
- gajim/gtk/chat_page.py
- gajim/gtk/conversation/scrolled.py
- gajim/gtk/preview.py
Changes:
=====================================
gajim/common/preview_helpers.py
=====================================
@@ -254,7 +254,7 @@ def parse_fragment(fragment: str) -> Tuple[bytes, bytes]:
fragment = binascii.unhexlify(fragment)
size = len(fragment)
# Clients started out with using a 16 byte IV but long term
- # want to swtich to the more performant 12 byte IV
+ # want to switch to the more performant 12 byte IV
# We have to support both
if size == 48:
key = fragment[16:]
=====================================
gajim/common/styling.py
=====================================
@@ -332,7 +332,7 @@ def _is_valid_span_end(line, index):
'''
https://xmpp.org/extensions/xep-0393.html#span
- ... and the closing styling directive MUST NOT be preceeded
+ ... and the closing styling directive MUST NOT be preceded
by a whitespace character ...
'''
=====================================
gajim/data/style/gajim.css
=====================================
@@ -406,7 +406,7 @@ .header-box-first label {
padding: 0px 18px 6px 18px;
}
-/* Seach view */
+/* Search view */
.search-view {
padding: 12px;
border-left: 1px solid @borders;
=====================================
gajim/gtk/chat_page.py
=====================================
@@ -216,7 +216,7 @@ def add_chat_for_workspace(self,
self._chat_stack.add_group_chat(account, jid)
elif type_ == 'pm':
if not self._startup_finished:
- # TODO: Currently we cant load private chats at start
+ # TODO: Currently we can’t load private chats at start
# because the Contacts dont exist yet
return
self._chat_stack.add_private_chat(account, jid)
=====================================
gajim/gtk/conversation/scrolled.py
=====================================
@@ -134,7 +134,7 @@ def _on_adj_value_changed(self, adj, *args):
if self._request_history_at_upper == adj.get_upper():
# Abort here if we already did a history request and the upper
# did not change. This can happen if we scroll very fast and the
- # value changes while the request has not been fullfilled.
+ # value changes while the request has not been fulfilled.
return
self._request_history_at_upper = None
=====================================
gajim/gtk/preview.py
=====================================
@@ -233,7 +233,7 @@ def _on_content_button_clicked(self, _button):
def _on_button_press_event(self, _button, event):
if event.type == Gdk.EventType.BUTTON_PRESS and event.button == 3:
- # Right klick
+ # Right click
menu = self._get_context_menu()
menu.popup_at_pointer(event)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c739635879455c497c0ab64c9d923feb3fadd922
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c739635879455c497c0ab64c9d923feb3fadd922
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits