Skip to content

Commit 78b9b2e

Browse files
authored
Merge branch 'main' into adw-1.8
2 parents 81657b4 + 2c1ab30 commit 78b9b2e

File tree

5 files changed

+193
-164
lines changed

5 files changed

+193
-164
lines changed

build-aux/flatpak/pypi-dependencies.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
"sources": [
1313
{
1414
"type": "file",
15-
"url": "https://files.pythonhosted.org/packages/50/cd/30110dc0ffcf3b131156077b90e9f60ed75711223f306da4db08eff8403b/beautifulsoup4-4.13.4-py3-none-any.whl",
16-
"sha256": "9bbbb14bfde9d79f38b8cd5f8c7c85f4b8f2523190ebed90e950a8dea4cb1c4b"
15+
"url": "https://files.pythonhosted.org/packages/1a/39/47f9197bdd44df24d67ac8893641e16f386c984a0619ef2ee4c51fbbc019/beautifulsoup4-4.14.3-py3-none-any.whl",
16+
"sha256": "0918bfe44902e6ad8d57732ba310582e98da931428d231a5ecb9e7c703a735bb"
1717
},
1818
{
1919
"type": "file",
20-
"url": "https://files.pythonhosted.org/packages/e7/9c/0e6afc12c269578be5c0c1c9f4b49a8d32770a080260c333ac04cc1c832d/soupsieve-2.7-py3-none-any.whl",
21-
"sha256": "6e60cc5c1ffaf1cebcc12e8188320b72071e922c2e897f737cadce79ad5d30c4"
20+
"url": "https://files.pythonhosted.org/packages/48/f3/b67d6ea49ca9154453b6d70b34ea22f3996b9fa55da105a79d8732227adc/soupsieve-2.8.1-py3-none-any.whl",
21+
"sha256": "a11fe2a6f3d76ab3cf2de04eb339c1be5b506a8a47f2ceb6d139803177f85434"
2222
},
2323
{
2424
"type": "file",
25-
"url": "https://files.pythonhosted.org/packages/b5/00/d631e67a838026495268c2f6884f3711a15a9a2a96cd244fdaea53b823fb/typing_extensions-4.14.1-py3-none-any.whl",
26-
"sha256": "d1e1e3b58374dc93031d6eda2420a48ea44a36c2b4766a4fdeb3710755731d76"
25+
"url": "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl",
26+
"sha256": "f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548"
2727
}
2828
]
2929
},
@@ -36,13 +36,13 @@
3636
"sources": [
3737
{
3838
"type": "file",
39-
"url": "https://files.pythonhosted.org/packages/4f/52/34c6cf5bb9285074dc3531c437b3919e825d976fde097a7a73f79e726d03/certifi-2025.7.14-py3-none-any.whl",
40-
"sha256": "6b31f564a415d79ee77df69d757bb49a5bb53bd9f756cbbe24394ffd6fc1f4b2"
39+
"url": "https://files.pythonhosted.org/packages/e6/ad/3cc14f097111b4de0040c83a525973216457bbeeb63739ef1ed275c1c021/certifi-2026.1.4-py3-none-any.whl",
40+
"sha256": "9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c"
4141
},
4242
{
4343
"type": "file",
44-
"url": "https://files.pythonhosted.org/packages/20/94/c5790835a017658cbfabd07f3bfb549140c3ac458cfc196323996b10095a/charset_normalizer-3.4.2-py3-none-any.whl",
45-
"sha256": "7f56930ab0abd1c45cd15be65cc741c28b1c9a34876ce8c17a2fa107810c0af0"
44+
"url": "https://files.pythonhosted.org/packages/0a/4c/925909008ed5a988ccbb72dcc897407e5d6d3bd72410d69e051fc0c14647/charset_normalizer-3.4.4-py3-none-any.whl",
45+
"sha256": "7a32c560861a02ff789ad905a2fe94e3f840803362c84fecf1851cb4cf3dc37f"
4646
},
4747
{
4848
"type": "file",
@@ -56,20 +56,20 @@
5656
},
5757
{
5858
"type": "file",
59-
"url": "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl",
60-
"sha256": "946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3"
59+
"url": "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl",
60+
"sha256": "771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea"
6161
},
6262
{
6363
"type": "file",
64-
"url": "https://files.pythonhosted.org/packages/7c/e4/56027c4a6b4ae70ca9de302488c5ca95ad4a39e190093d6c1a8ace08341b/requests-2.32.4-py3-none-any.whl",
65-
"sha256": "27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c"
64+
"url": "https://files.pythonhosted.org/packages/1e/db/4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3/requests-2.32.5-py3-none-any.whl",
65+
"sha256": "2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6"
6666
},
6767
{
6868
"type": "file",
69-
"url": "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl",
70-
"sha256": "e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc"
69+
"url": "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl",
70+
"sha256": "bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4"
7171
}
7272
]
7373
}
7474
]
75-
}
75+
}

dialect/window.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,12 +394,12 @@ async def load_translator(self):
394394
detail = str(exc)
395395

396396
if isinstance(exc, RequestError):
397-
title = _("Couldn’t connect to the translation service")
398-
description = _("We can’t connect to the server. Please check for network issues.")
397+
title = _("Unable to connect to the translation service.")
398+
description = _("Unable to connect to the server. Please check for network issues.")
399399
if self.provider["trans"].supports_instances:
400400
description = _(
401401
(
402-
"We can’t connect to the {service} instance “{url}“.\n"
402+
"Unable to connect to the {service} instance “{url}“.\n"
403403
"Please check for network issues or if the address is correct."
404404
)
405405
).format(service=service, url=url)
@@ -542,7 +542,7 @@ async def translate_selection(self, src_lang: str | None, dest_lang: str | None)
542542
self.translate(text, src_lang, dest_lang)
543543
except GLib.Error as exc:
544544
logging.error(exc)
545-
self.send_notification(_("Couldn’t read selection clip board!"))
545+
self.send_notification(_("Unable to read the selected text."))
546546

547547
def queue_selection_translation(self, src_lang: str | None, dest_lang: str | None):
548548
"""Call `translate_selection` or queue it until the window is focused"""

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "Dialect"
33
version = "2.6.0"
44
requires-python = ">=3.10"
55
dependencies = [
6-
"beautifulsoup4>=4.13.4",
6+
"beautifulsoup4>=4.14.3",
77
"gtts>=2.5.4",
88
]
99

@@ -25,7 +25,7 @@ ignore = ['po/']
2525

2626
[dependency-groups]
2727
dev = [
28-
"basedpyright>=1.31.0",
29-
"pygobject-stubs>=2.13.0",
30-
"ruff>=0.12.5",
28+
"pygobject-stubs>=2.16.0",
29+
"ruff>=0.14.11",
30+
"ty>=0.0.11",
3131
]

requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This file was autogenerated by uv via the following command:
22
# uv export --no-emit-workspace --no-dev --no-annotate --no-hashes --output-file requirements.txt
3-
beautifulsoup4==4.13.4
4-
certifi==2025.7.14
5-
charset-normalizer==3.4.2
3+
beautifulsoup4==4.14.3
4+
certifi==2026.1.4
5+
charset-normalizer==3.4.4
66
click==8.1.8
77
colorama==0.4.6 ; sys_platform == 'win32'
88
gtts==2.5.4
9-
idna==3.10
10-
requests==2.32.4
11-
soupsieve==2.7
12-
typing-extensions==4.14.1
13-
urllib3==2.5.0
9+
idna==3.11
10+
requests==2.32.5
11+
soupsieve==2.8.1
12+
typing-extensions==4.15.0
13+
urllib3==2.6.3

0 commit comments

Comments
 (0)