Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dialect/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,12 @@ async def load_translator(self):
detail = str(exc)

if isinstance(exc, RequestError):
title = _("Couldn’t connect to the translation service")
description = _("We can’t connect to the server. Please check for network issues.")
title = _("Unable to connect to the translation service.")
description = _("Unable to connect to the server. Please check for network issues.")
if self.provider["trans"].supports_instances:
description = _(
(
"We can’t connect to the {service} instance “{url}“.\n"
"Unable to connect to the {service} instance “{url}“.\n"
"Please check for network issues or if the address is correct."
)
).format(service=service, url=url)
Expand Down Expand Up @@ -544,7 +544,7 @@ async def translate_selection(self, src_lang: str | None, dest_lang: str | None)
self.translate(text, src_lang, dest_lang)
except GLib.Error as exc:
logging.error(exc)
self.send_notification(_("Couldn’t read selection clip board!"))
self.send_notification(_("Unable to read the selected text."))

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