Philipp Hörist pushed to branch master at gajim / gajim


Commits:
633eaf93 by André Apitzsch at 2024-04-02T09:23:33+00:00
cq: Fix some typos

- - - - -


3 changed files:

- gajim/common/const.py
- gajim/common/file_props.py
- gajim/gtk/util.py


Changes:

=====================================
gajim/common/const.py
=====================================
@@ -36,7 +36,7 @@ class EncryptionInfoMsg(Enum):
                          'it should be non-anonymous and members-only.')
     NO_FINGERPRINTS = _('To send an encrypted message, you have to decide '
                         'whether to trust the device of your contact.')
-    QUERY_DEVICES = _('No devices found to encypt this message to. '
+    QUERY_DEVICES = _('No devices found to encrypt this message to. '
                       'Querying for devices now…')
     UNDECIDED_FINGERPRINTS = _('There are devices for which you have not made '
                                'a trust decision yet.')


=====================================
gajim/common/file_props.py
=====================================
@@ -8,7 +8,7 @@
 >>> fp = FilesProp()
 Traceback (most recent call last):
     ...
-Exception: this class should not be instatiated
+Exception: this class should not be instantiated
 >>> print(FilesProp.getAllFileProp())
 []
 >>> fp = FilesProp.getNewFileProp('jabberid', '10')


=====================================
gajim/gtk/util.py
=====================================
@@ -885,7 +885,7 @@ def make_pango_attributes(block: PlainBlock) -> 
Pango.AttrList:
 def get_first_graphemes(text: str, n: int) -> str:
     # This should be possible with lower-level APIs like Pango.break_* or
     # Pango.get_log_attrs, but their Python bindings seem totally broken.
-    # The re-use of one global buffer is to mitigate very probable memory 
leaks.
+    # The reuse of one global buffer is to mitigate very probable memory leaks.
     _grapheme_buffer.set_text(text)
     cursor = _grapheme_buffer.get_start_iter()
     cursor.forward_cursor_positions(n)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/633eaf9395de18ca63afb2d5d4a20aac54b3f7d9

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/633eaf9395de18ca63afb2d5d4a20aac54b3f7d9
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to