Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion flow/core/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def _handle_error(self, args):
self.status = Download.STATUS_CONNECTION_ERROR
# Notify user
if args[0] != pycurl.E_ABORTED_BY_CALLBACK:
Notifier.notify(self.id, _("Downlod error"), _("An error occured while downloading"), "folder-download-symbolic")
Notifier.notify(self.id, _("Download error"), _("An error occurred while downloading"), "folder-download-symbolic")

def get_output_file_path(self):
if self.output_directory:
Expand Down
2 changes: 1 addition & 1 deletion flow/core/status_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def remove_download(id, delete_file=False):

con.execute("DELETE FROM downloads WHERE id = ?", (id,))
else:
logging.error(f"Attempted to delete a non-existant download (ID: {id})")
logging.error(f"Attempted to delete a non-existent download (ID: {id})")
con.close()

@staticmethod
Expand Down
4 changes: 2 additions & 2 deletions flow/ui/download_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def on_status_change(self, *__):
elif "error" in self.status:
self.state_stack.set_visible_child_name('restart')
self.actions_stack.set_visible_child_name('cancel')
self.details_text.set_label(DownloadItem.ERROR_MESSAGES.get(self.status, _("An error occured")))
self.details_text.set_label(DownloadItem.ERROR_MESSAGES.get(self.status, _("An error occurred")))
self.actions_activator('restart', 'delete', 'resume-with-link')
elif self.status == "moving":
self.details_text.set_label(_("Moving file..."))
Expand Down Expand Up @@ -179,7 +179,7 @@ def on_progress_change(self, *_):
if time_delta >= 10**6:
# Amount of data download in a second
progress_delta = self.progress - self.last_progress
# Update the progess
# Update the progress
if self.size > 0:
self.progress_bar.set_fraction(float(self.progress / self.size))
self.eta = get_eta(progress_delta, self.size - self.progress)
Expand Down
2 changes: 1 addition & 1 deletion po/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ msgid "Could not resume download"
msgstr "فشل استئناف التحميل"

#: src/components/download_item.py:125
msgid "An error occured"
msgid "An error occurred"
msgstr "حدث خطأ"

#: src/components/preferences/category_editor.py:86
Expand Down