Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

Mister Download Manager 0.2.1: Update now, issue forms, ghost windows (#4, #5), pressed states (#6)

Ahmed Nefzaoui634bf5e70f05
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2d534afb..c9a173ed 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -187,6 +187,7 @@ jobs:
- name: Publish release
env:
GH_TOKEN: ${{ github.token }}
+ MDM_RELEASE_KEY: ${{ secrets.MDM_RELEASE_KEY }}
shell: pwsh
run: |
# One SHA256SUMS.txt for every file (each build wrote its own).
@@ -194,6 +195,22 @@ jobs:
$files = Get-ChildItem dist -File | Sort-Object Name
$sums = $files | ForEach-Object { "$((Get-FileHash $_.FullName -Algorithm SHA256).Hash.ToLower()) $($_.Name)" }
Set-Content -Encoding ascii dist/SHA256SUMS.txt $sums
+ # Signed with MDM's release key (fingerprint 5826D399249DE856EA087D802E293C28E8A69D74, the
+ # MDM_RELEASE_KEY secret): MDM updates itself only from a list it signed
+ # (crates/tools/src/update.rs; the public key is crates/tools/keys/mdm-release.asc).
+ if ($env:MDM_RELEASE_KEY) {
+ $key = Join-Path $env:RUNNER_TEMP "mdm-release.asc"
+ Set-Content -Encoding ascii $key $env:MDM_RELEASE_KEY
+ gpg --batch --quiet --import $key
+ Remove-Item $key
+ gpg --batch --yes --detach-sign --local-user 5826D399249DE856EA087D802E293C28E8A69D74 `
+ --output dist/SHA256SUMS.txt.sig dist/SHA256SUMS.txt
+ if ($LASTEXITCODE) { throw "signing SHA256SUMS.txt failed" }
+ gpg --batch --verify dist/SHA256SUMS.txt.sig dist/SHA256SUMS.txt
+ if ($LASTEXITCODE) { throw "the signature of SHA256SUMS.txt doesn't verify" }
+ } else {
+ Write-Warning "MDM_RELEASE_KEY isn't set: this release is unsigned, and MDM won't update to it by itself."
+ }
# Notes: the version's section of CHANGELOG.md ("## [X.Y.Z]" up to the next "## "),
# else GitHub's list of changes since the last tag; first, the invitation to try the
# macOS and Linux builds when they are there.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3bfdccda..f7c9fe0a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,38 @@
Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see
`.github/workflows/release.yml`).
+## [0.2.1] - 2026-10-31
+
+### Added
+
+- **Update now** in Help → Check for updates: MDM downloads the new version, checks it, puts it
+ in place and restarts, on Windows (setup, portable and plain zip), Mac and Linux (AppImage,
+ .tar.gz; a .deb or .rpm opens in the system's installer). It installs only files listed in a
+ checksum list signed by MDM's release key, which every release now carries
+ (`SHA256SUMS.txt.sig`). The first update this way will be from 0.2.1 to the next version.
+
+### Fixed
+
+- **Ghost windows while a menu is open** (issue #4): faded copies of the main window titled
+ "egui window" opened and closed with every redraw of an open menu, and the toolbar's hover
+ flickered under them. On a Mac in full screen they opened a space of their own and froze MDM
+ (issue #5). They came with 0.2.0's menu keyboard support, which asked about a submenu's window
+ that wasn't open, and that made one.
+- **Check for updates**: the release notes scroll (the wheel, a trackpad, their scroll bar, and
+ the arrow, Page and Home/End keys); their lines no longer break mid-sentence, and links show
+ as their text (issue #5).
+- **Controls that didn't react to the mouse**: the ▾ of Address and Save As (Add URL, Download
+ File Info), the drop-down lists, check boxes, radio buttons, the Categories pane's ×, the
+ Scheduler's date button and calendar, scroll bars and the list's column headers now show
+ when the pointer is over them and when they're pressed, as Windows' own controls do; an
+ arrow stays pressed while its list is open.
+
+### Changed
+
+- **Help → Report a problem** opens GitHub's new bug report form with your MDM version, your
+ system and its version, how MDM was installed and its language filled in. Every report now
+ says which system and version it comes from.
+
## [0.2.0] - 2026-10-31
Mac fixes from the first round of real use, found on every system and fixed there too; the
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index b2554896..4c10482f 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -68,8 +68,9 @@ for how the language list, the installer and the right-to-left layout fit togeth
## Reporting problems
-Use **Help → Report a problem** in the app: it opens a GitHub issue with your version, Windows
-and language filled in. Security problems: see [SECURITY.md](SECURITY.md).
+Use **Help → Report a problem** in the app: it opens the bug report form with your version,
+system, how MDM was installed and its language filled in. The form asks for the same when you
+open it yourself. Security problems: see [SECURITY.md](SECURITY.md).
Pull requests are accepted under the project's licence, the
[GNU GPL, version 3 or later](LICENSE).
diff --git a/Cargo.lock b/Cargo.lock
index 67f3caf0..e0797bb8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4713,7 +4713,7 @@ dependencies = [
[[package]]
name = "mdm-app"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"arboard",
"base64 0.23.1",
@@ -4748,7 +4748,7 @@ dependencies = [
[[package]]
name = "mdm-cli"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"anyhow",
"clap",
@@ -4766,7 +4766,7 @@ dependencies = [
[[package]]
name = "mdm-engine"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"base64 0.23.1",
"boa_engine",
@@ -4801,7 +4801,7 @@ dependencies = [
[[package]]
name = "mdm-ipc"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"craft-atomic",
"dirs",
@@ -4812,7 +4812,7 @@ dependencies = [
[[package]]
name = "mdm-labserver"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"anyhow",
"axum",
@@ -4833,7 +4833,7 @@ dependencies = [
[[package]]
name = "mdm-mcp"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"mdm-ipc",
"rmcp",
@@ -4847,7 +4847,7 @@ dependencies = [
[[package]]
name = "mdm-nmhost"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"mdm-ipc",
"serde",
@@ -4856,7 +4856,7 @@ dependencies = [
[[package]]
name = "mdm-tools"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"craft-atomic",
"hex",
@@ -4875,7 +4875,7 @@ dependencies = [
[[package]]
name = "mdm-torrent"
-version = "0.2.0"
+version = "0.2.1"
dependencies = [
"librqbit",
"tempfile",
diff --git a/Cargo.toml b/Cargo.toml
index 4a2ad8b9..67e69db4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ resolver = "3"
members = ["crates/*"]
[workspace.package]
-version = "0.2.0"
+version = "0.2.1"
edition = "2024"
rust-version = "1.95"
license = "GPL-3.0-or-later"
diff --git a/README.md b/README.md
index 96dce513..a75a4920 100644
--- a/README.md
+++ b/README.md
@@ -368,8 +368,8 @@ MDM is an early preview: the engine and the main window are solid, some corners
- Not yet: code signing, Firefox out of testing. The macOS and Linux builds are untested.
Bug reports and ideas are welcome in
-[Issues](https://github.com/anefzaoui/misterdownloadmanager/issues): **Help → Report a problem**
-in the app fills in your version and Windows. Pull requests are accepted under the same licence: start with [CONTRIBUTING.md](CONTRIBUTING.md).
+[Issues](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose): **Help → Report a problem**
+in the app fills in your version and system. Pull requests are accepted under the same licence: start with [CONTRIBUTING.md](CONTRIBUTING.md).
## Licence and credits
diff --git a/crates/app/src/app.rs b/crates/app/src/app.rs
index 322f2077..b5527bcf 100644
--- a/crates/app/src/app.rs
+++ b/crates/app/src/app.rs
@@ -3772,10 +3772,20 @@ impl App {
self.about = None;
}
let mut weekly = self.settings.update_check;
- if let Some(d) = &mut self.updates
- && !matches!(d.show(ctx, &mut weekly), Outcome::Open)
- {
- self.updates = None;
+ let mut close_for_update = false;
+ if let Some(d) = &mut self.updates {
+ match d.show(ctx, &self.rt, &mut weekly) {
+ Outcome::Open => {}
+ // Update now: the new copy is going in place; MDM saves and closes for it.
+ Outcome::Done(true) => {
+ self.updates = None;
+ close_for_update = true;
+ }
+ _ => self.updates = None,
+ }
+ }
+ if close_for_update {
+ self.run(Cmd::Exit, None, ctx);
}
if weekly != self.settings.update_check {
self.settings.update_check = weekly;
diff --git a/crates/app/src/chrome.rs b/crates/app/src/chrome.rs
index cdccdc75..20cc8e39 100644
--- a/crates/app/src/chrome.rs
+++ b/crates/app/src/chrome.rs
@@ -443,37 +443,37 @@ fn entry_label<C>(e: &MenuEntry<C>) -> Option<(&'static str, bool)> {
}
}
+/// The keys an open menu takes from `i` (without Ctrl or Command: those are shortcuts).
+fn menu_keys(i: &egui::InputState) -> Vec<egui::Key> {
+ i.events
+ .iter()
+ .filter_map(|e| match e {
+ egui::Event::Key {
+ key,
+ pressed: true,
+ modifiers,
+ ..
+ } if !modifiers.command && !modifiers.ctrl => Some(*key),
+ _ => None,
+ })
+ .collect()
+}
+
/// Keys for an open menu (pressed in the main window or in the menu's own windows): Up and Down
/// move the highlight, Right opens a submenu or the next menu, Left closes a submenu or opens
/// the previous menu, Enter or an item's underlined letter runs it, Escape closes a submenu.
fn keyboard<C: Clone>(
ctx: &egui::Context,
- id: &str,
entries: &[MenuEntry<C>],
sub_key: egui::Id,
) -> Option<PopupResult<C>> {
let kb_key = sub_key.with("kb");
- let mut keys: Vec<egui::Key> = Vec::new();
- let mut grab = |i: &egui::InputState| {
- for e in &i.events {
- if let egui::Event::Key {
- key,
- pressed: true,
- modifiers,
- ..
- } = e
- && !modifiers.command
- && !modifiers.ctrl
- {
- keys.push(*key);
- }
- }
- };
- ctx.input(&mut grab);
- for depth in 0..2 {
- let vid = egui::ViewportId::from_hash_of(("menu", id, depth));
- ctx.input_for(vid, &mut grab);
- }
+ let mut keys = ctx.input(menu_keys);
+ // Pressed in the menu's own windows: popup_level noted them as those windows drew.
+ keys.extend(
+ ctx.data_mut(|d| d.remove_temp::<Vec<egui::Key>>(sub_key.with("window-keys")))
+ .unwrap_or_default(),
+ );
let (mut hl0, mut hl1): (Option<usize>, Option<usize>) =
ctx.data(|d| d.get_temp(kb_key)).unwrap_or_default();
if hl0 == Some(usize::MAX) {
@@ -591,7 +591,7 @@ pub fn popup<C: Clone>(
hint: &dyn Fn(&C) -> Option<&'static str>,
) -> PopupResult<C> {
let sub_key = egui::Id::unique(("popup-sub", id));
- if let Some(r) = keyboard(ctx, id, entries, sub_key) {
+ if let Some(r) = keyboard(ctx, entries, sub_key) {
ctx.data_mut(|d| {
d.remove::<usize>(sub_key);
d.remove::<(Option<usize>, Option<usize>)>(sub_key.with("kb"));
@@ -602,6 +602,9 @@ pub fn popup<C: Clone>(
.input(|i| i.viewport().inner_rect)
.map_or(Pos2::ZERO, |r| r.min);
let mut result = None;
+ // Set by the menu's windows as they draw (popup_level) when one of them has the focus.
+ let window_focus = sub_key.with("window-focus");
+ ctx.data_mut(|d| d.insert_temp(window_focus, false));
popup_level(
ctx,
id,
@@ -628,10 +631,7 @@ pub fn popup<C: Clone>(
// Focus in the menu's own windows is still ours: on macOS and Linux a click in a menu window
// gives that window the focus, and must not count as clicking away.
let focused = ctx.input(|i| i.viewport().focused) == Some(true)
- || (0..2).any(|depth| {
- let vid = egui::ViewportId::from_hash_of(("menu", id, depth));
- ctx.input_for(vid, |i| i.viewport().focused) == Some(true)
- });
+ || ctx.data(|d| d.get_temp::<bool>(window_focus).unwrap_or(false));
// (first pass, last pass, focused since): focus is only *lost* if it was had.
let (first, lost_focus) = ctx.data_mut(|d| {
let (first, last, had) = d
@@ -786,7 +786,26 @@ fn popup_level<C: Clone>(
// (index, slot top) of the submenu to show beside this menu.
let mut sub_at: Option<(usize, f32)> = None;
let vid = egui::ViewportId::from_hash_of(("menu", id, depth));
+ let parent_vid = ctx.viewport_id();
ctx.show_viewport_immediate(vid, builder, |ui, _| {
+ // What happens in this window, for popup() and keyboard(), which run in the parent's
+ // pass: they must not ask egui about a menu window by its id, which creates one when it
+ // isn't open (a submenu, mostly): an untitled copy of the main window, opened and closed
+ // every frame (issues #4 and #5: fading windows; on a full-screen Mac, a new space).
+ let (focused, keys) = ui.input(|i| (i.viewport().focused == Some(true), menu_keys(i)));
+ ui.ctx().data_mut(|d| {
+ if focused {
+ d.insert_temp(sub_key.with("window-focus"), true);
+ }
+ if !keys.is_empty() {
+ d.get_temp_mut_or_default::<Vec<egui::Key>>(sub_key.with("window-keys"))
+ .extend(keys.iter().copied());
+ }
+ });
+ if !keys.is_empty() {
+ // keyboard() takes them on the parent's next pass.
+ ui.ctx().request_repaint_of(parent_vid);
+ }
let w = size.x;
let painter = ui.painter().clone();
let o = ui.max_rect().min;
@@ -1318,8 +1337,8 @@ pub fn categories(
vec2(16.0, 15.0),
));
let cr = ui.interact(close, egui::Id::unique("cat-close"), Sense::click());
- if cr.hovered() {
- p.rect_filled(close, 2.0, grey(0x50));
+ if let Some(c) = winui::subtle_fill(winui::State::of(&cr, true), crate::theme::dark()) {
+ p.rect_filled(close, 2.0, c);
}
text_font(
&p,
diff --git a/crates/app/src/dialogs.rs b/crates/app/src/dialogs.rs
index 8a846bf9..c3f6bfe0 100644
--- a/crates/app/src/dialogs.rs
+++ b/crates/app/src/dialogs.rs
@@ -288,7 +288,7 @@ impl AddUrl {
addr.request_focus();
}
// The arrow: the addresses entered before.
- if winui::combo_arrow(ui, addr_rc, "add-url").clicked()
+ if winui::combo_arrow(ui, addr_rc, "add-url", self.list_open).clicked()
|| winui::combo_keys(ui, &addr)
{
self.list_open = !self.list_open;
@@ -627,7 +627,7 @@ impl FileInfo {
self.edited = true;
}
// The arrow: the folders saved to before.
- if winui::combo_arrow(ui, save_rc, "save-as").clicked()
+ if winui::combo_arrow(ui, save_rc, "save-as", self.folders_open).clicked()
|| winui::combo_keys(ui, &save)
{
self.folders_open = !self.folders_open;
diff --git a/crates/app/src/help.rs b/crates/app/src/help.rs
index bfa267ec..c1a3cdb8 100644
--- a/crates/app/src/help.rs
+++ b/crates/app/src/help.rs
@@ -36,19 +36,52 @@ pub fn open_page(path: &str) {
let _ = open::that_detached(url);
}
-/// A new GitHub issue, its form filled with what helps: this version, Windows, the language.
+/// A new GitHub issue on the Bug report form (.github/ISSUE_TEMPLATE/bug.yml), filled with
+/// what MDM knows: its version, the system and its version, how it was installed, the
+/// language. The parameters are the form's field ids; a dropdown takes an option's text.
pub fn report_problem() {
- #[cfg(windows)]
- let windows = crate::win32::windows_version();
- #[cfg(not(windows))]
- let windows = std::env::consts::OS.to_owned();
- let body = format!(
- "**What happened**\n\n\n**What you expected**\n\n\n**Steps to make it happen**\n1. \n\n---\n\
- Mister Download Manager {VERSION} ({COMMIT}) · {windows} · language {}\n",
- crate::i18n::code()
- );
let enc = |s: &str| url::form_urlencoded::byte_serialize(s.as_bytes()).collect::<String>();
- let _ = open::that_detached(format!("{REPO}/issues/new?body={}", enc(&body)));
+ let url = report_fields().iter().fold(
+ format!("{REPO}/issues/new?template=bug.yml"),
+ |url, (k, v)| format!("{url}&{k}={}", enc(v)),
+ );
+ let _ = open::that_detached(url);
+}
+
+/// The Bug report form's fields MDM fills in: (field id, value).
+fn report_fields() -> Vec<(&'static str, String)> {
+ #[cfg(windows)]
+ let os_version = crate::win32::windows_version();
+ #[cfg(unix)]
+ let os_version = crate::unix::os_version();
+ let os = if cfg!(windows) {
+ if os_version.contains("Windows 10") {
+ "Windows 10"
+ } else {
+ "Windows 11"
+ }
+ } else if cfg!(target_os = "macos") {
+ if cfg!(target_arch = "aarch64") {
+ "macOS (Apple Silicon)"
+ } else {
+ "macOS (Intel)"
+ }
+ } else if cfg!(target_os = "linux") {
+ "Linux"
+ } else {
+ "Other"
+ };
+ let mut fields = vec![
+ ("os", os.to_owned()),
+ ("os-version", os_version),
+ ("version", format!("{VERSION} ({COMMIT})")),
+ ("language", crate::i18n::code().to_owned()),
+ ];
+ fields.push((
+ "install",
+ mdm_tools::update::Install::detect().label().to_owned(),
+ ));
+ fields
}
/// Text that opens something when clicked: link colour, underlined under the pointer.
@@ -76,8 +109,10 @@ pub struct Release {
/// `YYYY-MM-DD`.
pub date: String,
pub notes: String,
- /// The release's page (the download is there; nothing installs by itself).
+ /// The release's page (its files are there too).
pub page: String,
+ /// Its files: (name, download address); Update now takes this copy's from them.
+ pub assets: Vec<(String, String)>,
}
#[derive(Clone, Debug, PartialEq)]
@@ -107,7 +142,9 @@ async fn latest() -> Result<Found, String> {
.build()
.map_err(|e| e.to_string())?;
let resp = client
- .get(LATEST)
+ // MDM_UPDATE_FEED: another address for the latest release (tests of Update now, as
+ // MDM_DATA_DIR is for a separate list).
+ .get(std::env::var("MDM_UPDATE_FEED").unwrap_or_else(|_| LATEST.to_owned()))
.header("Accept", "application/vnd.github+json")
.send()
.await
@@ -143,6 +180,19 @@ fn parse_release(json: &str, current: &str) -> Result<Found, String> {
date: s("published_at").chars().take(10).collect(),
notes: s("body"),
page: s("html_url"),
+ assets: v["assets"]
+ .as_array()
+ .map(|a| {
+ a.iter()
+ .filter_map(|x| {
+ Some((
+ x["name"].as_str()?.to_owned(),
+ x["browser_download_url"].as_str()?.to_owned(),
+ ))
+ })
+ .collect()
+ })
+ .unwrap_or_default(),
}))
}
@@ -169,6 +219,17 @@ pub fn newer(a: &str, b: &str) -> bool {
pub struct Updates {
slot: Option<Slot>,
result: Option<Result<Found, String>>,
+ /// Update now: the release file on its way (crate::update).
+ job: Option<crate::update::Job>,
+ /// What Update now came to, when it didn't close MDM.
+ status: Option<UpdateStatus>,
+}
+
+#[derive(Clone, Debug)]
+enum UpdateStatus {
+ Failed(String),
+ /// A .deb or .rpm, opened in the system's package installer.
+ Opened,
}
impl Updates {
@@ -176,6 +237,8 @@ impl Updates {
Updates {
slot: Some(check(rt, ctx)),
result: None,
+ job: None,
+ status: None,
}
}
@@ -184,15 +247,36 @@ impl Updates {
Updates {
slot: None,
result: Some(Ok(Found::Newer(release))),
+ job: None,
+ status: None,
}
}
- /// `weekly`: the once-a-week check (its switch is here, under the answer).
- pub fn show(&mut self, ctx: &egui::Context, weekly: &mut bool) -> Outcome<()> {
+ /// `weekly`: the once-a-week check (its switch is here, under the answer). `Done(true)`:
+ /// the update is going in place, MDM closes for it (and starts again).
+ pub fn show(
+ &mut self,
+ ctx: &egui::Context,
+ rt: &tokio::runtime::Handle,
+ weekly: &mut bool,
+ ) -> Outcome<bool> {
if let Some(r) = self.slot.as_ref().and_then(|s| s.lock().unwrap().take()) {
self.result = Some(r);
self.slot = None;
}
+ let install = mdm_tools::update::Install::detect();
+ // The release file arrived (checked): put it in place.
+ if let Some(res) = self.job.as_ref().and_then(crate::update::Job::result) {
+ self.job = None;
+ match res.and_then(|file| crate::update::apply(install, &file)) {
+ Ok(crate::update::Next::Restart) => return Outcome::Done(true),
+ Ok(crate::update::Next::Opened) => self.status = Some(UpdateStatus::Opened),
+ Err(e) => self.status = Some(UpdateStatus::Failed(e)),
+ }
+ }
+ if self.job.is_some() {
+ ctx.request_repaint_after(std::time::Duration::from_millis(100));
+ }
let result = self.result.clone();
// Compact unless there are release notes to show (then a window of its own size).
let notes = matches!(result, Some(Ok(Found::Newer(_))));
@@ -276,46 +360,110 @@ impl Updates {
Stroke::new(1.0, BOX_EDGE()),
egui::StrokeKind::Inside,
);
- let text = plain_notes(&rel.notes);
- let painter = p.with_clip_rect(winui::rect(notes.shrink(2.0)));
- winui::paragraph(
- &painter,
- notes.left() + 6.0,
- notes.top() + 16.0,
- &text,
+ // Release notes run longer than the box: it scrolls (issue #5).
+ winui::scroll_text(
+ ui,
+ egui::Id::unique("update-notes"),
+ notes,
+ &plain_notes(&rel.notes),
ink,
- notes.right() - 6.0,
13.0,
+ true,
);
- download = Some(rel.page.clone());
+ download = Some(rel.clone());
}
}
- winui::checkbox(
- ui,
- o + vec2(11.0, bottom + 4.0),
- weekly,
- "Check for updates once a week",
- true,
- );
+ // Under the answer: how Update now is going, else the weekly switch.
+ let status_rc = r(o, 11.0, bottom, 255.0, 21.0);
+ if let Some(job) = &self.job {
+ let fraction = job.progress.fraction();
+ let line = crate::i18n::fmt(
+ // i18n: Check for updates, while Update now downloads; {percent} like "42%"
+ crate::i18n::t("Downloading the update... {percent}"),
+ &[(
+ "percent",
+ &fraction.map_or(String::new(), |f| format!("{:.0}%", f * 100.0)),
+ )],
+ );
+ winui::text(&p, status_rc.left(), status_rc.top() + 9.0, &line, ink);
+ winui::progress_bar(
+ &p,
+ egui::Rect::from_min_size(
+ pos2(status_rc.left(), status_rc.top() + 15.0),
+ vec2(status_rc.width(), 4.0),
+ ),
+ fraction,
+ ui.input(|i| i.time),
+ );
+ } else if let Some(status) = &self.status {
+ let line = match status {
+ UpdateStatus::Failed(e) => crate::i18n::fmt(
+ crate::i18n::t("The update couldn't be installed: {error}"),
+ &[("error", e)],
+ ),
+ UpdateStatus::Opened => {
+ crate::i18n::t("The update is open in your system's package installer.")
+ .to_owned()
+ }
+ };
+ let (rect, cut) = winui::text_fit(
+ &p,
+ status_rc.left(),
+ status_rc.top() + 14.0,
+ &line,
+ ink,
+ status_rc.right(),
+ );
+ if cut {
+ winui::full_on_hover(ui, rect, "update-status", &line);
+ }
+ } else {
+ winui::checkbox(
+ ui,
+ o + vec2(11.0, bottom + 4.0),
+ weekly,
+ "Check for updates once a week",
+ true,
+ );
+ }
let close_label = if download.is_some() {
// i18n: button: not now (download the update later)
crate::i18n::mark("Later")
} else {
crate::i18n::mark("OK")
};
- if let Some(page) = &download {
- let get = winui::button(
- ui,
- r(o, 274.0, bottom, 73.0, 21.0),
- "Download",
- ButtonKind::Default,
- false,
- None,
- )
- .clicked();
- if get {
- let _ = open::that_detached(page);
- return Outcome::Done(());
+ // Enter presses the default button, as in the other dialogs.
+ let enter = ui.input(|i| i.key_pressed(egui::Key::Enter));
+ if let Some(rel) = &download {
+ // Update now when this copy's file is in the signed release (and it
+ // hasn't just failed); else Download opens the release's page.
+ let asset = crate::update::asset_for(install, &rel.version, &rel.assets)
+ .filter(|_| !matches!(self.status, Some(UpdateStatus::Failed(_))));
+ let at = r(o, 274.0, bottom, 73.0, 21.0);
+ if let Some(asset) = asset {
+ let idle = self.job.is_none();
+ let kind = if idle {
+ ButtonKind::Default
+ } else {
+ ButtonKind::Disabled
+ };
+ // i18n: button: download and install the new version, then restart
+ let update = winui::button(ui, at, "Update now", kind, false, None);
+ if update.clicked() || (enter && idle) {
+ self.status = None;
+ self.job = Some(crate::update::Job::start(
+ rt,
+ ui.ctx(),
+ rel.assets.clone(),
+ asset,
+ ));
+ }
+ } else if winui::button(ui, at, "Download", ButtonKind::Default, false, None)
+ .clicked()
+ || enter
+ {
+ let _ = open::that_detached(&rel.page);
+ return Outcome::Done(false);
}
}
let kind = if download.is_some() {
@@ -332,7 +480,10 @@ impl Updates {
None,
)
.clicked();
- if close || ui.input(|i| i.key_pressed(egui::Key::Escape)) {
+ if close
+ || ui.input(|i| i.key_pressed(egui::Key::Escape))
+ || (enter && download.is_none())
+ {
Outcome::Closed
} else {
Outcome::Open
@@ -342,19 +493,56 @@ impl Updates {
}
}
-/// Release notes (Markdown) as plain lines: headings, bullets and emphasis marks dropped.
+/// Release notes (Markdown) as plain lines: headings, bullets, emphasis marks and link
+/// addresses dropped (a link keeps its text). A paragraph or bullet wrapped over several lines
+/// in the Markdown is one line again (the box wraps it to its own width).
fn plain_notes(md: &str) -> String {
- md.lines()
- .map(|l| {
- let l = l.trim_end().trim_start_matches('#').trim_start();
- let l = l
- .strip_prefix("- ")
- .or_else(|| l.strip_prefix("* "))
- .map_or(l.to_owned(), |b| format!("• {b}"));
- l.replace("**", "").replace('`', "")
- })
- .collect::<Vec<_>>()
- .join("\n")
+ let mut out: Vec<String> = Vec::new();
+ let mut joinable = false;
+ for raw in md.lines() {
+ let l = raw.trim();
+ if l.is_empty() {
+ out.push(String::new());
+ joinable = false;
+ continue;
+ }
+ let heading = l.starts_with('#');
+ let bullet = l.strip_prefix("- ").or_else(|| l.strip_prefix("* "));
+ let text = link_texts(l.trim_start_matches('#').trim_start())
+ .replace("**", "")
+ .replace('`', "");
+ match (bullet, out.last_mut()) {
+ (None, Some(last)) if joinable && !heading => {
+ last.push(' ');
+ last.push_str(&text);
+ }
+ (Some(b), _) => {
+ let b = link_texts(b).replace("**", "").replace('`', "");
+ out.push(format!("• {b}"));
+ }
+ _ => out.push(text),
+ }
+ joinable = !heading;
+ }
+ out.join("\n")
+}
+
+/// `[text](address)` becomes `text`.
+fn link_texts(line: &str) -> String {
+ let mut out = String::new();
+ let mut rest = line;
+ while let Some(open) = rest.find('[') {
+ let after = &rest[open + 1..];
+ let Some(close) = after.find("](") else { break };
+ let Some(end) = after[close + 2..].find(')') else {
+ break;
+ };
+ out.push_str(&rest[..open]);
+ out.push_str(&after[..close]);
+ rest = &after[close + 2 + end + 1..];
+ }
+ out.push_str(rest);
+ out
}
// ---------------------------------------------------------------------------------------------
@@ -691,7 +879,8 @@ mod tests {
#[test]
fn a_release_is_read_from_github() {
let json = r###"{"tag_name":"v0.2.0","published_at":"2026-11-05T10:00:00Z",
- "html_url":"https://github.com/x/y/releases/tag/v0.2.0","body":"## New\n- Faster"}"###;
+ "html_url":"https://github.com/x/y/releases/tag/v0.2.0","body":"## New\n- Faster",
+ "assets":[{"name":"SHA256SUMS.txt","browser_download_url":"https://x/SHA256SUMS.txt"}]}"###;
assert_eq!(
parse_release(json, "0.1.0").unwrap(),
Found::Newer(Release {
@@ -699,6 +888,7 @@ mod tests {
date: "2026-11-05".into(),
notes: "## New\n- Faster".into(),
page: "https://github.com/x/y/releases/tag/v0.2.0".into(),
+ assets: vec![("SHA256SUMS.txt".into(), "https://x/SHA256SUMS.txt".into())],
})
);
assert_eq!(parse_release(json, "0.2.0").unwrap(), Found::Latest);
@@ -711,5 +901,44 @@ mod tests {
plain_notes("## New\n- **Faster** `x`\n* b"),
"New\n• Faster x\n• b"
);
+ assert_eq!(
+ plain_notes("Tell us in an [issue](https://x/issues), or [the guide](docs/a.md#b)."),
+ "Tell us in an issue, or the guide."
+ );
+ assert_eq!(plain_notes("[not a link] and [x]"), "[not a link] and [x]");
+ // Hard-wrapped Markdown: one line per paragraph and per bullet.
+ assert_eq!(
+ plain_notes("Fixes for\nthe Mac.\n\n### Fixed\n\n- **Menus** did\n nothing.\n- Paste"),
+ "Fixes for the Mac.\n\nFixed\n\n• Menus did nothing.\n• Paste"
+ );
+ }
+
+ #[test]
+ fn the_report_fills_fields_the_bug_form_has() {
+ let form = include_str!("../../../.github/ISSUE_TEMPLATE/bug.yml").replace("\r\n", "\n");
+ let has = |line: String| form.contains(&format!("{line}\n"));
+ let fields = report_fields();
+ for (id, value) in &fields {
+ assert!(has(format!("id: {id}")), "no field {id} in bug.yml");
+ // A dropdown takes one of its options' text.
+ if matches!(*id, "os" | "install") {
+ assert!(has(format!("- {value}")), "{id}: {value:?} isn't an option");
+ }
+ }
+ assert!(fields.iter().any(|(id, _)| *id == "install"));
+ // Every value Install::label() and report_fields() can give, on any system.
+ for install in mdm_tools::update::Install::ALL {
+ assert!(has(format!("- {}", install.label())), "{}", install.label());
+ }
+ for option in [
+ "Windows 11",
+ "Windows 10",
+ "macOS (Apple Silicon)",
+ "macOS (Intel)",
+ "Linux",
+ "Other",
+ ] {
+ assert!(has(format!("- {option}")), "{option}");
+ }
}
}
diff --git a/crates/app/src/list.rs b/crates/app/src/list.rs
index 144e74bf..2d18e3ef 100644
--- a/crates/app/src/list.rs
+++ b/crates/app/src/list.rs
@@ -574,12 +574,31 @@ pub fn show(
let p = p.with_clip_rect(screen(header));
fill(&p, cl, ct, rr, ct + HEADER_H - 1.0, HEADER_BG());
for (c, x0, x1) in &cols {
+ let hovered = hresp
+ .hover_pos()
+ .map(english)
+ .is_some_and(|h| h.x >= *x0 && h.x <= *x1 && st.drag.is_none());
+ // The column under the pointer, and pressed while the mouse button is held on it (as
+ // Windows' headers); the shared tint (winui::subtle_fill).
+ let state = match (hovered, hresp.is_pointer_button_down_on()) {
+ (false, _) => winui::State::Normal,
+ (true, false) => winui::State::Hot,
+ (true, true) => winui::State::Pressed,
+ };
+ let tint = winui::subtle_fill(state, crate::theme::dark());
// The sorted column: highlighted header and a chevron at its right edge (▲ ascending,
// ▼ descending).
if let Some((sc, asc)) = st.sort
&& sc == *c
{
- fill(&p, *x0, ct, x1 - 1.0, ct + HEADER_H - 1.0, SORTED_BG());
+ fill(
+ &p,
+ *x0,
+ ct,
+ x1 - 1.0,
+ ct + HEADER_H - 1.0,
+ tint.unwrap_or(SORTED_BG()),
+ );
// At the cell's right edge, vertically centred in the header.
let cx = x1 - 9.0;
let mid = ct + (HEADER_H / 2.0).floor() - 2.0;
@@ -588,6 +607,8 @@ pub fn show(
let half = i as f32;
fill(&p, cx - half, y, cx + half, y, SORT_ARROW());
}
+ } else if let Some(t) = tint {
+ fill(&p, *x0, ct, x1 - 1.0, ct + HEADER_H - 1.0, t);
}
fill(&p, *x1, ct, *x1, ct + HEADER_H - 1.0, HEADER_SEP());
let mut arrow_room = if st.sort.is_some_and(|(sc, _)| sc == *c) {
@@ -599,10 +620,6 @@ pub fn show(
// its box is open; blue while the column is filtered. A column too narrow for a label
// and the funnel (Q) shows it only under the pointer.
let filtered = st.filters[*c].is_some();
- let hovered = hresp
- .hover_pos()
- .map(english)
- .is_some_and(|h| h.x >= *x0 && h.x <= *x1 && st.drag.is_none());
let open = st.filter_open.is_some_and(|(fc, _)| fc == *c);
let roomy = x1 - x0 >= 44.0;
if roomy || filtered || hovered || open {
diff --git a/crates/app/src/main.rs b/crates/app/src/main.rs
index 08bc1f32..bbcd2c14 100644
--- a/crates/app/src/main.rs
+++ b/crates/app/src/main.rs
@@ -34,6 +34,7 @@ mod transfer;
mod tray;
#[cfg(unix)]
mod unix;
+mod update;
mod videodlg;
#[cfg(windows)]
mod win32;
@@ -94,19 +95,30 @@ fn main() -> eframe::Result {
// IDM-style command line; hand it to a running instance if there is one.
let args: Vec<String> = std::env::args().skip(1).collect();
let cmd = mdm_ipc::parse_args(&args);
- if mdm_ipc::send(&cmd.clone().unwrap_or_default()).is_ok()
- || cmd.as_ref().is_some_and(|c| c.exit)
+ // Started by an update (update.rs): the old copy may still be closing; this one waits for
+ // it rather than handing it anything.
+ let after_update = args.iter().any(|a| a.eq_ignore_ascii_case(update::UPDATED));
+ if !after_update
+ && (mdm_ipc::send(&cmd.clone().unwrap_or_default()).is_ok()
+ || cmd.as_ref().is_some_and(|c| c.exit))
{
return Ok(());
}
// No instance answered. Only one launch may become the instance (two started together
// would both get here); the other forwards its command once the winner listens.
- let Some(_instance) = mdm_ipc::instance_lock() else {
+ let lock = if after_update {
+ update::lock_after_update()
+ } else {
+ mdm_ipc::instance_lock()
+ };
+ let Some(_instance) = lock else {
let _ = mdm_ipc::send_waiting(&cmd.unwrap_or_default(), std::time::Duration::from_secs(10));
return Ok(());
};
#[cfg(windows)]
win32::mark_running();
+ // What an earlier update set aside (old programs, a Mac's old app, downloaded files).
+ update::tidy();
// Downloads run on a Tokio runtime; the UI thread only reads snapshots.
let rt = tokio::runtime::Runtime::new().expect("tokio runtime");
diff --git a/crates/app/src/scheduler.rs b/crates/app/src/scheduler.rs
index a2268381..05d1b346 100644
--- a/crates/app/src/scheduler.rs
+++ b/crates/app/src/scheduler.rs
@@ -1165,7 +1165,7 @@ fn time_picker(
Rect::from_min_max(rc.min, rc.max + vec2(extra, 0.0))
};
let hover = ui.interact(rc, egui::Id::unique(("time-picker", id)), Sense::hover());
- winui::dropdown_frame_light(&p, rc, enabled, false, false);
+ winui::dropdown_frame_light(&p, rc, winui::State::of(&hover, enabled));
// A time reads left to right in every language: its fields are laid out on screen as they
// are; in RTL the up-down is at the left and the fields follow it.
let spin = if rtl {
@@ -1416,7 +1416,7 @@ fn date_picker(
let key = egui::Id::unique(("date-picker", id));
let hover = ui.interact(rc, key, Sense::hover());
let mut open = ui.data(|d| d.get_temp::<bool>(key).unwrap_or(false)) && enabled;
- winui::dropdown_frame_light(&p, rc, enabled, false, open);
+ winui::dropdown_frame_light(&p, rc, winui::State::of(&hover, enabled).open_if(open));
let sel = match focus.at {
Some((fid, f)) if fid == id && enabled => Some(f),
_ => None,
@@ -1467,10 +1467,15 @@ fn date_picker(
pos2(winui::rect(rc).right() - 20.0, rc.top()),
winui::rect(rc).max,
));
- if ui
- .interact(drop, key.with("drop"), Sense::click())
- .clicked()
- {
+ let drop_resp = ui.interact(drop, key.with("drop"), Sense::click());
+ winui::tint_part(
+ &p,
+ drop.shrink(1.0),
+ winui::State::of(&drop_resp, true).open_if(open),
+ false,
+ |p| winui::chevron_light(p, chevron, true),
+ );
+ if drop_resp.clicked() {
open = !open;
}
for (i, fr) in rects.iter().enumerate() {
@@ -1578,8 +1583,8 @@ fn calendar(ui: &mut Ui, key: egui::Id, under: Rect, date: NaiveDate) -> Option<
for (dir, x, glyph) in [(-1, rect.left() + 8.0, "<"), (1, rect.right() - 22.0, ">")] {
let b = Rect::from_min_size(pos2(x, rect.top() + 5.0), vec2(14.0, 16.0));
let r = ui.interact(winui::rect(b), key.with(("cal-nav", dir)), Sense::click());
- if r.hovered() {
- p.rect_filled(winui::rect(b), 2.0, winui::rgb_hex(0xe5f1fb));
+ if let Some(c) = winui::highlight_fill(winui::State::of(&r, true)) {
+ p.rect_filled(winui::rect(b), 2.0, c);
}
text(&p, b.left() + 4.0, b.top() + 12.0, glyph, LIGHT_TEXT);
if r.clicked() {
@@ -1615,8 +1620,8 @@ fn calendar(ui: &mut Ui, key: egui::Id, under: Rect, date: NaiveDate) -> Option<
let mark = winui::rect(cell.shrink(1.0));
if chosen {
p.rect_filled(mark, 3.0, winui::rgb_hex(0x0078d7));
- } else if r.hovered() {
- p.rect_filled(mark, 3.0, winui::rgb_hex(0xe5f1fb));
+ } else if let Some(c) = winui::highlight_fill(winui::State::of(&r, true)) {
+ p.rect_filled(mark, 3.0, c);
}
if day == today && !chosen {
p.rect_stroke(
diff --git a/crates/app/src/scrollbar.rs b/crates/app/src/scrollbar.rs
index af6c8cfd..5353c12f 100644
--- a/crates/app/src/scrollbar.rs
+++ b/crates/app/src/scrollbar.rs
@@ -6,6 +6,15 @@ use egui::{Color32, Pos2, Rect, Sense, Ui, pos2};
use crate::winui::{fill, px};
+/// A part of the bar, for the one held down.
+#[derive(Clone, Copy, PartialEq, Eq)]
+enum Part {
+ First,
+ Second,
+ Thumb,
+ Track,
+}
+
/// Bar thickness and arrow-zone length (SM_CXVSCROLL at 96 DPI).
pub const THICK: f32 = 17.0;
use crate::theme::themed;
@@ -16,6 +25,9 @@ themed! {
TRACK = Color32::from_gray(0x17), Color32::from_gray(0xf0);
pub CORNER = Color32::from_gray(0x38), Color32::from_gray(0xf0);
INK_C = Color32::from_gray(0x95), Color32::from_gray(0x85);
+ /// A pressed arrow or thumb (a dragged thumb too): brighter on the dark track, darker on
+ /// the light one, as Windows 11's bars answer a press.
+ INK_PRESSED = Color32::from_gray(0xc8), Color32::from_gray(0x5c);
}
/// Measured glyphs over the #17 track, columns = across the bar from v 5 (up/down) or rows =
@@ -154,8 +166,29 @@ pub fn bar(
let span = |a: Pos2, b: Pos2, c: Color32| fill(&p, a.x.min(b.x), a.y, a.x.max(b.x), b.y, c);
// Measured greys over the dark track (#17 → ink #95) become coverage, so the same grids
// draw in both modes.
- let ink = INK_C();
- let dot = |u: f32, v: f32, g: u8| {
+ // The part held down: the first arrow, the second, or the thumb (also while dragged).
+ let held = (resp.is_pointer_button_down_on() || resp.dragged())
+ .then(|| resp.interact_pointer_pos().map(along))
+ .flatten()
+ .map(|u| {
+ if resp.dragged() || (u >= s && u <= e && u >= THICK && u < len - THICK) {
+ Part::Thumb
+ } else if u < THICK {
+ Part::First
+ } else if u >= len - THICK {
+ Part::Second
+ } else {
+ Part::Track
+ }
+ });
+ let ink_of = |part: Part| {
+ if held == Some(part) {
+ INK_PRESSED()
+ } else {
+ INK_C()
+ }
+ };
+ let dot = |u: f32, v: f32, g: u8, ink: Color32| {
if g != 0x17 {
let a = ((g as f32 - 23.0) / (149.0 - 23.0)).clamp(0.0, 1.0);
let q = at(u, v);
@@ -166,10 +199,11 @@ pub fn bar(
if thumb > 0.0 {
if expanded {
// 6 px thumb at v 6..11 with rounded caps.
+ let ink = ink_of(Part::Thumb);
for (i, row) in CAP.iter().enumerate() {
for (j, g) in row.iter().enumerate() {
- dot(s + i as f32, 6.0 + j as f32, *g);
- dot(e - i as f32, 6.0 + j as f32, *g);
+ dot(s + i as f32, 6.0 + j as f32, *g, ink);
+ dot(e - i as f32, 6.0 + j as f32, *g, ink);
}
}
span(at(s + 4.0, 6.0), at(e - 4.0, 11.0), ink);
@@ -177,16 +211,22 @@ pub fn bar(
let first = if vertical { 6.0 } else { 5.0 };
for (i, row) in UP.iter().enumerate() {
for (j, g) in row.iter().enumerate() {
- dot(first + i as f32, 5.0 + j as f32, *g);
- dot(len - 6.0 - i as f32, 5.0 + j as f32, *g);
+ dot(first + i as f32, 5.0 + j as f32, *g, ink_of(Part::First));
+ dot(
+ len - 6.0 - i as f32,
+ 5.0 + j as f32,
+ *g,
+ ink_of(Part::Second),
+ );
}
}
} else {
// 2 px line at v 8..9, one #85 pixel at each end.
+ let ink = INK_C();
span(at(s, 8.0), at(e, 9.0), ink);
for v in [8.0, 9.0] {
- dot(s, v, 0x85);
- dot(e, v, 0x85);
+ dot(s, v, 0x85, ink);
+ dot(e, v, 0x85, ink);
}
}
}
diff --git a/crates/app/src/unix.rs b/crates/app/src/unix.rs
index f74a21d9..ae0ce571 100644
--- a/crates/app/src/unix.rs
+++ b/crates/app/src/unix.rs
@@ -118,6 +118,28 @@ pub fn play_sound(file: &str) {
}
}
+/// The system and its version, for problem reports: "macOS 15.1" (sw_vers), or the Linux
+/// distribution's name from /etc/os-release ("Ubuntu 24.04.1 LTS").
+pub fn os_version() -> String {
+ if cfg!(target_os = "macos") {
+ let v = Command::new("sw_vers")
+ .arg("-productVersion")
+ .output()
+ .ok()
+ .map(|o| String::from_utf8_lossy(&o.stdout).trim().to_owned())
+ .unwrap_or_default();
+ return format!("macOS {v}").trim_end().to_owned();
+ }
+ std::fs::read_to_string("/etc/os-release")
+ .ok()
+ .and_then(|t| {
+ t.lines()
+ .find_map(|l| l.strip_prefix("PRETTY_NAME="))
+ .map(|v| v.trim_matches('"').to_owned())
+ })
+ .unwrap_or_else(|| "Linux".into())
+}
+
/// Show the file selected in the file manager (macOS: Finder; Linux: the desktop's file
/// manager through D-Bus, else its folder opened).
pub fn show_in_folder(path: &Path) {
diff --git a/crates/app/src/update.rs b/crates/app/src/update.rs
new file mode 100644
index 00000000..c7d47b51
--- /dev/null
+++ b/crates/app/src/update.rs
@@ -0,0 +1,251 @@
+//! Updating in place (Help → Check for updates → Update now): this copy's release file, fetched
+//! and checked in the background (`mdm_tools::update`: the release's signed checksum list), then
+//! put where this copy is. MDM closes for it; the new copy starts with `/updated`, waits for the
+//! old one to be gone, and removes what the update set aside.
+
+use std::path::{Path, PathBuf};
+use std::process::Command;
+use std::sync::{Arc, Mutex};
+use std::time::{Duration, Instant};
+
+use mdm_tools::update::{Install, Progress};
+
+/// The switch the updated copy starts with.
+pub const UPDATED: &str = "/updated";
+
+/// What follows once the file is in place.
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub enum Next {
+ /// MDM closes; the new copy is starting (or the installer is running and starts it).
+ Restart,
+ /// Handed to the system's package installer (a .deb or .rpm): MDM stays open.
+ Opened,
+}
+
+/// The release file this copy updates from, when `assets` (name, address) has it and the
+/// signature of the release's checksum list.
+pub fn asset_for(install: Install, version: &str, assets: &[(String, String)]) -> Option<String> {
+ let name = install.asset(version)?;
+ let has = |n: &str| assets.iter().any(|(a, _)| a == n);
+ (has(&name) && has("SHA256SUMS.txt") && has("SHA256SUMS.txt.sig")).then_some(name)
+}
+
+/// Where update files are kept until the next start.
+fn folder() -> Option<PathBuf> {
+ mdm_ipc::data_dir().map(|d| d.join("updates"))
+}
+
+/// A release file on its way: its progress, then the checked file or why not.
+pub struct Job {
+ pub progress: Arc<Progress>,
+ slot: Arc<Mutex<Option<Result<PathBuf, String>>>>,
+}
+
+impl Job {
+ pub fn start(
+ rt: &tokio::runtime::Handle,
+ ctx: &egui::Context,
+ assets: Vec<(String, String)>,
+ name: String,
+ ) -> Job {
+ let progress = Arc::new(Progress::default());
+ let slot = Arc::new(Mutex::new(None));
+ let (p, out, ctx) = (progress.clone(), slot.clone(), ctx.clone());
+ // Repaint while it runs, for the progress bar.
+ let ticker = ctx.clone();
+ rt.spawn(async move {
+ let res = match folder() {
+ Some(dir) => mdm_tools::update::fetch(&assets, &name, &dir, &p)
+ .await
+ .map_err(|e| e.to_string()),
+ None => Err("no data folder".into()),
+ };
+ *out.lock().unwrap() = Some(res);
+ ctx.request_repaint();
+ });
+ ticker.request_repaint_after(Duration::from_millis(200));
+ Job { progress, slot }
+ }
+
+ /// The checked file, or why not, once the download ended.
+ pub fn result(&self) -> Option<Result<PathBuf, String>> {
+ self.slot.lock().unwrap().take()
+ }
+}
+
+/// Put `file` (checked) in place of this `install`.
+pub fn apply(install: Install, file: &Path) -> Result<Next, String> {
+ let exe = std::env::current_exe().map_err(|e| e.to_string())?;
+ let dir = exe.parent().ok_or("no program folder")?.to_owned();
+ let unpack_dir = || -> Result<PathBuf, String> {
+ let d = folder().ok_or("no data folder")?.join("unpacked");
+ let _ = std::fs::remove_dir_all(&d);
+ std::fs::create_dir_all(&d).map_err(|e| e.to_string())?;
+ Ok(d)
+ };
+ let restart = |program: &Path| -> Result<Next, String> {
+ Command::new(program)
+ .arg(UPDATED)
+ .spawn()
+ .map_err(|e| e.to_string())?;
+ Ok(Next::Restart)
+ };
+ match install {
+ // The installer closes MDM itself (/exit), installs where it was (the same install
+ // mode), and starts it again (/relaunch, tools/installer/mdm.iss).
+ Install::Installer => {
+ Command::new(file)
+ .args([
+ "/VERYSILENT",
+ "/SUPPRESSMSGBOXES",
+ "/NORESTART",
+ "/relaunch=1",
+ ])
+ .spawn()
+ .map_err(|e| e.to_string())?;
+ Ok(Next::Restart)
+ }
+ Install::PortableZip | Install::PlainZip => {
+ let out = unpack_dir()?;
+ mdm_tools::update::unzip(file, &out).map_err(|e| e.to_string())?;
+ let new = mdm_tools::update::single_folder(&out);
+ // A portable copy's list and settings stay where they are.
+ mdm_tools::update::replace_files(&new, &dir, &["data"]).map_err(|e| e.to_string())?;
+ restart(&exe)
+ }
+ Install::TarGz => {
+ let out = unpack_dir()?;
+ let ok = Command::new("tar")
+ .arg("-xzf")
+ .arg(file)
+ .arg("-C")
+ .arg(&out)
+ .status()
+ .is_ok_and(|s| s.success());
+ if !ok {
+ return Err("couldn't unpack the update".into());
+ }
+ let new = mdm_tools::update::single_folder(&out);
+ mdm_tools::update::replace_files(&new, &dir, &[]).map_err(|e| e.to_string())?;
+ restart(&exe)
+ }
+ Install::AppImage => {
+ let target = std::env::var_os("APPIMAGE")
+ .map(PathBuf::from)
+ .ok_or("not running as an AppImage")?;
+ let staged = target.with_extension("AppImage.new");
+ std::fs::copy(file, &staged).map_err(|e| e.to_string())?;
+ #[cfg(unix)]
+ {
+ use std::os::unix::fs::PermissionsExt;
+ std::fs::set_permissions(&staged, std::fs::Permissions::from_mode(0o755))
+ .map_err(|e| e.to_string())?;
+ }
+ std::fs::rename(&staged, &target).map_err(|e| e.to_string())?;
+ restart(&target)
+ }
+ Install::Dmg => {
+ let bundle = mdm_tools::update::app_bundle(&exe).ok_or("not in an app bundle")?;
+ let mount = folder().ok_or("no data folder")?.join("mount");
+ std::fs::create_dir_all(&mount).map_err(|e| e.to_string())?;
+ let run = |c: &mut Command| c.status().is_ok_and(|s| s.success());
+ if !run(Command::new("hdiutil")
+ .args(["attach", "-nobrowse", "-readonly", "-mountpoint"])
+ .arg(&mount)
+ .arg(file))
+ {
+ return Err("couldn't open the update's disk image".into());
+ }
+ let name = bundle.file_name().ok_or("no app name")?.to_owned();
+ let staged = bundle.with_extension("app.new");
+ let _ = std::fs::remove_dir_all(&staged);
+ let copied = run(Command::new("ditto").arg(mount.join(&name)).arg(&staged));
+ run(Command::new("hdiutil").arg("detach").arg(&mount));
+ if !copied {
+ return Err("couldn't copy the new app".into());
+ }
+ // The running app is renamed aside (removed on the next start), the new one takes
+ // its place.
+ let old = bundle.with_extension("app.old");
+ let _ = std::fs::remove_dir_all(&old);
+ std::fs::rename(&bundle, &old).map_err(|e| e.to_string())?;
+ std::fs::rename(&staged, &bundle).map_err(|e| e.to_string())?;
+ Command::new("open")
+ .arg("-n")
+ .arg(&bundle)
+ .args(["--args", UPDATED])
+ .spawn()
+ .map_err(|e| e.to_string())?;
+ Ok(Next::Restart)
+ }
+ // Installing a package needs the administrator: the system's installer asks.
+ Install::Deb | Install::Rpm => {
+ open::that_detached(file).map_err(|e| e.to_string())?;
+ Ok(Next::Opened)
+ }
+ Install::Source => Err("built from source: update it from the repository".into()),
+ }
+}
+
+/// The single-instance lock for a copy started by an update (`/updated`): the old copy may
+/// still be saving and closing, so it is waited for (up to 20 s).
+pub fn lock_after_update() -> Option<std::fs::File> {
+ let start = Instant::now();
+ loop {
+ if let Some(lock) = mdm_ipc::instance_lock() {
+ return Some(lock);
+ }
+ if start.elapsed() > Duration::from_secs(20) {
+ return None;
+ }
+ std::thread::sleep(Duration::from_millis(200));
+ }
+}
+
+/// At start, once this is the running copy: what an update set aside (the old programs, a
+/// Mac's old app) and its downloaded files are removed.
+pub fn tidy() {
+ let Ok(exe) = std::env::current_exe() else {
+ return;
+ };
+ if let Some(dir) = exe.parent() {
+ mdm_tools::update::remove_old(dir);
+ }
+ if let Some(bundle) = mdm_tools::update::app_bundle(&exe) {
+ let _ = std::fs::remove_dir_all(bundle.with_extension("app.old"));
+ }
+ if let Some(dir) = folder() {
+ // A running installer (it starts the new copy before it ends) keeps its file: the next
+ // start removes it.
+ let _ = std::fs::remove_dir_all(dir);
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn only_a_signed_release_with_this_copys_file_updates_it() {
+ let a = |names: &[&str]| -> Vec<(String, String)> {
+ names
+ .iter()
+ .map(|n| (n.to_string(), format!("https://x/{n}")))
+ .collect()
+ };
+ let full = a(&[
+ "MisterDownloadManager-0.2.2-setup.exe",
+ "SHA256SUMS.txt",
+ "SHA256SUMS.txt.sig",
+ ]);
+ assert_eq!(
+ asset_for(Install::Installer, "0.2.2", &full).as_deref(),
+ Some("MisterDownloadManager-0.2.2-setup.exe")
+ );
+ // An unsigned release, another kind's file, a build from source: no.
+ let unsigned = a(&["MisterDownloadManager-0.2.2-setup.exe", "SHA256SUMS.txt"]);
+ assert_eq!(asset_for(Install::Installer, "0.2.2", &unsigned), None);
+ assert_eq!(asset_for(Install::PortableZip, "0.2.2", &full), None);
+ assert_eq!(asset_for(Install::Source, "0.2.2", &full), None);
+ }
+}
diff --git a/crates/app/src/winui.rs b/crates/app/src/winui.rs
index 4a55d1c2..3d378a52 100644
--- a/crates/app/src/winui.rs
+++ b/crates/app/src/winui.rs
@@ -543,6 +543,142 @@ fn no_line_start(c: char) -> bool {
.contains(c)
}
+/// A Windows 11 progress bar in `rc` (a few pixels tall): a thin track and the accent filled to
+/// `fraction`; while the total is unknown (`None`) a segment runs along it (`time`: seconds,
+/// for its place).
+pub fn progress_bar(p: &Painter, rc: Rect, fraction: Option<f32>, time: f64) {
+ let dark = crate::theme::dark();
+ let (track, accent) = if dark {
+ (rgb(0x9a, 0x9a, 0x9a), rgb(0x60, 0xcd, 0xff))
+ } else {
+ (rgb(0x86, 0x86, 0x86), rgb(0x00, 0x5f, 0xb8))
+ };
+ let r = rc.height() / 2.0;
+ // The track is a 1 px line through the middle, as Windows 11 draws it.
+ let mid = rc.center().y;
+ p.rect_filled(
+ rect(Rect::from_min_max(
+ pos2(rc.left(), mid - 0.5),
+ pos2(rc.right(), mid + 0.5),
+ )),
+ 0.5,
+ track,
+ );
+ let (from, to) = match fraction {
+ Some(f) => (0.0, f.clamp(0.0, 1.0)),
+ None => {
+ let t = (time * 0.6).fract() as f32;
+ ((t * 1.4 - 0.4).max(0.0), (t * 1.4).min(1.0))
+ }
+ };
+ if to > from {
+ let w = rc.width();
+ p.rect_filled(
+ rect(Rect::from_min_max(
+ pos2(rc.left() + from * w, rc.top()),
+ pos2(rc.left() + to * w, rc.bottom()),
+ )),
+ r,
+ accent,
+ );
+ }
+}
+
+/// Read-only text that scrolls inside `area` (English coordinates, the box's own frame drawn by
+/// the caller): the wheel or a trackpad over it, its scroll bar when the text is longer than the
+/// box, and with `keys` the window's Up, Down, Page Up, Page Down, Home and End. Where it is
+/// scrolled to is kept under `id`.
+#[allow(clippy::too_many_arguments)]
+pub fn scroll_text(
+ ui: &mut Ui,
+ id: egui::Id,
+ area: Rect,
+ s: &str,
+ color: Color32,
+ line_h: f32,
+ keys: bool,
+) {
+ use crate::scrollbar;
+ const PAD: f32 = 6.0;
+ let p = ui.painter().clone();
+ let visible = ((area.height() - 6.0) / line_h).floor().max(1.0);
+ // Laid out first where nothing shows: the bar takes room only when the text needs it.
+ let measure = p.with_clip_rect(Rect::NOTHING);
+ let lines = |right: f32| paragraph(&measure, area.left() + PAD, 0.0, s, color, right, line_h);
+ let mut total = lines(area.right() - PAD) as f32;
+ let bar = total > visible;
+ let text_right = if bar {
+ let right = area.right() - 1.0 - scrollbar::THICK - 3.0;
+ total = lines(right) as f32;
+ right
+ } else {
+ area.right() - PAD
+ };
+ let max_top = (total - visible).max(0.0);
+ let mut top: f32 = ui.data(|d| d.get_temp(id)).unwrap_or(0.0);
+ // The wheel scrolls three lines a notch, as Windows text boxes do.
+ if ui
+ .interact(rect(area), id.with("area"), Sense::hover())
+ .hovered()
+ {
+ top -= ui.input(|i| i.smooth_scroll_delta.y) / 40.0 * 3.0;
+ }
+ if keys {
+ let page = (visible - 1.0).max(1.0);
+ ui.input(|i| {
+ for (key, by) in [
+ (egui::Key::ArrowUp, -1.0),
+ (egui::Key::ArrowDown, 1.0),
+ (egui::Key::PageUp, -page),
+ (egui::Key::PageDown, page),
+ (egui::Key::Home, -total),
+ (egui::Key::End, total),
+ ] {
+ if i.key_pressed(key) {
+ top += by;
+ }
+ }
+ });
+ }
+ top = top.clamp(0.0, max_top);
+ // Moved by the wheel or a key: draw the new place now, not at the next event.
+ if ui
+ .data(|d| d.get_temp::<f32>(id))
+ .is_some_and(|was| was != top)
+ {
+ ui.ctx().request_repaint();
+ }
+ let clip = p.with_clip_rect(rect(area.shrink(2.0)));
+ paragraph(
+ &clip,
+ area.left() + PAD,
+ area.top() + 16.0 - top * line_h,
+ s,
+ color,
+ text_right,
+ line_h,
+ );
+ if bar {
+ let track = rect(Rect::from_min_max(
+ pos2(area.right() - 1.0 - scrollbar::THICK, area.top() + 1.0),
+ pos2(area.right() - 1.0, area.bottom() - 1.0),
+ ));
+ if scrollbar::bar(
+ ui,
+ id.with("bar"),
+ track,
+ true,
+ total,
+ visible,
+ 1.0,
+ &mut top,
+ ) {
+ ui.ctx().request_repaint();
+ }
+ }
+ ui.data_mut(|d| d.insert_temp(id, top));
+}
+
/// A paragraph from `x` to `right`, first baseline at `baseline`, `line_h` apart; returns the
/// lines drawn. English keeps its line breaks (broken where IDM breaks it); a translation's
/// copy of them is flowed again (`reflow`). A line too long for the room wraps at spaces, or
@@ -1135,6 +1271,115 @@ pub fn edit_right(ui: &mut Ui, rc: Rect, value: &mut String, enabled: bool) -> R
const DISABLED_TEXT: Color32 = rgb(0x80, 0x80, 0x80);
+// ---- control states -------------------------------------------------------------------------
+
+/// What a control shows this frame: at rest, under the pointer (hot), with the mouse button held
+/// on it (pressed), with its list or menu open, or disabled. Every control takes its look from
+/// one of these, so they all answer the pointer the same way.
+#[derive(Clone, Copy, PartialEq, Eq, Debug)]
+pub enum State {
+ Normal,
+ Hot,
+ Pressed,
+ Open,
+ Disabled,
+}
+
+impl State {
+ /// From the control's response this frame.
+ pub fn of(resp: &Response, enabled: bool) -> Self {
+ if !enabled {
+ State::Disabled
+ } else if resp.is_pointer_button_down_on() {
+ State::Pressed
+ } else if resp.hovered() {
+ State::Hot
+ } else {
+ State::Normal
+ }
+ }
+
+ /// Shown open while `open` (a combo's list, a drop-down's menu); a press still shows.
+ pub fn open_if(self, open: bool) -> Self {
+ if open && matches!(self, State::Normal | State::Hot) {
+ State::Open
+ } else {
+ self
+ }
+ }
+}
+
+/// The fill of a part with no face of its own (a combo's arrow, a glyph button, a column
+/// header) in `state`: none at rest, a tint under the pointer, a deeper one pressed or open.
+/// `dark_surface`: the part sits on a dark background (the dark buttons' greys), else the light
+/// icon buttons' greys.
+pub fn subtle_fill(state: State, dark_surface: bool) -> Option<Color32> {
+ match (state, dark_surface) {
+ (State::Hot, false) => Some(rgb(0xf3, 0xf3, 0xf3)),
+ (State::Pressed | State::Open, false) => Some(rgb(0xe8, 0xe8, 0xe8)),
+ (State::Hot, true) => Some(rgb(0x45, 0x45, 0x45)),
+ (State::Pressed | State::Open, true) => Some(rgb(0x26, 0x26, 0x26)),
+ _ => None,
+ }
+}
+
+/// The blue highlight of a calendar's days and arrows (Win32's month calendar) in `state`:
+/// #e5f1fb under the pointer, #cce4f7 pressed.
+pub fn highlight_fill(state: State) -> Option<Color32> {
+ match state {
+ State::Hot => Some(rgb(0xe5, 0xf1, 0xfb)),
+ State::Pressed | State::Open => Some(rgb(0xcc, 0xe4, 0xf7)),
+ _ => None,
+ }
+}
+
+/// Tints `zone` (a part already drawn at rest) for `state` and draws its glyph again on top.
+pub fn tint_part(
+ p: &Painter,
+ zone: Rect,
+ state: State,
+ dark_surface: bool,
+ glyph: impl FnOnce(&Painter),
+) {
+ if let Some(c) = subtle_fill(state, dark_surface) {
+ p.rect_filled(zone, 2.0, c);
+ glyph(p);
+ }
+}
+
+/// An editable or drop-list combo's arrow zone (inside its border, at the trailing edge).
+fn combo_zone(rc: Rect) -> Rect {
+ if rtl() {
+ Rect::from_min_max(
+ rc.min + vec2(1.0, 1.0),
+ pos2(rc.left() + 20.0, rc.bottom() - 1.0),
+ )
+ } else {
+ Rect::from_min_max(
+ pos2(rc.right() - 20.0, rc.top() + 1.0),
+ rc.max - vec2(1.0, 1.0),
+ )
+ }
+}
+
+/// A combo's chevron: 8 × 6 "v" at the arrow zone's left + 6, top + 8.
+fn combo_chevron(p: &Painter, rc: Rect) {
+ let arrow_left = if rtl() {
+ rc.left() + 1.0
+ } else {
+ rc.right() - 1.0 - 19.0
+ };
+ let (cx, cy) = (arrow_left + 6.0, rc.top() + 8.0);
+ p.line(
+ vec![
+ pos2(cx, cy + 0.5),
+ pos2(cx + 4.0, cy + 4.5),
+ pos2(cx + 8.0, cy + 0.5),
+ ],
+ Stroke::new(1.2, rgb(0x6f, 0x6f, 0x6f)),
+ );
+}
+
/// Combo frame: 1 px border (#8d8d8d, or #0078d4 when focused), 2 px white ring, dark text
/// area, white 19 px arrow zone with a grey chevron. Height 21.
pub fn combo_frame(p: &Painter, rc: Rect, focused: bool) {
@@ -1166,23 +1411,21 @@ pub fn combo_frame(p: &Painter, rc: Rect, focused: bool) {
};
p.rect_filled(text_area, 0.0, BG());
}
- // Chevron: 8 × 6 "v" at arrow-zone left + 6, top + 8.
- let cx = arrow_left + 6.0;
- let cy = t + 8.0;
- p.line(
- vec![
- pos2(cx, cy + 0.5),
- pos2(cx + 4.0, cy + 4.5),
- pos2(cx + 8.0, cy + 0.5),
- ],
- Stroke::new(1.2, rgb(0x6f, 0x6f, 0x6f)),
- );
+ combo_chevron(p, rc);
}
/// Drop-list combo showing `value`; returns the click response.
pub fn combo(ui: &mut Ui, rc: Rect, value: &str, id: &str) -> Response {
let resp = ui.interact(rc, widget_id(ui, ("combo", id)), Sense::click());
combo_frame(ui.painter(), rc, false);
+ // The arrow zone (always white) shows the state.
+ tint_part(
+ ui.painter(),
+ combo_zone(rc),
+ State::of(&resp, true),
+ false,
+ |p| combo_chevron(p, rc),
+ );
text_start(
ui.painter(),
tahoma(),
@@ -1210,14 +1453,13 @@ pub fn combo_edit(ui: &mut Ui, rc: Rect, value: &mut String, focused: bool) -> R
}
/// The arrow zone of an editable combo (`combo_edit`, at the trailing edge): a click on it
-/// opens the combo's drop list (`drop_list`).
-pub fn combo_arrow(ui: &mut Ui, rc: Rect, id: &str) -> Response {
- let zone = if rtl() {
- Rect::from_min_max(rc.min, pos2(rc.left() + 20.0, rc.bottom()))
- } else {
- Rect::from_min_max(pos2(rc.right() - 20.0, rc.top()), rc.max)
- };
- ui.interact(zone, widget_id(ui, ("combo-arrow", id)), Sense::click())
+/// opens the combo's drop list (`drop_list`); it shows hot, pressed, and pressed while `open`.
+pub fn combo_arrow(ui: &mut Ui, rc: Rect, id: &str, open: bool) -> Response {
+ let zone = combo_zone(rc);
+ let resp = ui.interact(zone, widget_id(ui, ("combo-arrow", id)), Sense::click());
+ let state = State::of(&resp, true).open_if(open);
+ tint_part(ui.painter(), zone, state, false, |p| combo_chevron(p, rc));
+ resp
}
/// The keys that open an editable combo's drop list while its box has the focus: Alt+Down or
@@ -1327,12 +1569,10 @@ pub fn button(
ButtonKind::Default => (rgb(0xff, 0xff, 0xff), rgb(0xe5, 0xe5, 0xe5)),
ButtonKind::Disabled => (rgb(0x40, 0x40, 0x40), rgb(0x40, 0x40, 0x40)),
};
- let fill = if resp.is_pointer_button_down_on() {
- rgb(0x26, 0x26, 0x26)
- } else if resp.hovered() {
- rgb(0x45, 0x45, 0x45)
- } else {
- rgb(0x33, 0x33, 0x33)
+ let fill = match State::of(&resp, kind != ButtonKind::Disabled) {
+ State::Pressed => rgb(0x26, 0x26, 0x26),
+ State::Hot => rgb(0x45, 0x45, 0x45),
+ _ => rgb(0x33, 0x33, 0x33),
};
p.rect_filled(rc, 4.0, fill);
p.rect_stroke(rc, 4.0, Stroke::new(1.0, border), StrokeKind::Inside);
@@ -1463,11 +1703,11 @@ pub fn checkbox_until(
}
let (l, t) = (box_min.x, box_min.y);
let (rr, b) = (l + 12.0, t + 12.0);
- // Interior: white, or #f0f0f0 when disabled (spec "Checkbox").
- let interior = if enabled {
- Color32::WHITE
- } else {
- rgb(0xf0, 0xf0, 0xf0)
+ // Interior: white, or #f0f0f0 when disabled (spec "Checkbox") or pressed (classic
+ // Windows: the button face while the mouse button is held on it).
+ let interior = match State::of(&resp, enabled) {
+ State::Normal | State::Hot | State::Open => Color32::WHITE,
+ State::Pressed | State::Disabled => rgb(0xf0, 0xf0, 0xf0),
};
solid(&p, Rect::from_min_size(box_min, vec2(13.0, 13.0)), interior);
hline(&p, l, rr - 1.0, t, rgb(0xa0, 0xa0, 0xa0));
@@ -1645,12 +1885,10 @@ pub fn button_light(
rgb(0x83, 0x83, 0x83),
),
};
- let fill_c = if kind != ButtonKind::Disabled && resp.is_pointer_button_down_on() {
- rgb(0xf5, 0xf5, 0xf5)
- } else if kind != ButtonKind::Disabled && resp.hovered() {
- rgb(0xf6, 0xf6, 0xf6)
- } else {
- fill_c
+ let fill_c = match State::of(&resp, kind != ButtonKind::Disabled) {
+ State::Pressed => rgb(0xf5, 0xf5, 0xf5),
+ State::Hot => rgb(0xf6, 0xf6, 0xf6),
+ _ => fill_c,
};
p.rect_filled(rc, 3.0, fill_c);
p.rect_stroke(rc, 3.0, Stroke::new(1.0, border), StrokeKind::Inside);
@@ -1764,12 +2002,9 @@ pub fn checkbox_light_until(
*checked = !*checked;
}
let rc = Rect::from_min_size(glyph, vec2(13.0, 13.0));
+ let state = State::of(&resp, enabled);
if *checked {
- let accent = if enabled {
- rgb(0x00, 0x5f, 0xb8)
- } else {
- rgb(0xc3, 0xc3, 0xc3)
- };
+ let accent = fluent_accent(state);
p.rect_filled(rc, 2.0, accent);
p.line(
vec![
@@ -1780,13 +2015,9 @@ pub fn checkbox_light_until(
Stroke::new(1.4, Color32::WHITE),
);
} else {
- let border = if enabled {
- rgb(0x62, 0x62, 0x62)
- } else {
- rgb(0xc3, 0xc3, 0xc3)
- };
- if enabled {
- p.rect_filled(rc, 2.0, rgb(0xf3, 0xf3, 0xf3));
+ let (fill_c, border) = fluent_box(state);
+ if let Some(f) = fill_c {
+ p.rect_filled(rc, 2.0, f);
}
p.rect_stroke(rc, 2.0, Stroke::new(1.0, border), StrokeKind::Inside);
}
@@ -1802,6 +2033,28 @@ pub fn checkbox_light_until(
/// Tab page body.
pub const LIGHT_PAGE: Color32 = rgb(0xf9, 0xf9, 0xf9);
+/// A checked Windows 11 check box's or radio's accent in `state`: lighter under the pointer,
+/// lighter still while pressed, grey when disabled.
+fn fluent_accent(state: State) -> Color32 {
+ match state {
+ State::Disabled => rgb(0xc3, 0xc3, 0xc3),
+ State::Hot => rgb(0x19, 0x6e, 0xbf),
+ State::Pressed => rgb(0x33, 0x7f, 0xc6),
+ _ => rgb(0x00, 0x5f, 0xb8),
+ }
+}
+
+/// An unchecked Windows 11 check box's or radio's fill (none when disabled) and border in
+/// `state`: darker fill under the pointer, darker still and a fainter border while pressed.
+fn fluent_box(state: State) -> (Option<Color32>, Color32) {
+ match state {
+ State::Disabled => (None, rgb(0xc3, 0xc3, 0xc3)),
+ State::Hot => (Some(rgb(0xea, 0xea, 0xea)), rgb(0x62, 0x62, 0x62)),
+ State::Pressed => (Some(rgb(0xdd, 0xdd, 0xdd)), rgb(0x9a, 0x9a, 0x9a)),
+ _ => (Some(rgb(0xf3, 0xf3, 0xf3)), rgb(0x62, 0x62, 0x62)),
+ }
+}
+
/// Win11 light radio glyph (13 × 13) with its label at glyph.x + 16. The caller sets the
/// choice when the response is clicked.
pub fn radio_light(
@@ -1843,23 +2096,21 @@ pub fn radio_light_until(
sense,
);
let c = glyph + vec2(6.5, 6.5);
+ let state = State::of(&resp, enabled);
if selected {
- let accent = if enabled {
- rgb(0x00, 0x5f, 0xb8)
- } else {
- rgb(0xc3, 0xc3, 0xc3)
+ p.circle_filled(c, 6.5, fluent_accent(state));
+ // Windows 11's dot grows under the pointer and shrinks while pressed.
+ let dot = match state {
+ State::Hot => 3.1,
+ State::Pressed => 2.1,
+ _ => 2.6,
};
- p.circle_filled(c, 6.5, accent);
- p.circle_filled(c, 2.6, Color32::WHITE);
+ p.circle_filled(c, dot, Color32::WHITE);
} else {
- if enabled {
- p.circle_filled(c, 6.0, rgb(0xf3, 0xf3, 0xf3));
+ let (fill_c, ring) = fluent_box(state);
+ if let Some(f) = fill_c {
+ p.circle_filled(c, 6.0, f);
}
- let ring = if enabled {
- rgb(0x62, 0x62, 0x62)
- } else {
- rgb(0xc3, 0xc3, 0xc3)
- };
p.circle_stroke(c, 6.0, Stroke::new(1.0, ring));
}
let color = if enabled { LIGHT_TEXT } else { LIGHT_DISABLED };
@@ -2083,11 +2334,15 @@ pub fn chevron_light(p: &Painter, at: Pos2, enabled: bool) {
/// The frame of a light drop-down (combo or date picker): rounded `#c8c8c8` border, `#fefefe`
/// fill; enabled ones darken on hover and take the accent border while open.
-pub fn dropdown_frame_light(p: &Painter, rc: Rect, enabled: bool, hovered: bool, open: bool) {
- let (border, fill_c) = match (enabled, hovered || open) {
- (false, _) => (rgb(0xc8, 0xc8, 0xc8), rgb(0xfe, 0xfe, 0xfe)),
- (true, false) => (rgb(0xd0, 0xd0, 0xd0), rgb(0xfd, 0xfd, 0xfd)),
- (true, true) => (rgb(0xd0, 0xd0, 0xd0), rgb(0xf6, 0xf6, 0xf6)),
+pub fn dropdown_frame_light(p: &Painter, rc: Rect, state: State) {
+ let enabled = state != State::Disabled;
+ let open = state == State::Open;
+ // The light buttons' fills: hot #f6f6f6, pressed #f5f5f5 (as `button_light`).
+ let (border, fill_c) = match state {
+ State::Disabled => (rgb(0xc8, 0xc8, 0xc8), rgb(0xfe, 0xfe, 0xfe)),
+ State::Normal => (rgb(0xd0, 0xd0, 0xd0), rgb(0xfd, 0xfd, 0xfd)),
+ State::Pressed => (rgb(0xd0, 0xd0, 0xd0), rgb(0xf5, 0xf5, 0xf5)),
+ State::Hot | State::Open => (rgb(0xd0, 0xd0, 0xd0), rgb(0xf6, 0xf6, 0xf6)),
};
let border = if open { rgb(0x00, 0x78, 0xd4) } else { border };
p.rect_filled(rc, 3.0, fill_c);
@@ -2125,7 +2380,7 @@ pub fn combo_light(
open = !open;
}
let p = ui.painter().clone();
- dropdown_frame_light(&p, rc, enabled, resp.hovered(), open);
+ dropdown_frame_light(&p, rc, State::of(&resp, enabled).open_if(open));
let color = if enabled { LIGHT_TEXT } else { LIGHT_DISABLED };
// Items are shown in the interface language (data such as numbers passes through as is).
let full = crate::i18n::t(items.get(selected).copied().unwrap_or(""));
@@ -2278,13 +2533,7 @@ pub fn icon_button_light(ui: &mut Ui, rc: Rect, id: &str, enabled: bool) -> Resp
};
let resp = ui.interact(rc, widget_id(ui, ("icon-button-light", id)), sense);
let p = ui.painter();
- let face = if enabled && resp.is_pointer_button_down_on() {
- rgb(0xe8, 0xe8, 0xe8)
- } else if enabled && resp.hovered() {
- rgb(0xf3, 0xf3, 0xf3)
- } else {
- rgb(0xfb, 0xfb, 0xfb)
- };
+ let face = subtle_fill(State::of(&resp, enabled), false).unwrap_or(rgb(0xfb, 0xfb, 0xfb));
p.rect_filled(rc, 2.0, face);
p.rect_stroke(
rc,
@@ -2299,6 +2548,33 @@ pub fn icon_button_light(ui: &mut Ui, rc: Rect, id: &str, enabled: bool) -> Resp
mod tests {
use super::*;
+ #[test]
+ fn control_states_open_and_tint() {
+ assert_eq!(State::Hot.open_if(true), State::Open);
+ assert_eq!(State::Normal.open_if(true), State::Open);
+ assert_eq!(State::Pressed.open_if(true), State::Pressed);
+ assert_eq!(State::Disabled.open_if(true), State::Disabled);
+ assert_eq!(State::Hot.open_if(false), State::Hot);
+ for dark in [false, true] {
+ assert_eq!(subtle_fill(State::Normal, dark), None);
+ assert_eq!(subtle_fill(State::Disabled, dark), None);
+ let grey = |s| subtle_fill(s, dark).unwrap().r();
+ // Pressed (and open) is deeper than hot, on either surface.
+ assert!(grey(State::Pressed) < grey(State::Hot));
+ assert_eq!(
+ subtle_fill(State::Open, dark),
+ subtle_fill(State::Pressed, dark)
+ );
+ }
+ assert!(
+ highlight_fill(State::Pressed).unwrap().r() < highlight_fill(State::Hot).unwrap().r()
+ );
+ // Windows 11 boxes: deeper under the pointer, deeper still pressed.
+ let fill = |s| fluent_box(s).0.unwrap().r();
+ assert!(fill(State::Pressed) < fill(State::Hot) && fill(State::Hot) < fill(State::Normal));
+ assert_eq!(fluent_box(State::Disabled).0, None);
+ }
+
/// 6 px per character: a stand-in for the font.
fn w(s: &str) -> f32 {
6.0 * s.chars().count() as f32
diff --git a/crates/tools/keys/mdm-release.asc b/crates/tools/keys/mdm-release.asc
new file mode 100644
index 00000000..2eea52f9
--- /dev/null
+++ b/crates/tools/keys/mdm-release.asc
@@ -0,0 +1,10 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mDMEauYsVRYJKwYBBAHaRw8BAQdAVFSBh6M2YG14mtCXM9xMDFkqgNCT4vrDz3zj
+wXvL2/a0R01pc3RlciBEb3dubG9hZCBNYW5hZ2VyIHJlbGVhc2VzIChzaWducyBT
+SEEyNTZTVU1TLnR4dCBvZiBlYWNoIHJlbGVhc2UpiJMEExYKADsWIQRYJtOZJJ3o
+VuoIfYAuKTwo6KaddAUCauYsVQIbAwULCQgHAgIiAgYVCgkICwIEFgIDAQIeBwIX
+gAAKCRAuKTwo6KaddDQqAP4hnGOrq37YZITA9QUI6UlpZOOPT8LIBJZNDEpFHhB/
+MAEAg5H3INOU4KD5kp8KynkmvL+LME+HV20LPeeuJtXKLwQ=
+=O26/
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/crates/tools/src/ffmpeg.rs b/crates/tools/src/ffmpeg.rs
index a0cd2fe9..ea858469 100644
--- a/crates/tools/src/ffmpeg.rs
+++ b/crates/tools/src/ffmpeg.rs
@@ -4,11 +4,9 @@
//! asset, its `bin/` unpacked into `tools/ffmpeg/<version>/`, switched to atomically, the previous
//! version kept.
-use std::io::Write;
use std::path::{Path, PathBuf};
use serde::Deserialize;
-use sha2::{Digest, Sha256};
use crate::{Error, Installed, make_current, mark_downloaded, newer, sum_for};
@@ -137,20 +135,9 @@ pub async fn install_latest(dir: &Path) -> Result<Installed, Error> {
let root = dir.join("ffmpeg");
std::fs::create_dir_all(&root)?;
let zip_path = root.join(format!("{version}.zip.part"));
- let mut file = std::fs::File::create(&zip_path)?;
- let mut hash = Sha256::new();
- let mut resp = client
- .get(&asset.browser_download_url)
- .send()
- .await?
- .error_for_status()?;
- while let Some(chunk) = resp.chunk().await? {
- hash.update(&chunk);
- file.write_all(&chunk)?;
- }
- file.flush()?;
- drop(file);
- if hash.finalize().as_slice() != expected {
+ let hash =
+ crate::download_hashed(&client, &asset.browser_download_url, &zip_path, None).await?;
+ if hash != expected {
let _ = std::fs::remove_file(&zip_path);
return Err(Error::BadChecksum);
}
@@ -231,6 +218,7 @@ mod tests {
let dir = tempfile::tempdir().unwrap();
let zip_path = dir.path().join("b.zip");
{
+ use std::io::Write;
let mut w = zip::ZipWriter::new(std::fs::File::create(&zip_path).unwrap());
let opts = zip::write::SimpleFileOptions::default();
for (name, data) in [
diff --git a/crates/tools/src/lib.rs b/crates/tools/src/lib.rs
index e339c053..2497ec8e 100644
--- a/crates/tools/src/lib.rs
+++ b/crates/tools/src/lib.rs
@@ -9,6 +9,7 @@ pub mod pages;
pub mod proc;
pub mod resolve;
pub mod servers;
+pub mod update;
pub mod video;
use std::io::Cursor;
@@ -20,6 +21,10 @@ use sha2::{Digest, Sha256};
/// yt-dlp's release signing key, from its repository (`public.key`).
const YTDLP_KEY: &str = include_str!("../keys/yt-dlp.asc");
+/// Mister Download Manager's release signing key (Ed25519, fingerprint
+/// 5826D399249DE856EA087D802E293C28E8A69D74): release.yml signs each release's SHA256SUMS.txt
+/// with it (the MDM_RELEASE_KEY secret), and MDM updates itself only from a list it signed.
+const MDM_KEY: &str = include_str!("../keys/mdm-release.asc");
/// Where releases come from.
const RELEASES: &str = "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest";
@@ -29,7 +34,7 @@ pub enum Error {
Http(#[from] reqwest::Error),
#[error("disk: {0}")]
Io(#[from] std::io::Error),
- #[error("the release's checksum list is not signed by yt-dlp's key")]
+ #[error("the release's checksum list is not signed by its publisher's key")]
BadSignature,
#[error("the downloaded program doesn't match its signed checksum")]
BadChecksum,
@@ -65,17 +70,81 @@ pub fn ytdlp_asset() -> &'static str {
/// Whether `sums` carries a valid signature `sig` (binary OpenPGP) by yt-dlp's key or one of its
/// subkeys.
pub fn signed_by_ytdlp(sums: &[u8], sig: &[u8]) -> bool {
- let Ok((key, _)) = SignedPublicKey::from_armor_single(Cursor::new(YTDLP_KEY)) else {
+ signed_by(YTDLP_KEY, sums, sig)
+}
+
+/// Whether `sums` (a release's SHA256SUMS.txt) carries a valid signature `sig` by Mister
+/// Download Manager's release key.
+pub fn signed_by_mdm(sums: &[u8], sig: &[u8]) -> bool {
+ signed_by(MDM_KEY, sums, sig)
+}
+
+/// Whether `data` carries a valid detached signature `sig` (binary OpenPGP) by the armored
+/// public `key` or one of its subkeys.
+pub fn signed_by(key: &str, data: &[u8], sig: &[u8]) -> bool {
+ let Ok((key, _)) = SignedPublicKey::from_armor_single(Cursor::new(key)) else {
return false;
};
let Ok(sig) = DetachedSignature::from_bytes(Cursor::new(sig)) else {
return false;
};
- sig.verify(&key, sums).is_ok()
+ sig.verify(&key, data).is_ok()
|| key
.public_subkeys
.iter()
- .any(|sub| sig.verify(&sub.key, sums).is_ok())
+ .any(|sub| sig.verify(&sub.key, data).is_ok())
+}
+
+/// `url`'s body.
+pub(crate) async fn get_bytes(client: &reqwest::Client, url: &str) -> Result<Vec<u8>, Error> {
+ Ok(client
+ .get(url)
+ .send()
+ .await?
+ .error_for_status()?
+ .bytes()
+ .await?
+ .to_vec())
+}
+
+/// A release's checksum list (`hash name` lines), fetched with its detached signature and
+/// accepted only when `signed` (the publisher's key) says so.
+pub(crate) async fn signed_list(
+ client: &reqwest::Client,
+ sums_url: &str,
+ sig_url: &str,
+ signed: fn(&[u8], &[u8]) -> bool,
+) -> Result<String, Error> {
+ let sums = get_bytes(client, sums_url).await?;
+ let sig = get_bytes(client, sig_url).await?;
+ if !signed(&sums, &sig) {
+ return Err(Error::BadSignature);
+ }
+ Ok(String::from_utf8_lossy(&sums).into_owned())
+}
+
+/// Download `url` into `path`, hashing it as it arrives (and counting it into `progress`).
+/// Returns its SHA-256.
+pub(crate) async fn download_hashed(
+ client: &reqwest::Client,
+ url: &str,
+ path: &Path,
+ progress: Option<&update::Progress>,
+) -> Result<[u8; 32], Error> {
+ use std::io::Write;
+ let mut resp = client.get(url).send().await?.error_for_status()?;
+ if let (Some(p), Some(n)) = (progress, resp.content_length()) {
+ p.total.store(n, std::sync::atomic::Ordering::Relaxed);
+ }
+ let mut file = std::fs::File::create(path)?;
+ let mut hash = Sha256::new();
+ while let Some(chunk) = resp.chunk().await? {
+ hash.update(&chunk);
+ file.write_all(&chunk)?;
+ update::add(progress, chunk.len() as u64);
+ }
+ file.flush()?;
+ Ok(hash.finalize().into())
}
/// The SHA-256 a `hash name` list gives for `name`.
@@ -142,31 +211,18 @@ pub async fn install_latest(dir: &Path) -> Result<Installed, Error> {
.map(|a| a.browser_download_url.clone())
.ok_or_else(|| Error::Missing(name.to_owned()))
};
- let fetch = |u: String| {
- let client = client.clone();
- async move {
- Ok::<_, Error>(
- client
- .get(u)
- .send()
- .await?
- .error_for_status()?
- .bytes()
- .await?,
- )
- }
- };
- let sums = fetch(url("SHA2-256SUMS")?).await?;
- let sig = fetch(url("SHA2-256SUMS.sig")?).await?;
- if !signed_by_ytdlp(&sums, &sig) {
- return Err(Error::BadSignature);
- }
- let sums = String::from_utf8_lossy(&sums);
+ let sums = signed_list(
+ &client,
+ &url("SHA2-256SUMS")?,
+ &url("SHA2-256SUMS.sig")?,
+ signed_by_ytdlp,
+ )
+ .await?;
let asset = ytdlp_asset();
let expected =
sum_for(&sums, asset).ok_or_else(|| Error::Missing(format!("checksum for {asset}")))?;
let exe_url = url(asset)?;
- let program = fetch(exe_url.clone()).await?;
+ let program = get_bytes(&client, &exe_url).await?;
if Sha256::digest(&program).as_slice() != expected {
return Err(Error::BadChecksum);
}
@@ -257,6 +313,19 @@ mod tests {
assert!(signed_by_ytdlp(SUMS, SIG));
}
+ #[test]
+ fn mdm_releases_are_checked_against_mdms_own_key() {
+ let sums = include_bytes!("../tests/fixtures/mdm-SHA256SUMS.txt");
+ let sig = include_bytes!("../tests/fixtures/mdm-SHA256SUMS.txt.sig");
+ assert!(signed_by_mdm(sums, sig));
+ let mut forged = sums.to_vec();
+ forged[0] = if forged[0] == b'0' { b'1' } else { b'0' };
+ assert!(!signed_by_mdm(&forged, sig));
+ // Each key signs for itself only.
+ assert!(!signed_by_ytdlp(sums, sig));
+ assert!(!signed_by_mdm(SUMS, SIG));
+ }
+
#[test]
fn a_changed_list_fails_the_signature() {
let mut forged = SUMS.to_vec();
diff --git a/crates/tools/src/update.rs b/crates/tools/src/update.rs
new file mode 100644
index 00000000..b368b3f8
--- /dev/null
+++ b/crates/tools/src/update.rs
@@ -0,0 +1,452 @@
+//! Mister Download Manager updating itself: how this copy was installed, the release file that
+//! replaces it, and that file fetched and checked against the release's SHA256SUMS.txt, whose
+//! signature by MDM's release key ([`crate::signed_by_mdm`]) is checked first. Putting the file
+//! in place is the app's (`crates/app/src/update.rs`): it has to close itself to do it.
+
+use std::path::{Path, PathBuf};
+use std::sync::atomic::{AtomicU64, Ordering};
+
+use crate::{Error, signed_by_mdm, sum_for};
+
+/// How this copy of MDM was installed: what an update replaces, and how.
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+pub enum Install {
+ /// Windows, the setup program.
+ Installer,
+ /// Windows, the portable zip (a `data` folder next to the program).
+ PortableZip,
+ /// Windows, the plain zip.
+ PlainZip,
+ /// macOS, the app from the .dmg.
+ Dmg,
+ AppImage,
+ Deb,
+ Rpm,
+ /// Linux, the plain programs.
+ TarGz,
+ /// Built here: never updated from a release.
+ Source,
+}
+
+impl Install {
+ /// This copy's, from where its program is.
+ pub fn detect() -> Install {
+ if cfg!(debug_assertions) {
+ return Install::Source;
+ }
+ if mdm_ipc::portable_dir().is_some() {
+ return Install::PortableZip;
+ }
+ let Some(exe) = std::env::current_exe().ok() else {
+ return Install::Source;
+ };
+ let dir = exe.parent().unwrap_or(Path::new("."));
+ if cfg!(windows) {
+ // The installer leaves its uninstaller next to the program; the zips don't.
+ return if dir.join("unins000.exe").is_file() {
+ Install::Installer
+ } else {
+ Install::PlainZip
+ };
+ }
+ if cfg!(target_os = "macos") {
+ return if app_bundle(&exe).is_some() {
+ Install::Dmg
+ } else {
+ Install::Source
+ };
+ }
+ if std::env::var_os("APPIMAGE").is_some() {
+ return Install::AppImage;
+ }
+ if dir == Path::new("/usr/bin") {
+ return if Path::new("/etc/debian_version").exists() {
+ Install::Deb
+ } else {
+ Install::Rpm
+ };
+ }
+ Install::TarGz
+ }
+
+ /// As the bug report form words it (.github/ISSUE_TEMPLATE/bug.yml, "Installed with").
+ pub fn label(self) -> &'static str {
+ match self {
+ Install::Installer => "The installer (setup.exe)",
+ Install::PortableZip => "The portable zip",
+ Install::PlainZip => "The plain zip",
+ Install::Dmg => "The .dmg",
+ Install::AppImage => "The AppImage",
+ Install::Deb => "The .deb",
+ Install::Rpm => "The .rpm",
+ Install::TarGz => "The .tar.gz",
+ Install::Source => "Built from source",
+ }
+ }
+
+ pub const ALL: [Install; 9] = [
+ Install::Installer,
+ Install::PortableZip,
+ Install::PlainZip,
+ Install::Dmg,
+ Install::AppImage,
+ Install::Deb,
+ Install::Rpm,
+ Install::TarGz,
+ Install::Source,
+ ];
+
+ /// The release file of `version` that replaces this kind of copy (the names
+ /// tools/installer/*.sh and build.ps1 give them).
+ pub fn asset(self, version: &str) -> Option<String> {
+ let tail = match self {
+ Install::Installer => "setup.exe",
+ Install::PortableZip => "portable.zip",
+ Install::PlainZip => "x64.zip",
+ Install::Dmg => "macos-universal-experimental.dmg",
+ Install::AppImage => "linux-x86_64-experimental.AppImage",
+ Install::Deb => "linux-x86_64-experimental.deb",
+ Install::Rpm => "linux-x86_64-experimental.rpm",
+ Install::TarGz => "linux-x86_64-experimental.tar.gz",
+ Install::Source => return None,
+ };
+ Some(format!("MisterDownloadManager-{version}-{tail}"))
+ }
+}
+
+/// The `.app` bundle a macOS program runs from (`X.app/Contents/MacOS/program`).
+pub fn app_bundle(exe: &Path) -> Option<PathBuf> {
+ let bundle = exe.parent()?.parent()?.parent()?;
+ (bundle.extension().is_some_and(|e| e == "app")
+ && exe.parent()?.file_name().is_some_and(|n| n == "MacOS"))
+ .then(|| bundle.to_owned())
+}
+
+/// How far a download is: bytes so far, and of how many (0 while unknown).
+#[derive(Default, Debug)]
+pub struct Progress {
+ pub got: AtomicU64,
+ pub total: AtomicU64,
+}
+
+impl Progress {
+ pub fn fraction(&self) -> Option<f32> {
+ let total = self.total.load(Ordering::Relaxed);
+ (total > 0).then(|| self.got.load(Ordering::Relaxed) as f32 / total as f32)
+ }
+}
+
+/// Fetch release file `name` from `assets` (name, download address) into `dir`, after
+/// checking the release's SHA256SUMS.txt is signed by MDM's key, and check the file against
+/// it. Returns the file.
+pub async fn fetch(
+ assets: &[(String, String)],
+ name: &str,
+ dir: &Path,
+ progress: &Progress,
+) -> Result<PathBuf, Error> {
+ let url = |file: &str| {
+ assets
+ .iter()
+ .find(|(n, _)| n == file)
+ .map(|(_, u)| u.clone())
+ .ok_or_else(|| Error::Missing(file.to_owned()))
+ };
+ let client = reqwest::Client::builder()
+ .user_agent(concat!("MisterDownloadManager/", env!("CARGO_PKG_VERSION")))
+ .build()?;
+ let sums = crate::signed_list(
+ &client,
+ &url("SHA256SUMS.txt")?,
+ &url("SHA256SUMS.txt.sig")?,
+ signed_by_mdm,
+ )
+ .await?;
+ let expected =
+ sum_for(&sums, name).ok_or_else(|| Error::Missing(format!("checksum for {name}")))?;
+ std::fs::create_dir_all(dir)?;
+ let file = dir.join(name);
+ let part = dir.join(format!("{name}.part"));
+ let got = crate::download_hashed(&client, &url(name)?, &part, Some(progress)).await;
+ match got {
+ Ok(hash) if hash == expected => {
+ std::fs::rename(&part, &file)?;
+ crate::mark_downloaded(&file, &url(name)?);
+ Ok(file)
+ }
+ Ok(_) => {
+ let _ = std::fs::remove_file(&part);
+ Err(Error::BadChecksum)
+ }
+ Err(e) => {
+ let _ = std::fs::remove_file(&part);
+ Err(e)
+ }
+ }
+}
+
+/// Unpack every file of `zip` into `dest`, keeping its folders (nothing can climb out of it).
+pub fn unzip(zip: &Path, dest: &Path) -> Result<(), Error> {
+ let mut archive = zip::ZipArchive::new(std::fs::File::open(zip)?)
+ .map_err(|e| Error::BadRelease(e.to_string()))?;
+ for i in 0..archive.len() {
+ let mut entry = archive
+ .by_index(i)
+ .map_err(|e| Error::BadRelease(e.to_string()))?;
+ let Some(path) = entry.enclosed_name() else {
+ continue;
+ };
+ let out = dest.join(path);
+ if entry.is_dir() {
+ std::fs::create_dir_all(&out)?;
+ continue;
+ }
+ if let Some(parent) = out.parent() {
+ std::fs::create_dir_all(parent)?;
+ }
+ std::io::copy(&mut entry, &mut std::fs::File::create(&out)?)?;
+ }
+ Ok(())
+}
+
+/// The one folder an unpacked release holds (its files are inside it), or `dir` itself.
+pub fn single_folder(dir: &Path) -> PathBuf {
+ let entries: Vec<PathBuf> = std::fs::read_dir(dir)
+ .map(|r| r.flatten().map(|e| e.path()).collect())
+ .unwrap_or_default();
+ match entries.as_slice() {
+ [only] if only.is_dir() => only.clone(),
+ _ => dir.to_owned(),
+ }
+}
+
+/// Put every file of folder `new` into `target` (the program's folder), keeping `keep` (a
+/// portable copy's `data`). A file in use (the running programs) is renamed to `<name>.old`
+/// first, which Windows allows, and removed on the next start ([`remove_old`]).
+pub fn replace_files(new: &Path, target: &Path, keep: &[&str]) -> Result<(), Error> {
+ for entry in std::fs::read_dir(new)?.flatten() {
+ let name = entry.file_name();
+ if keep.iter().any(|k| name == *k) {
+ continue;
+ }
+ let (from, to) = (entry.path(), target.join(&name));
+ if from.is_dir() {
+ std::fs::create_dir_all(&to)?;
+ replace_files(&from, &to, &[])?;
+ continue;
+ }
+ if to.exists() {
+ let old = target.join(format!("{}.old", name.to_string_lossy()));
+ let _ = std::fs::remove_file(&old);
+ std::fs::rename(&to, &old)?;
+ }
+ if std::fs::rename(&from, &to).is_err() {
+ std::fs::copy(&from, &to)?;
+ }
+ }
+ Ok(())
+}
+
+/// Remove what [`replace_files`] set aside in `dir` (and its folders) once nothing runs it.
+pub fn remove_old(dir: &Path) {
+ for entry in std::fs::read_dir(dir).into_iter().flatten().flatten() {
+ let path = entry.path();
+ if path.is_dir() {
+ if path.extension().is_some_and(|e| e == "old") {
+ let _ = std::fs::remove_dir_all(&path);
+ } else if path.file_name().is_some_and(|n| n != "data") {
+ remove_old(&path);
+ }
+ } else if path.extension().is_some_and(|e| e == "old") {
+ let _ = std::fs::remove_file(&path);
+ }
+ }
+}
+
+/// Bytes downloaded so far, for [`Progress`].
+pub(crate) fn add(progress: Option<&Progress>, n: u64) {
+ if let Some(p) = progress {
+ p.got.fetch_add(n, Ordering::Relaxed);
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ /// A server for `files` (published name → fixture file), one answer per connection.
+ fn serve(files: Vec<(&'static str, &'static str)>) -> String {
+ use std::io::{BufRead, BufReader, Write};
+ let dir = Path::new(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures");
+ let listener = std::net::TcpListener::bind("127.0.0.1:0").unwrap();
+ let base = format!("http://{}", listener.local_addr().unwrap());
+ std::thread::spawn(move || {
+ for conn in listener.incoming().flatten() {
+ let mut line = String::new();
+ BufReader::new(&conn).read_line(&mut line).unwrap();
+ let path = line
+ .split(' ')
+ .nth(1)
+ .unwrap_or("/")
+ .trim_start_matches('/');
+ let body = files
+ .iter()
+ .find(|(name, _)| *name == path)
+ .and_then(|(_, f)| std::fs::read(dir.join(f)).ok());
+ let mut out = &conn;
+ match body {
+ Some(b) => {
+ let head = format!(
+ "HTTP/1.1 200 OK
+Content-Length: {}
+Connection: close
+
+",
+ b.len()
+ );
+ let _ = out.write_all(head.as_bytes());
+ let _ = out.write_all(&b);
+ }
+ None => {
+ let _ = out.write_all(
+ b"HTTP/1.1 404 Not Found
+Content-Length: 0
+Connection: close
+
+",
+ );
+ }
+ }
+ }
+ });
+ base
+ }
+
+ #[tokio::test]
+ async fn a_release_file_is_taken_only_from_a_list_signed_by_mdm() {
+ let zip = "MisterDownloadManager-9.9.9-x64.zip";
+ let setup = "MisterDownloadManager-9.9.9-setup.exe";
+ let assets = |base: &str| -> Vec<(String, String)> {
+ ["SHA256SUMS.txt", "SHA256SUMS.txt.sig", zip, setup]
+ .iter()
+ .map(|n| (n.to_string(), format!("{base}/{n}")))
+ .collect()
+ };
+ let base = serve(vec![
+ ("SHA256SUMS.txt", "mdm-SHA256SUMS.txt"),
+ ("SHA256SUMS.txt.sig", "mdm-SHA256SUMS.txt.sig"),
+ (zip, zip),
+ // Not what the signed list says it is.
+ (setup, "mdm-SHA256SUMS.txt"),
+ ]);
+ let dir = tempfile::tempdir().unwrap();
+ let progress = Progress::default();
+ let file = fetch(&assets(&base), zip, dir.path(), &progress)
+ .await
+ .unwrap();
+ let len = std::fs::metadata(&file).unwrap().len();
+ assert_eq!(progress.got.load(Ordering::Relaxed), len);
+ assert_eq!(progress.fraction(), Some(1.0));
+ let out = dir.path().join("out");
+ unzip(&file, &out).unwrap();
+ assert_eq!(
+ std::fs::read(single_folder(&out).join("misterdownloadmanager.exe")).unwrap(),
+ b"new program"
+ );
+ // A file that isn't the one the signed list names is refused, and not kept.
+ let err = fetch(&assets(&base), setup, dir.path(), &Progress::default()).await;
+ assert!(matches!(err, Err(Error::BadChecksum)), "{err:?}");
+ assert!(!dir.path().join(setup).exists());
+ // A list signed by another key (yt-dlp's real one) is refused.
+ let base = serve(vec![
+ ("SHA256SUMS.txt", "SHA2-256SUMS"),
+ ("SHA256SUMS.txt.sig", "SHA2-256SUMS.sig"),
+ (zip, zip),
+ ]);
+ let err = fetch(&assets(&base), zip, dir.path(), &Progress::default()).await;
+ assert!(matches!(err, Err(Error::BadSignature)), "{err:?}");
+ }
+
+ #[test]
+ fn every_kind_has_its_release_file() {
+ assert_eq!(
+ Install::Installer.asset("0.2.2").as_deref(),
+ Some("MisterDownloadManager-0.2.2-setup.exe")
+ );
+ assert_eq!(
+ Install::TarGz.asset("1.0.0").as_deref(),
+ Some("MisterDownloadManager-1.0.0-linux-x86_64-experimental.tar.gz")
+ );
+ assert_eq!(Install::Source.asset("1.0.0"), None);
+ let labels: std::collections::HashSet<_> = Install::ALL.iter().map(|i| i.label()).collect();
+ assert_eq!(labels.len(), Install::ALL.len());
+ }
+
+ #[test]
+ fn bundles_on_a_mac() {
+ let exe = Path::new(
+ "/Applications/Mister Download Manager.app/Contents/MacOS/misterdownloadmanager",
+ );
+ assert_eq!(
+ app_bundle(exe).as_deref(),
+ Some(Path::new("/Applications/Mister Download Manager.app"))
+ );
+ assert_eq!(
+ app_bundle(Path::new("/usr/bin/misterdownloadmanager")),
+ None
+ );
+ }
+
+ #[test]
+ fn files_are_replaced_and_the_old_ones_set_aside_then_removed() {
+ let root = tempfile::tempdir().unwrap();
+ let (new, target) = (root.path().join("new"), root.path().join("app"));
+ std::fs::create_dir_all(new.join("extension")).unwrap();
+ std::fs::create_dir_all(target.join("data")).unwrap();
+ std::fs::write(new.join("mdm.exe"), "new").unwrap();
+ std::fs::write(new.join("extension").join("manifest.json"), "new").unwrap();
+ std::fs::write(new.join("data"), "must not land").unwrap();
+ std::fs::write(target.join("mdm.exe"), "old").unwrap();
+ std::fs::write(target.join("data").join("downloads.json"), "mine").unwrap();
+ replace_files(&new, &target, &["data"]).unwrap();
+ assert_eq!(
+ std::fs::read_to_string(target.join("mdm.exe")).unwrap(),
+ "new"
+ );
+ assert_eq!(
+ std::fs::read_to_string(target.join("mdm.exe.old")).unwrap(),
+ "old"
+ );
+ assert_eq!(
+ std::fs::read_to_string(target.join("extension").join("manifest.json")).unwrap(),
+ "new"
+ );
+ assert_eq!(
+ std::fs::read_to_string(target.join("data").join("downloads.json")).unwrap(),
+ "mine"
+ );
+ remove_old(&target);
+ assert!(!target.join("mdm.exe.old").exists());
+ assert!(target.join("mdm.exe").exists());
+ }
+
+ #[test]
+ fn a_zip_unpacks_into_its_folder_and_nothing_climbs_out() {
+ use std::io::Write;
+ let root = tempfile::tempdir().unwrap();
+ let zip_path = root.path().join("r.zip");
+ let mut w = zip::ZipWriter::new(std::fs::File::create(&zip_path).unwrap());
+ let opts = zip::write::SimpleFileOptions::default();
+ w.start_file("MisterDownloadManager-9.9.9-x64/mdm.exe", opts)
+ .unwrap();
+ w.write_all(b"exe").unwrap();
+ w.start_file("../escape.txt", opts).unwrap();
+ w.write_all(b"no").unwrap();
+ w.finish().unwrap();
+ let out = root.path().join("out");
+ unzip(&zip_path, &out).unwrap();
+ let folder = single_folder(&out);
+ assert_eq!(std::fs::read(folder.join("mdm.exe")).unwrap(), b"exe");
+ assert!(!root.path().join("escape.txt").exists());
+ }
+}
diff --git a/crates/tools/tests/fixtures/MisterDownloadManager-9.9.9-x64.zip b/crates/tools/tests/fixtures/MisterDownloadManager-9.9.9-x64.zip
new file mode 100644
index 00000000..bf768b19
Binary files /dev/null and b/crates/tools/tests/fixtures/MisterDownloadManager-9.9.9-x64.zip differ
diff --git a/crates/tools/tests/fixtures/mdm-SHA256SUMS.txt b/crates/tools/tests/fixtures/mdm-SHA256SUMS.txt
new file mode 100644
index 00000000..0936811e
--- /dev/null
+++ b/crates/tools/tests/fixtures/mdm-SHA256SUMS.txt
@@ -0,0 +1,2 @@
+2eddadba2b023b1994268e17f4fa20f1043bb807b52e76d47424271d9998adb2 MisterDownloadManager-9.9.9-x64.zip
+0000000000000000000000000000000000000000000000000000000000000000 MisterDownloadManager-9.9.9-setup.exe
diff --git a/crates/tools/tests/fixtures/mdm-SHA256SUMS.txt.sig b/crates/tools/tests/fixtures/mdm-SHA256SUMS.txt.sig
new file mode 100644
index 00000000..48a445a3
Binary files /dev/null and b/crates/tools/tests/fixtures/mdm-SHA256SUMS.txt.sig differ
diff --git a/docs/README.md b/docs/README.md
index 89722186..1959754b 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -54,7 +54,7 @@ These pages explain each part of the program. The tutorials walk through the thi
- **[Troubleshooting](troubleshooting.md)** — what to check when a download fails, the browser doesn't hand over a download, or a schedule doesn't start.
- **[Releases](https://github.com/anefzaoui/misterdownloadmanager/releases)** — download the latest version.
-- **[Report a problem](https://github.com/anefzaoui/misterdownloadmanager/issues)** — or use **Help → Report a problem** in MDM, which fills in your version and Windows for you.
+- **[Report a problem](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose)** — or use **Help → Report a problem** in MDM, which fills in your version, system and how MDM was installed for you.
---
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 5e4c5f36..2c45a7f1 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -43,7 +43,7 @@ Browser integration is set up by the Windows installer only for now.
- **Create a desktop shortcut** (off unless you tick it)
5. Click **Install**, then **Finish** to start MDM.
-If MDM is already running, the setup asks it to save and close first. To update, run the setup of the new version; your list and settings stay.
+If MDM is already running, the setup asks it to save and close first. To update, use **Help → Check for updates → Update now**, or run the setup of the new version; your list and settings stay.
Browser integration needs one more step in each browser: loading the extension. [Browser integration](browser-integration.md) shows how.
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index c3105e13..852a1334 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -68,7 +68,19 @@ To back up your list, quit MDM (**Tasks → Exit**) and copy `downloads.json`.
## Updates
-**Help → Check for updates...** tells you whether a newer version is out, and what is new in it. **Check for updates once a week** in that window lets MDM look by itself. New versions are on the [Releases](https://github.com/anefzaoui/misterdownloadmanager/releases) page.
+**Help → Check for updates...** tells you whether a newer version is out, and what is new in it. **Check for updates once a week** in that window lets MDM look by itself.
+
+When there is one, **Update now** downloads it, checks it, puts it in place and restarts MDM; your list, settings and downloads stay as they are:
+
+| You installed | What Update now does |
+|---|---|
+| Windows, the setup | Runs the new setup without its windows. An installation for all users asks for the administrator's permission. |
+| Windows, the portable or plain zip | Replaces the programs in their folder (a portable copy's `data` folder is kept). |
+| Mac | Replaces the app in Applications. |
+| Linux, the AppImage or the .tar.gz | Replaces the AppImage, or the programs in their folder. |
+| Linux, the .deb or .rpm | Opens the checked package in your system's package installer, which asks for your password. |
+
+MDM installs an update only when the release's list of checksums is signed by MDM's release key and the file matches it; anything else is refused, and **Download** opens the [Releases](https://github.com/anefzaoui/misterdownloadmanager/releases) page instead. Updating this way starts with version 0.2.1: earlier versions open the Releases page.
**Help → About Mister Download Manager** shows the version you have.
@@ -76,9 +88,9 @@ To back up your list, quit MDM (**Tasks → Exit**) and copy `downloads.json`.
## Reporting a problem
-Choose **Help → Report a problem**. It opens a new report on GitHub with your MDM version, Windows version and interface language already filled in. Describe what you did, what happened and what you expected. For a download, include the address if you can share it, and the reason shown under **Status**.
+Choose **Help → Report a problem**. It opens the bug report form on GitHub with your MDM version, your system and its version, how MDM was installed and its interface language already filled in. Describe what happened, what you expected and the steps that make it happen. For a download, include the address if you can share it, and the reason shown under **Status**.
-You can also go straight to [Issues](https://github.com/anefzaoui/misterdownloadmanager/issues).
+You can also [open the form yourself](https://github.com/anefzaoui/misterdownloadmanager/issues/new?template=bug.yml); it asks for the same details.
## Next steps
diff --git a/i18n/af.tsv b/i18n/af.tsv
index 1eb89b9f..0b08f9cc 100644
--- a/i18n/af.tsv
+++ b/i18n/af.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Laai yt-dlp af en verifieer dit...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Laai die opdatering af... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there die torrent is nie meer daar nie
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Die opdatering kon nie geïnstalleer word nie: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Die opdatering is oop in jou stelsel se pakketinstalleerder.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Die webblad waarvandaan hierdie lêer verkry is:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown onbekend
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Dateer nou op
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/am.tsv b/i18n/am.tsv
index 1ec3440d..8a172cf2 100644
--- a/i18n/am.tsv
+++ b/i18n/am.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp በመውረድ ላይ እና በመረጋገጥ ላይ ነው...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} ዝመናው እየወረደ ነው... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ቶረንቱ እዚያ የለም
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ዝመናው ሊጫን አልቻለም፦ {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. ዝመናው በሲስተምዎ ጥቅል ጫኝ ውስጥ ተከፍቷል።
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ይህ ፋይል የተገኘበት የድር ገጽ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ያልታወቀ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now አሁን ያዘምኑ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ar.tsv b/i18n/ar.tsv
index 0b4116f3..9a9c6b6f 100644
--- a/i18n/ar.tsv
+++ b/i18n/ar.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... جار تنزيل yt-dlp والتحقق منه...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} جار تنزيل التحديث... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there التورنت لم يعد موجودا
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} تعذر تثبيت التحديث: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. التحديث مفتوح في مثبت حزم النظام.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: صفحة الويب التي تم الحصول على هذا الملف منها:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown غير معروف
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now تحديث الآن
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/as.tsv b/i18n/as.tsv
index 0f16ac4a..06484183 100644
--- a/i18n/as.tsv
+++ b/i18n/as.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ডাউনল’ড আৰু পৰীক্ষা কৰা হৈছে...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} আপডেট ডাউনল’ড হৈ আছে... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there টৰেণ্টটো আৰু তাত নাই
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} আপডেটটো ইনষ্টল কৰিব পৰা নগ'ল: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. আপডেটটো আপোনাৰ ছিষ্টেমৰ পেকেজ ইনষ্টলাৰত খোলা আছে।
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: এই ফাইলটো যি ৱেব পৃষ্ঠাৰ পৰা পোৱা গৈছিল:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown অজ্ঞাত
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now এতিয়া আপডেট কৰক
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/az.tsv b/i18n/az.tsv
index d9305953..65449e88 100644
--- a/i18n/az.tsv
+++ b/i18n/az.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp yoxlanılır və endirilir...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Yeniləmə yüklənir... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent artıq orada deyil
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Yeniləmə quraşdırıla bilmədi: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Yeniləmə sisteminizin paket quraşdırıcısında açıqdır.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Bu faylın əldə edildiyi veb səhifə:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown naməlum
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now İndi yenilə
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/be.tsv b/i18n/be.tsv
index 9e91d373..883360f1 100644
--- a/i18n/be.tsv
+++ b/i18n/be.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Спампоўка і праверка yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Спампоўваецца абнаўленне... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торэнт больш не існуе
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Не ўдалося ўсталяваць абнаўленне: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Абнаўленне адкрыта ў сістэмным усталёўшчыку пакетаў.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Вэб-старонка, з якой быў атрыманы гэты файл:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown невядома
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Абнавіць зараз
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/bg.tsv b/i18n/bg.tsv
index fc3983ea..ff874a9a 100644
--- a/i18n/bg.tsv
+++ b/i18n/bg.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Изтегляне и проверка на yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Изтегляне на актуализацията... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торентът вече не е там
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Актуализацията не можа да бъде инсталирана: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Актуализацията е отворена в инсталатора на пакети на вашата система.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Уеб страницата, от която е получен този файл:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown неизвестен
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Актуализирай сега
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/bn.tsv b/i18n/bn.tsv
index 0d92a8f8..534fcdd2 100644
--- a/i18n/bn.tsv
+++ b/i18n/bn.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ডাউনলোড ও যাচাই করা হচ্ছে...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} আপডেট ডাউনলোড হচ্ছে... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there টরেন্টটি আর সেখানে নেই
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} আপডেট ইনস্টল করা যায়নি: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. আপডেটটি আপনার সিস্টেমের প্যাকেজ ইনস্টলারে খোলা আছে।
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: যে ওয়েব পৃষ্ঠা থেকে এই ফাইলটি পাওয়া গেছে:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown অজানা
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now এখনই আপডেট করুন
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/bs.tsv b/i18n/bs.tsv
index f9404304..18901f8e 100644
--- a/i18n/bs.tsv
+++ b/i18n/bs.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Preuzimanje i provjera yt-dlp-a...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Preuzimanje ažuriranja... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there Torrent više nije tu
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ažuriranje nije moglo biti instalirano: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Ažuriranje je otvoreno u instalateru paketa vašeg sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Web stranica sa koje je ova datoteka dobijena:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nepoznato
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ažuriraj sada
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ca-es-valencia.tsv b/i18n/ca-es-valencia.tsv
index 9e1b7ec2..36e984a3 100644
--- a/i18n/ca-es-valencia.tsv
+++ b/i18n/ca-es-valencia.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... S'està baixant i verificant yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} S’està baixant l’actualització... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there el torrent ja no hi és
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} No s’ha pogut instal·lar l’actualització: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. L’actualització està oberta en l’instal·lador de paquets del sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La pàgina web d'on s'ha obtingut este fitxer:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown desconegut
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Actualitza ara
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ca.tsv b/i18n/ca.tsv
index a6a6d455..d1371d1b 100644
--- a/i18n/ca.tsv
+++ b/i18n/ca.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... S'està baixant i verificant yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} S'està baixant l'actualització... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there el torrent ja no hi és
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} No s'ha pogut instal·lar l'actualització: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. L'actualització està oberta a l'instal·lador de paquets del sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La pàgina web des de la qual s'ha obtingut aquest fitxer:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown desconegut
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Actualitza ara
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/chr.tsv b/i18n/chr.tsv
index 7901f80d..3af8e283 100644
--- a/i18n/chr.tsv
+++ b/i18n/chr.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... ᎠᎾᏛᏗ ᎠᎴ ᎠᎾᏙᎴᎰᏍᎬ yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} ᎠᏓᏁᏟᏴᏍᏗ ᏓᎩᎶᏔᏅ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ᎾᏍᎩ torrent ᎥᏝ ᎿᏉ ᏱᏚᎾᏙᏢᏒ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ᎠᏓᏁᏟᏴᏍᏗ ᎥᏝ ᏰᎵ ᏱᏚᎾᏗᏔᎾᏁᎢ: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. ᎠᏓᏁᏟᏴᏍᏗ ᎤᎵᏍᏚᎢᏛ ᎢᎩᎾᎵᏍᏓᏁᏗ ᎤᎾᏗᏔᎾᏍᏗ ᏗᏟᎶᏍᏔᏅᎢ.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ᎾᏍᎩ ᎤᎾᏙᏢᏒ ᏗᏟᎶᏍᏔᏅᎯ ᎾᏍᎩ ᎯᎠ ᏗᏟᎶᏍᏔᏅᎯ ᎤᎾᏕᎶᎥᏍᏗ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ᏄᏬᎵᏍᏔᏅᎾ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ᎪᎯ ᎢᎦ ᎢᏥᏁᏟᏴᏏ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/cs.tsv b/i18n/cs.tsv
index 8870afff..bba0c0d3 100644
--- a/i18n/cs.tsv
+++ b/i18n/cs.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Stahování a ověřování yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Stahování aktualizace... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent již není k dispozici
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Aktualizaci se nepodařilo nainstalovat: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Aktualizace je otevřena v instalačním programu balíčků vašeho systému.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Webová stránka, ze které byl tento soubor získán:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown neznámý
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Aktualizovat
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/cy.tsv b/i18n/cy.tsv
index e584f596..c972773e 100644
--- a/i18n/cy.tsv
+++ b/i18n/cy.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Yn lawrlwytho a dilysu yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Yn lawrlwytho'r diweddariad... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there nid yw'r torrent yno mwyach
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Doedd dim modd gosod y diweddariad: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Mae'r diweddariad ar agor yn gosodwr pecynnau eich system.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Y dudalen we y cafwyd y ffeil hon ohoni:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown anhysbys
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Diweddaru nawr
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/da.tsv b/i18n/da.tsv
index 4153b911..1c93fd4c 100644
--- a/i18n/da.tsv
+++ b/i18n/da.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Downloader og verificerer yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Downloader opdateringen... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenten er der ikke længere
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Opdateringen kunne ikke installeres: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Opdateringen er åben i systemets pakkeinstallationsprogram.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Websiden, hvorfra denne fil blev hentet:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ukendt
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Opdater nu
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/de.tsv b/i18n/de.tsv
index 54b49a56..68f9044f 100644
--- a/i18n/de.tsv
+++ b/i18n/de.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp wird heruntergeladen und überprüft...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Update wird heruntergeladen... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there Der Torrent ist nicht mehr vorhanden
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Das Update konnte nicht installiert werden: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Das Update ist im Paketinstallationsprogramm Ihres Systems geöffnet.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Die Webseite, von der diese Datei bezogen wurde:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown unbekannt
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Jetzt aktualisieren
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/el.tsv b/i18n/el.tsv
index 5b4540bc..4b8061cf 100644
--- a/i18n/el.tsv
+++ b/i18n/el.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Λήψη και επαλήθευση yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Λήψη της ενημέρωσης... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there το torrent δεν υπάρχει πλέον
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Δεν ήταν δυνατή η εγκατάσταση της ενημέρωσης: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Η ενημέρωση είναι ανοιχτή στο πρόγραμμα εγκατάστασης πακέτων του συστήματός σας.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Η ιστοσελίδα από την οποία αποκτήθηκε αυτό το αρχείο:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown άγνωστο
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ενημέρωση τώρα
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/en.tsv b/i18n/en.tsv
index faa375a6..577e9542 100644
--- a/i18n/en.tsv
+++ b/i18n/en.tsv
@@ -345,6 +345,9 @@
#. text in the Download video window
#. the trailing ... means it is still going on: keep it
Downloading and verifying yt-dlp... Downloading and verifying yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+ Downloading the update... {percent} Downloading the update... {percent}
#. text in the Options window
#. tab title: download settings
Downloads Downloads
@@ -1166,6 +1169,11 @@
#. text in torrent downloads
#. an error: the torrent is gone from the torrent session
the torrent is no longer there the torrent is no longer there
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+ The update couldn't be installed: {error} The update couldn't be installed: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+ The update is open in your system's package installer. The update is open in your system's package installer.
#. text in a download's Properties window
The web page from which this file was obtained: The web page from which this file was obtained:
#. text in categories.rs
@@ -1236,6 +1244,9 @@
#. text in a download's progress window
#. the reason a download failed is not known
unknown unknown
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+ Update now Update now
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
Updates could not be checked: {error} Updates could not be checked: {error}
diff --git a/i18n/es-mx.tsv b/i18n/es-mx.tsv
index 6d388114..28ae94ed 100644
--- a/i18n/es-mx.tsv
+++ b/i18n/es-mx.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Descargando y verificando yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Descargando la actualización... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there el torrent ya no está
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} No se pudo instalar la actualización: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. La actualización está abierta en el instalador de paquetes de su sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La página web de la que se obtuvo este archivo:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown desconocido
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Actualizar ahora
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/es.tsv b/i18n/es.tsv
index f95605a2..fa749612 100644
--- a/i18n/es.tsv
+++ b/i18n/es.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Descargando y verificando yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Descargando la actualización... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there el torrent ya no está
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} No se pudo instalar la actualización: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. La actualización está abierta en el instalador de paquetes de su sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La página web de la que se obtuvo este archivo:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown desconocido
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Actualizar ahora
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/et.tsv b/i18n/et.tsv
index fa699354..1aa21a20 100644
--- a/i18n/et.tsv
+++ b/i18n/et.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Allalaadimine ja yt-dlp kontrollimine...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Värskenduse allalaadimine... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrentit pole enam olemas
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Värskendust ei saanud installida: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Värskendus on avatud teie süsteemi paketiinstalleris.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Veebileht, kust see fail saadi:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown tundmatu
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Värskenda kohe
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
@@ -2301,6 +2316,10 @@ menu Clear all &filters Puhasta kõik &filtrid
#. menu command in the main window
#, machine
menu Create new queue Loo uus järjekord
+#. menu command in standard windows
+#. & marks the keyboard shortcut letter: keep one & before a letter of the translation
+#, machine
+menu Cu&t Lõika(&t)
#. menu command in the main window
#. the trailing ... means it opens a window: keep it
#, machine
diff --git a/i18n/eu.tsv b/i18n/eu.tsv
index 4c475798..fb856b6d 100644
--- a/i18n/eu.tsv
+++ b/i18n/eu.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp deskargatzen eta egiaztatzen...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Eguneratzea deskargatzen... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenta ez dago jada
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ezin izan da eguneratzea instalatu: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Eguneratzea zure sistemaren pakete-instalatzailean irekita dago.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Fitxategi hau lortu den web-orria:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ezezaguna
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Eguneratu orain
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/fa.tsv b/i18n/fa.tsv
index b02fb8f8..559b28ec 100644
--- a/i18n/fa.tsv
+++ b/i18n/fa.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... در حال بارگیری و تأیید yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} در حال بارگیری به‌روزرسانی... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there تورنت دیگر وجود ندارد
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} به‌روزرسانی نصب نشد: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. به‌روزرسانی در نصب‌کننده بسته سیستم شما باز است.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: صفحه وبی که این فایل از آن به دست آمده است:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ناشناخته
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now اکنون به‌روزرسانی کن
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/fi.tsv b/i18n/fi.tsv
index 6117f23f..c95b9068 100644
--- a/i18n/fi.tsv
+++ b/i18n/fi.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Ladataan ja tarkistetaan yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Ladataan päivitystä... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrentia ei ole enää olemassa
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Päivitystä ei voitu asentaa: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Päivitys on avoinna järjestelmän pakettiasennusohjelmassa.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Verkkosivu, jolta tämä tiedosto hankittiin:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown tuntematon
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Päivitä nyt
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/fil.tsv b/i18n/fil.tsv
index 195835e8..4e093346 100644
--- a/i18n/fil.tsv
+++ b/i18n/fil.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Nagda-download at nagbe-verify ng yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Dina-download ang update... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there wala na ang torrent
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Hindi ma-install ang update: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Bukas ang update sa installer ng package ng iyong system.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Ang web page kung saan nakuha ang file na ito:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown hindi alam
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now I-update ngayon
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/fr-ca.tsv b/i18n/fr-ca.tsv
index 6c72baad..8320133c 100644
--- a/i18n/fr-ca.tsv
+++ b/i18n/fr-ca.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Téléchargement et vérification de yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Téléchargement de la mise à jour... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there le torrent n’est plus là
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Impossible d’installer la mise à jour : {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. La mise à jour est ouverte dans l’installateur de paquets de votre système.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La page web d’où ce fichier a été obtenu :
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown inconnu
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Mettre à jour maintenant
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/fr.tsv b/i18n/fr.tsv
index 4e8fbb22..076ffd45 100644
--- a/i18n/fr.tsv
+++ b/i18n/fr.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Téléchargement et vérification de yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Téléchargement de la mise à jour... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there le torrent n’est plus là
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Impossible d’installer la mise à jour : {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. La mise à jour est ouverte dans le programme d’installation de votre système.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La page web à partir de laquelle ce fichier a été obtenu :
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown inconnu
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Mettre à jour maintenant
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ga.tsv b/i18n/ga.tsv
index 23cac525..0233c144 100644
--- a/i18n/ga.tsv
+++ b/i18n/ga.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Ag íoslódáil agus ag fíorú yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Á íoslódáil an nuashonraithe... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there níl an torrent ann a thuilleadh
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Níorbh fhéidir an nuashonrú a shuiteáil: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Tá an nuashonrú oscailte i suiteálaí pacáiste do chórais.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: An leathanach gréasáin as ar baineadh an comhad seo:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown anaithnid
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Nuashonraigh anois
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/gd.tsv b/i18n/gd.tsv
index 418ec4c6..9f5981b2 100644
--- a/i18n/gd.tsv
+++ b/i18n/gd.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... A’ luchdachadh is a’ dearbhadh yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} A luchdachadh sìos an ùrachaidh... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there chan eil an torrent ann tuilleadh
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Cha b' urrainn an t-ùrachadh a stàladh: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Tha an t-ùrachadh fosgailte ann an stàlaichear pacaid an t-siostaim agad.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: An duilleag-lìn às an deach am faidhle seo fhaighinn:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown neo-aithnichte
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ùraich a-nis
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/gl.tsv b/i18n/gl.tsv
index b20aaf7d..c40d927b 100644
--- a/i18n/gl.tsv
+++ b/i18n/gl.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Descargando e verificando yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Descargando a actualización... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there o torrent xa non está alí
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Non se puido instalar a actualización: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. A actualización está aberta no instalador de paquetes do seu sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: A páxina web da que se obtivo este ficheiro:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown descoñecido
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Actualizar agora
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/gu.tsv b/i18n/gu.tsv
index 236352d1..edc49bbd 100644
--- a/i18n/gu.tsv
+++ b/i18n/gu.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ડાઉનલોડ અને ચકાસી રહ્યું છે...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} અપડેટ ડાઉનલોડ કરી રહ્યું છે... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ટૉરેન્ટ હવે ત્યાં નથી
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} અપડેટ ઇન્સ્ટોલ કરી શકાયું નથી: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. અપડેટ તમારા સિસ્ટમના પેકેજ ઇન્સ્ટોલરમાં ખુલ્લું છે.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: વેબ પૃષ્ઠ જ્યાંથી આ ફાઇલ મેળવવામાં આવી હતી:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown અજાણ્યું
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now હવે અપડેટ કરો
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/he.tsv b/i18n/he.tsv
index 559f7522..5068e0eb 100644
--- a/i18n/he.tsv
+++ b/i18n/he.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... מוריד ומאמת את yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} מוריד את העדכון... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there הטורנט אינו קיים עוד
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} לא ניתן היה להתקין את העדכון: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. העדכון פתוח במתקין החבילות של המערכת שלך.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: דף האינטרנט שממנו הושג קובץ זה:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown לא ידוע
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now עדכן עכשיו
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/hi.tsv b/i18n/hi.tsv
index c6168e03..0ed7c778 100644
--- a/i18n/hi.tsv
+++ b/i18n/hi.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp डाउनलोड और सत्यापित किया जा रहा है...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} अपडेट डाउनलोड हो रहा है... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there टॉरेंट अब वहां नहीं है
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} अपडेट स्थापित नहीं किया जा सका: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. अपडेट आपके सिस्टम के पैकेज इंस्टॉलर में खुला है।
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: वह वेब पेज जिससे यह फ़ाइल प्राप्त की गई थी:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown अज्ञात
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now अभी अपडेट करें
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/hr.tsv b/i18n/hr.tsv
index 9957e691..96a4963e 100644
--- a/i18n/hr.tsv
+++ b/i18n/hr.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Preuzimanje i provjera yt-dlp-a...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Preuzimanje ažuriranja... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenta više nema
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ažuriranje nije moguće instalirati: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Ažuriranje je otvoreno u instalacijskom programu paketa vašeg sustava.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Web-stranica s koje je ova datoteka dobivena:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nepoznato
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ažuriraj sada
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/hu.tsv b/i18n/hu.tsv
index 26dbe35d..56e731be 100644
--- a/i18n/hu.tsv
+++ b/i18n/hu.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp letöltése és ellenőrzése...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Frissítés letöltése... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there a torrent már nincs ott
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} A frissítés nem telepíthető: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. A frissítés meg van nyitva a rendszer csomagtelepítőjében.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Az a weboldal, ahonnan ezt a fájlt szerezték:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ismeretlen
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Frissítés most
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/hy.tsv b/i18n/hy.tsv
index fbab0f2b..9051bda3 100644
--- a/i18n/hy.tsv
+++ b/i18n/hy.tsv
@@ -476,6 +476,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Ներբեռնվում և ստուգվում է yt-dlp-ը...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Թարմացումը ներբեռնվում է... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1626,6 +1630,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there տորենտը այլևս այնտեղ չկա
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Թարմացումը հնարավոր չեղավ տեղադրել՝ {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Թարմացումը բաց է ձեր համակարգի փաթեթի տեղադրիչում։
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Վեբ էջը, որտեղից ստացվել է այս ֆայլը:
@@ -1725,6 +1736,10 @@
#. the reason a download failed is not known
#, machine
unknown անհայտ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Թարմացնել հիմա
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/id.tsv b/i18n/id.tsv
index 4a6f97dd..686edbf6 100644
--- a/i18n/id.tsv
+++ b/i18n/id.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Mengunduh dan memverifikasi yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Mengunduh pembaruan... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent tidak ada lagi
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Pembaruan tidak dapat diinstal: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Pembaruan terbuka di penginstal paket sistem Anda.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Halaman web tempat file ini diperoleh:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown tidak diketahui
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Perbarui sekarang
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/is.tsv b/i18n/is.tsv
index 0e8d194a..b4dc7bc3 100644
--- a/i18n/is.tsv
+++ b/i18n/is.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Sæki og staðfesti yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Sæki uppfærsluna... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent er ekki lengur til staðar
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ekki tókst að setja upp uppfærsluna: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Uppfærslan er opin í pakkauppsetningarforriti kerfisins þíns.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Vefsíðan sem þessi skrá var fengin af:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown óþekkt
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Uppfæra núna
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/it.tsv b/i18n/it.tsv
index 33d7e886..105483c2 100644
--- a/i18n/it.tsv
+++ b/i18n/it.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Download e verifica di yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Download dell'aggiornamento... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there il torrent non è più presente
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Impossibile installare l'aggiornamento: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. L'aggiornamento è aperto nel programma di installazione del pacchetto del sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: La pagina web da cui è stato ottenuto questo file:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown sconosciuto
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Aggiorna ora
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ja.tsv b/i18n/ja.tsv
index b09275c0..fd6f0a9b 100644
--- a/i18n/ja.tsv
+++ b/i18n/ja.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp をダウンロードして確認しています...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} 更新をダウンロードしています... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there トレントがセッションにありません
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} 更新をインストールできませんでした: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. 更新はシステムのパッケージ インストーラーで開かれています。
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: このファイルが取得された Web ページ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown 不明
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now 今すぐ更新
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ka.tsv b/i18n/ka.tsv
index a2adb49b..bdadb5ff 100644
--- a/i18n/ka.tsv
+++ b/i18n/ka.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp-ის ჩამოტვირთვა და შემოწმება...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} განახლების ჩამოტვირთვა... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ტორენტი აღარ არის
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} განახლების ინსტალაცია ვერ მოხერხდა: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. განახლება გახსნილია თქვენი სისტემის პაკეტის ინსტალერში.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ვებ გვერდი, საიდანაც ეს ფაილი იქნა მიღებული:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown უცნობი
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now განახლება ახლა
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/kk.tsv b/i18n/kk.tsv
index cd859be5..4016d6b4 100644
--- a/i18n/kk.tsv
+++ b/i18n/kk.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp жүктелуде және тексерілуде...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Жаңарту жүктелуде... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торрент енді жоқ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Жаңартуды орнату мүмкін болмады: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Жаңарту жүйеңіздің бума орнатушысында ашық.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Бұл файл алынған веб-бет:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown белгісіз
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Қазір жаңарту
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/km.tsv b/i18n/km.tsv
index 930f3605..fa349fbe 100644
--- a/i18n/km.tsv
+++ b/i18n/km.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... កំពុងទាញយក និងផ្ទៀងផ្ទាត់ yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} កំពុងទាញយកបច្ចុប្បន្នភាព... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent លែងមានទៀតហើយ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} មិនអាចដំឡើងបច្ចុប្បន្នភាពបានទេ៖ {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. បច្ចុប្បន្នភាពត្រូវបានបើកនៅក្នុងកម្មវិធីដំឡើងកញ្ចប់របស់ប្រព័ន្ធអ្នក។
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ទំព័រគេហទំព័រដែលឯកសារនេះត្រូវបានទទួល៖
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown មិនស្គាល់
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now អាប់ដេតឥឡូវ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/kn.tsv b/i18n/kn.tsv
index bc5c954d..ab589da1 100644
--- a/i18n/kn.tsv
+++ b/i18n/kn.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ಅನ್ನು ಡೌನ್‌ಲೋಡ್ ಮಾಡಲಾಗುತ್ತಿದೆ ಮತ್ತು ಪರಿಶೀಲಿಸಲಾಗುತ್ತಿದೆ...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} ಅಪ್‌ಡೇಟ್ ಡೌನ್‌ಲೋಡ್ ಮಾಡಲಾಗುತ್ತಿದೆ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ಟೊರೆಂಟ್ ಇನ್ನು ಮುಂದೆ ಇಲ್ಲ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ಅಪ್‌ಡೇಟ್ ಅನ್ನು ಇನ್‌ಸ್ಟಾಲ್ ಮಾಡಲು ಸಾಧ್ಯವಾಗಲಿಲ್ಲ: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. ನಿಮ್ಮ ಸಿಸ್ಟಂನ ಪ್ಯಾಕೇಜ್ ಇನ್‌ಸ್ಟಾಲರ್‌ನಲ್ಲಿ ಅಪ್‌ಡೇಟ್ ತೆರೆದಿದೆ.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ಈ ಫೈಲ್ ಅನ್ನು ಪಡೆದ ವೆಬ್ ಪುಟ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ಅಜ್ಞಾತ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ಈಗ ಅಪ್‌ಡೇಟ್ ಮಾಡಿ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ko.tsv b/i18n/ko.tsv
index c88a89ba..16c7c07c 100644
--- a/i18n/ko.tsv
+++ b/i18n/ko.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp 다운로드 및 확인 중...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} 업데이트 다운로드 중... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there 토렌트가 더 이상 없습니다.
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} 업데이트를 설치할 수 없습니다: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. 업데이트가 시스템 패키지 설치 관리자에서 열려 있습니다.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: 이 파일을 얻은 웹 페이지:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown 알 수 없음
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now 지금 업데이트
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/kok.tsv b/i18n/kok.tsv
index 58d88d2f..196c0415 100644
--- a/i18n/kok.tsv
+++ b/i18n/kok.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp डाउनलोड करता आनी तपासता...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} अद्ययावतीकरण डाउनलोड करता... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there टॉरेंट आतां थंय ना
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} अद्ययावतीकरण स्थापीत करूंक शकले ना: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. तुमच्या प्रणालीच्या पॅकेज इंस्टॉलरान अद्ययावतीकरण उगडें आसा.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ही फाइल मेळिल्ली वेब पेज:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown अज्ञात
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now आतां अद्ययावतीकरण कर
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/lb.tsv b/i18n/lb.tsv
index 6c6a0cb7..b7682a65 100644
--- a/i18n/lb.tsv
+++ b/i18n/lb.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Lueden an iwwerpréiwen yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Update gëtt erofgelueden... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there Den Torrent ass net méi do
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Den Update konnt net installéiert ginn: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Den Update ass an Ärem System sengem Package-Installateur op.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: D'Websäit, vun där dës Datei kritt gouf:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown onbekannt
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Elo aktualiséieren
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/lo.tsv b/i18n/lo.tsv
index 8297d39b..1d8db1bb 100644
--- a/i18n/lo.tsv
+++ b/i18n/lo.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... ກຳລັງດາວໂຫຼດ ແລະກວດສອບ yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} ກຳລັງດາວໂຫຼດອັບເດດ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent ບໍ່ມີອີກຕໍ່ໄປ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ບໍ່ສາມາດຕິດຕັ້ງການອັບເດດໄດ້: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. ການອັບເດດຖືກເປີດຢູ່ໃນຕົວຕິດຕັ້ງແພັກເກດຂອງລະບົບຂອງທ່ານແລ້ວ.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ໜ້າເວັບທີ່ໄດ້ຮັບໄຟລ໌ນີ້:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ບໍ່ຮູ້ຈັກ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ອັບເດດດຽວນີ້
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/lt.tsv b/i18n/lt.tsv
index 30e56b47..2edb20b0 100644
--- a/i18n/lt.tsv
+++ b/i18n/lt.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Atsisiunčiamas ir tikrinamas yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Atsisiunčiamas naujinimas... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrento nebeliko
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Naujinimo nepavyko įdiegti: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Naujinimas atidarytas jūsų sistemos paketų diegimo programoje.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Tinklalapis, iš kurio gautas šis failas:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nežinoma
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Naujinti dabar
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/lv.tsv b/i18n/lv.tsv
index 714e71b5..9d651c87 100644
--- a/i18n/lv.tsv
+++ b/i18n/lv.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Lejupielādē un verificē yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Lejupielādē atjauninājumu... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrents vairs nav pieejams
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Atjauninājumu nevarēja instalēt: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Atjauninājums ir atvērts jūsu sistēmas pakotņu instalētājā.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Tīmekļa lapa, no kuras šis fails tika iegūts:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nezināms
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Atjaunināt tūlīt
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/mi.tsv b/i18n/mi.tsv
index 69a1c3b4..e3f3cd6c 100644
--- a/i18n/mi.tsv
+++ b/i18n/mi.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... E tango ana, e manatoko ana i te yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} E tikiake ana i te whakahou... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there kāore te awa i reira
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Kāore i taea te tāuta te whakahou: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Kei te tuwhera te whakahou i roto i te kaiwhakauru pūmanawa o tō pūnaha.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Te whārangi tukutuku i riro mai ai tēnei kōnae:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown kāore i te mōhiotia
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Whakahou ināianei
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/mk.tsv b/i18n/mk.tsv
index 38274b8f..f7a4c29e 100644
--- a/i18n/mk.tsv
+++ b/i18n/mk.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Преземање и проверка на yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Преземање на ажурирањето... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торентот повеќе го нема
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ажурирањето не можеше да се инсталира: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Ажурирањето е отворено во инсталаторот на пакети на вашиот систем.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Веб-страницата од која е добиена оваа датотека:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown непознато
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ажурирај сега
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ml.tsv b/i18n/ml.tsv
index 4329c0a3..b95aff8e 100644
--- a/i18n/ml.tsv
+++ b/i18n/ml.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ഡൗൺലോഡ് ചെയ്യുകയും പരിശോധിക്കുകയും ചെയ്യുന്നു...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} അപ്‌ഡേറ്റ് ഡൗൺലോഡ് ചെയ്യുന്നു... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ടോറന്റ് ഇനി അവിടെയില്ല
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} അപ്‌ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യാനായില്ല: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. നിങ്ങളുടെ സിസ്റ്റത്തിൻ്റെ പാക്കേജ് ഇൻസ്റ്റാളറിൽ അപ്‌ഡേറ്റ് തുറന്നിരിക്കുന്നു.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ഈ ഫയൽ ലഭിച്ച വെബ് പേജ്:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown അജ്ഞാതം
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ഇപ്പോൾ അപ്‌ഡേറ്റ് ചെയ്യുക
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/mr.tsv b/i18n/mr.tsv
index b55d838e..55a64842 100644
--- a/i18n/mr.tsv
+++ b/i18n/mr.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp डाउनलोड करत आहे आणि त्याची पडताळणी करत आहे...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} अपडेट डाउनलोड करत आहे... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there टॉरेंट आता तिथे नाही
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} अपडेट स्थापित केले जाऊ शकले नाही: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. अपडेट तुमच्या सिस्टमच्या पॅकेज इंस्टॉलरमध्ये उघडले आहे.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ज्या वेब पृष्ठावरून ही फाइल प्राप्त झाली:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown अज्ञात
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now आता अपडेट करा
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ms.tsv b/i18n/ms.tsv
index 322537d7..ee72b8e0 100644
--- a/i18n/ms.tsv
+++ b/i18n/ms.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Memuat turun dan mengesahkan yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Memuat turun kemas kini... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent tiada lagi
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Kemas kini tidak dapat dipasang: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Kemas kini dibuka dalam pemasang pakej sistem anda.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Halaman web dari mana fail ini diperoleh:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown tidak diketahui
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Kemas kini sekarang
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/mt.tsv b/i18n/mt.tsv
index 572e0987..ea0a107d 100644
--- a/i18n/mt.tsv
+++ b/i18n/mt.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Qed jitniżżel u jiġi vverifikat yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Qed jitniżżel l-aġġornament... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there it-torrent m'għadux hemm
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} L-aġġornament ma setax jiġi installat: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. L-aġġornament huwa miftuħ fl-installatur tal-pakketti tas-sistema tiegħek.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Il-paġna web minn fejn inkiseb dan il-fajl:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown mhux magħruf
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Aġġorna issa
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/nb.tsv b/i18n/nb.tsv
index 2e378cff..ed85c9a9 100644
--- a/i18n/nb.tsv
+++ b/i18n/nb.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Laster ned og bekrefter yt-dlp ...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Laster ned oppdateringen ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenten er ikke lenger der
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Oppdateringen kunne ikke installeres: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Oppdateringen er åpen i systemets pakkeinstallasjonsprogram.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Nettsiden denne filen ble hentet fra:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ukjent
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Oppdater nå
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ne.tsv b/i18n/ne.tsv
index a3816b9c..9afe33ed 100644
--- a/i18n/ne.tsv
+++ b/i18n/ne.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp डाउनलोड र प्रमाणित गर्दै...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} अद्यावधिक डाउनलोड गर्दै... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there टोरेन्ट अब त्यहाँ छैन
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} अद्यावधिक स्थापना गर्न सकिएन: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. अद्यावधिक तपाईंको प्रणालीको प्याकेज स्थापनाकर्तामा खोलिएको छ।
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: यो फाइल प्राप्त गरिएको वेब पृष्ठ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown अज्ञात
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now अहिले अद्यावधिक गर्नुहोस्
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
@@ -2134,6 +2149,10 @@ menu &Add new download नयाँ डाउनलोड थप्नुहो
#. menu command in standard windows
#. & marks the keyboard shortcut letter: keep one & before a letter of the translation
#, machine
+menu &Copy &प्रतिलिपि गर्नुहोस्
+#. menu command in standard windows
+#. & marks the keyboard shortcut letter: keep one & before a letter of the translation
+#, machine
menu &Delete &मेट्नुहोस्
#. menu command in the main window
#. & marks the keyboard shortcut letter: keep one & before a letter of the translation
diff --git a/i18n/nl.tsv b/i18n/nl.tsv
index 2b8b85cc..41c4d4ce 100644
--- a/i18n/nl.tsv
+++ b/i18n/nl.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp downloaden en verifiëren...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Update downloaden... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there de torrent is er niet meer
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} De update kan niet worden geïnstalleerd: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. De update is geopend in de pakketinstallatie van uw systeem.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: De webpagina waarvan dit bestand is verkregen:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown onbekend
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Nu bijwerken
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/nn.tsv b/i18n/nn.tsv
index 7d7e2da1..c013c5cb 100644
--- a/i18n/nn.tsv
+++ b/i18n/nn.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Lastar ned og verifiserer yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Lastar ned oppdateringa ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenten er ikkje lenger der
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Oppdateringa kunne ikkje installerast: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Oppdateringa er open i systemet sin pakkeinstallasjon.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Nettsida som denne fila vart henta frå:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ukjend
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Oppdater no
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/or.tsv b/i18n/or.tsv
index 3dcd8e94..d152fb67 100644
--- a/i18n/or.tsv
+++ b/i18n/or.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ଡାଉନଲୋଡ୍ ଏବଂ ଯାଞ୍ଚ କରାଯାଉଛି...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} ଅପଡେଟ୍ ଡାଉନଲୋଡ୍ କରାଯାଉଛି... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ଟରେଣ୍ଟ ଆଉ ସେଠାରେ ନାହିଁ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ଅପଡେଟ୍ ସ୍ଥାପନ ହୋଇପାରିଲା ନାହିଁ: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. ଅପଡେଟ୍ ଆପଣଙ୍କ ସିଷ୍ଟମର ପ୍ୟାକେଜ୍ ଇନଷ୍ଟଲର୍‌ରେ ଖୋଲା ଅଛି।
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ଏହି ଫାଇଲ୍‌ ଯେଉଁ ୱେବ୍‌ ପୃଷ୍ଠାରୁ ପ୍ରାପ୍ତ ହୋଇଥିଲା:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ଅଜ୍ଞାତ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ବର୍ତ୍ତମାନ ଅପଡେଟ୍ କରନ୍ତୁ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/pa.tsv b/i18n/pa.tsv
index e764d8ae..55d28234 100644
--- a/i18n/pa.tsv
+++ b/i18n/pa.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ਡਾਊਨਲੋਡ ਅਤੇ ਤਸਦੀਕ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} ਅੱਪਡੇਟ ਡਾਊਨਲੋਡ ਕੀਤਾ ਜਾ ਰਿਹਾ ਹੈ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ਟੋਰੈਂਟ ਹੁਣ ਉੱਥੇ ਨਹੀਂ ਹੈ
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ਅੱਪਡੇਟ ਸਥਾਪਤ ਨਹੀਂ ਕੀਤਾ ਜਾ ਸਕਿਆ: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. ਅੱਪਡੇਟ ਤੁਹਾਡੇ ਸਿਸਟਮ ਦੇ ਪੈਕੇਜ ਇੰਸਟਾਲਰ ਵਿੱਚ ਖੁੱਲ੍ਹਾ ਹੈ।
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ਵੈੱਬ ਪੰਨਾ ਜਿੱਥੋਂ ਇਹ ਫਾਈਲ ਪ੍ਰਾਪਤ ਕੀਤੀ ਗਈ ਸੀ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ਅਣਜਾਣ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ਹੁਣੇ ਅੱਪਡੇਟ ਕਰੋ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/pl.tsv b/i18n/pl.tsv
index 8419a9e6..a329c8c4 100644
--- a/i18n/pl.tsv
+++ b/i18n/pl.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Pobieranie i weryfikacja yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Pobieranie aktualizacji... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenta już nie ma
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Nie można zainstalować aktualizacji: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Aktualizacja jest otwarta w instalatorze pakietów systemowych.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Strona internetowa, z której uzyskano ten plik:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nieznany
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Aktualizuj teraz
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/pt-br.tsv b/i18n/pt-br.tsv
index 1644aefe..e8aea0d8 100644
--- a/i18n/pt-br.tsv
+++ b/i18n/pt-br.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Baixando e verificando yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Baixando a atualização... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there o torrent não está mais lá
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Não foi possível instalar a atualização: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. A atualização está aberta no instalador de pacotes do seu sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: A página da web de onde este arquivo foi obtido:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown desconhecido
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Atualizar agora
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/pt.tsv b/i18n/pt.tsv
index 728b9556..5da08955 100644
--- a/i18n/pt.tsv
+++ b/i18n/pt.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... A transferir e a verificar o yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} A transferir a atualização... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there o torrent já não está lá
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Não foi possível instalar a atualização: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. A atualização está aberta no instalador de pacotes do seu sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: A página web de onde este ficheiro foi obtido:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown desconhecido
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Atualizar agora
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/quz.tsv b/i18n/quz.tsv
index 1b45d994..0923c67f 100644
--- a/i18n/quz.tsv
+++ b/i18n/quz.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp uraykachasqa chaymanta qhawasqa...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Kunanchanata uraykachachkan... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent manaña kanchu
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Kunanchanata mana churayta atirqanchu: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Kunanchananqa kicharichkanña sistimaykipa pakiti churana ukhupi.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Kay willañiqi qallarisqan web p'anqa:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown mana riqsisqa
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Kunanchanay
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ro.tsv b/i18n/ro.tsv
index 954c134a..9199d77e 100644
--- a/i18n/ro.tsv
+++ b/i18n/ro.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Se descarcă și se verifică yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Se descarcă actualizarea... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrentul nu mai este acolo
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Actualizarea nu a putut fi instalată: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Actualizarea este deschisă în programul de instalare a pachetelor din sistemul dvs.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Pagina web de la care a fost obținut acest fișier:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown necunoscut
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Actualizați acum
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ru.tsv b/i18n/ru.tsv
index fa944791..b32860c2 100644
--- a/i18n/ru.tsv
+++ b/i18n/ru.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Загрузка и проверка yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Загрузка обновления... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торрент больше не существует
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Не удалось установить обновление: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Обновление открыто в системном установщике пакетов.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Веб-страница, с которой был получен этот файл:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown неизвестно
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Обновить сейчас
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/sk.tsv b/i18n/sk.tsv
index f90bbcc7..3b8e6d5f 100644
--- a/i18n/sk.tsv
+++ b/i18n/sk.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Sťahovanie a overovanie yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Sťahovanie aktualizácie... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent už tam nie je
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Aktualizáciu sa nepodarilo nainštalovať: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Aktualizácia je otvorená v inštalátore balíkov vášho systému.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Webová stránka, z ktorej bol tento súbor získaný:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown neznáme
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Aktualizovať teraz
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/sl.tsv b/i18n/sl.tsv
index 994949b5..08ae6fa9 100644
--- a/i18n/sl.tsv
+++ b/i18n/sl.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Prenašanje in preverjanje yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Prenos posodobitve ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenta ni več
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Posodobitve ni bilo mogoče namestiti: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Posodobitev je odprta v namestitvenem programu vašega sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Spletna stran, s katere je bila pridobljena ta datoteka:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown neznano
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Posodobi zdaj
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/sq.tsv b/i18n/sq.tsv
index 758dc749..99c15726 100644
--- a/i18n/sq.tsv
+++ b/i18n/sq.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Po shkarkohet dhe verifikohet yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Po shkarkohet përditësimi... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenti nuk është më aty
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Përditësimi s’u instalua dot: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Përditësimi është i hapur te instaluesi i paketave i sistemit tuaj.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Faqja e internetit nga e cila u mor ky skedar:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown e panjohur
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Përditëso tani
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/sr-latn.tsv b/i18n/sr-latn.tsv
index 0cf00df3..19abf62f 100644
--- a/i18n/sr-latn.tsv
+++ b/i18n/sr-latn.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Preuzimanje i verifikacija yt-dlp-a...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Preuzimanje ispravke... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torent više nije tamo
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ispravka nije mogla da se instalira: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Ispravka je otvorena u instalatoru paketa vašeg sistema.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Veb stranica sa koje je ova datoteka dobijena:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nepoznato
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ažuriraj odmah
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/sr.tsv b/i18n/sr.tsv
index a214c476..6d6443c6 100644
--- a/i18n/sr.tsv
+++ b/i18n/sr.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Преузимање и провера yt-dlp-а...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Преузимање ажурирања... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торент више није тамо
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Ажурирање није могло да се инсталира: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Ажурирање је отворено у инсталатеру пакета вашег система.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Веб страница са које је ова датотека добијена:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown непознато
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Ажурирај сада
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/sv.tsv b/i18n/sv.tsv
index 76d47350..d9f873e1 100644
--- a/i18n/sv.tsv
+++ b/i18n/sv.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Laddar ned och verifierar yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Laddar ned uppdateringen... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrenten finns inte längre
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Uppdateringen kunde inte installeras: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Uppdateringen är öppen i systemets pakethanterare.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Webbsidan från vilken den här filen hämtades:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown okänd
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Uppdatera nu
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ta.tsv b/i18n/ta.tsv
index 81509a23..23619b6e 100644
--- a/i18n/ta.tsv
+++ b/i18n/ta.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp பதிவிறக்கி சரிபார்க்கிறது...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} புதுப்பிப்பைப் பதிவிறக்குகிறது... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there டோரண்ட் இனி இல்லை
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} புதுப்பிப்பை நிறுவ முடியவில்லை: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. புதுப்பிப்பு உங்கள் கணினியின் தொகுப்பு நிறுவியில் திறக்கப்பட்டுள்ளது.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: இந்தக் கோப்பு பெறப்பட்ட வலைப்பக்கம்:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown அறியப்படாதது
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now இப்போது புதுப்பிக்கவும்
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/te.tsv b/i18n/te.tsv
index 0f6e4f33..103e28e0 100644
--- a/i18n/te.tsv
+++ b/i18n/te.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp డౌన్‌లోడ్ చేసి, ధృవీకరిస్తోంది...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} అప్‌డేట్‌ను డౌన్‌లోడ్ చేస్తోంది... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there టోరెంట్ ఇకపై లేదు
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} అప్‌డేట్‌ను ఇన్‌స్టాల్ చేయలేకపోయింది: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. అప్‌డేట్ మీ సిస్టమ్ ప్యాకేజీ ఇన్‌స్టాలర్‌లో తెరిచి ఉంది.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: ఈ ఫైల్ పొందిన వెబ్ పేజీ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown తెలియదు
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ఇప్పుడే అప్‌డేట్ చేయండి
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/th.tsv b/i18n/th.tsv
index 6829dcbf..c6eb949a 100644
--- a/i18n/th.tsv
+++ b/i18n/th.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... กำลังดาวน์โหลดและยืนยัน yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} กำลังดาวน์โหลดการอัปเดต... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ทอร์เรนต์ไม่อยู่ที่นั่นแล้ว
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} ไม่สามารถติดตั้งการอัปเดตได้: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. การอัปเดตเปิดอยู่ในตัวติดตั้งแพคเกจของระบบของคุณ
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: หน้าเว็บที่ได้รับไฟล์นี้:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown ไม่ทราบ
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now อัปเดตเดี๋ยวนี้
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/tr.tsv b/i18n/tr.tsv
index 76e0ebae..8bba5bea 100644
--- a/i18n/tr.tsv
+++ b/i18n/tr.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp indiriliyor ve doğrulanıyor...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Güncelleme indiriliyor... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent artık orada değil
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Güncelleme yüklenemedi: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Güncelleme, sisteminizin paket yükleyicisinde açık.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Bu dosyanın alındığı web sayfası:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown bilinmiyor
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Şimdi güncelle
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/tt.tsv b/i18n/tt.tsv
index d2ad4cc6..b347bc59 100644
--- a/i18n/tt.tsv
+++ b/i18n/tt.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp тикшерелә һәм йөкләнә...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Яңарту йөкләнә... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торрент инде юк
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Яңартуны урнаштырып булмады: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Яңарту системагызның пакет урнаштыручысында ачык.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Бу файл алынган веб-бит:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown билгесез
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Хәзер яңарту
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ug.tsv b/i18n/ug.tsv
index d7f2c476..59855364 100644
--- a/i18n/ug.tsv
+++ b/i18n/ug.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp چۈشۈرۈلۈۋاتىدۇ ۋە تەكشۈرۈلۈۋاتىدۇ...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} يېڭىلاشنى چۈشۈرۈۋاتىدۇ... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there توررېنت ئەمدى يوق
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} يېڭىلاش قاچىلانمىدى: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. يېڭىلاش سىستېمىڭىزنىڭ بوغچا قاچىلىغۇچىسىدا ئېچىلدى.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: بۇ ھۆججەت ئېرىشكەن تور بېتى:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown نامەلۇم
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ھازىر يېڭىلاڭ
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/uk.tsv b/i18n/uk.tsv
index 21421653..68e4ff4a 100644
--- a/i18n/uk.tsv
+++ b/i18n/uk.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Завантаження та перевірка yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Завантаження оновлення... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there торрент більше не існує
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Не вдалося інсталювати оновлення: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Оновлення відкрито в інсталяторі пакетів вашої системи.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Веб-сторінка, з якої було отримано цей файл:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown невідомо
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Оновити зараз
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/ur.tsv b/i18n/ur.tsv
index 82574229..0843b97c 100644
--- a/i18n/ur.tsv
+++ b/i18n/ur.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp ڈاؤن لوڈ اور توثیق ہو رہا ہے...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} اپ ڈیٹ ڈاؤن لوڈ ہو رہا ہے... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there ٹورینٹ اب وہاں نہیں ہے۔
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} اپ ڈیٹ انسٹال نہیں ہو سکا: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. اپ ڈیٹ آپ کے سسٹم کے پیکیج انسٹالر میں کھلا ہے۔
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: وہ ویب صفحہ جہاں سے یہ فائل حاصل کی گئی تھی:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown نامعلوم
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now ابھی اپ ڈیٹ کریں
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/uz.tsv b/i18n/uz.tsv
index 3793fcc6..2bf71c5f 100644
--- a/i18n/uz.tsv
+++ b/i18n/uz.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... yt-dlp yuklab olinmoqda va tekshirilmoqda...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Yangilanish yuklab olinmoqda... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent endi mavjud emas
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Yangilanishni oʻrnatib boʻlmadi: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Yangilanish tizimingizning paket oʻrnatuvchisida ochiq.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Ushbu fayl olingan veb-sahifa:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown nomaʼlum
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Hoziroq yangilash
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/vi.tsv b/i18n/vi.tsv
index dfc0f79f..7113d4e5 100644
--- a/i18n/vi.tsv
+++ b/i18n/vi.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... Đang tải xuống và xác minh yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} Đang tải bản cập nhật... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there torrent không còn ở đó nữa
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} Không thể cài đặt bản cập nhật: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. Bản cập nhật đang mở trong trình cài đặt gói của hệ thống.
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: Trang web mà tệp này được lấy từ:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown không xác định
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now Cập nhật ngay
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/zh-hans.tsv b/i18n/zh-hans.tsv
index c105b134..b8ffc635 100644
--- a/i18n/zh-hans.tsv
+++ b/i18n/zh-hans.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... 正在下载和验证 yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} 正在下载更新... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there 种子已不存在
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} 无法安装更新: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. 更新已在系统的程序包安装程序中打开。
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: 获取此文件的网页:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown 未知
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now 立即更新
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/i18n/zh-hant.tsv b/i18n/zh-hant.tsv
index 1b09c879..b0abd7ab 100644
--- a/i18n/zh-hant.tsv
+++ b/i18n/zh-hant.tsv
@@ -482,6 +482,10 @@
#. the trailing ... means it is still going on: keep it
#, machine
Downloading and verifying yt-dlp... 正在下載並驗證 yt-dlp...
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. Check for updates, while Update now downloads; {percent} like "42%"
+#, machine
+ Downloading the update... {percent} 正在下載更新... {percent}
#. text in the Options window
#. tab title: download settings
#, machine
@@ -1642,6 +1646,13 @@
#. an error: the torrent is gone from the torrent session
#, machine
the torrent is no longer there Torrent 已不存在
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. {error} = an error message (keep the braces as they are)
+#, machine
+ The update couldn't be installed: {error} 無法安裝更新: {error}
+#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#, machine
+ The update is open in your system's package installer. 更新已在您系統的套件安裝程式中開啟。
#. text in a download's Properties window
#, machine
The web page from which this file was obtained: 取得此檔案的網頁:
@@ -1741,6 +1752,10 @@
#. the reason a download failed is not known
#, machine
unknown 未知
+#. button in the Help menu's windows (About, updates, shortcuts, Tell a friend)
+#. button: download and install the new version, then restart
+#, machine
+ Update now 立即更新
#. text in the Help menu's windows (About, updates, shortcuts, Tell a friend)
#. {error} = an error message (keep the braces as they are)
#, machine
diff --git a/tools/installer/mdm.iss b/tools/installer/mdm.iss
index 06af5e10..310256b9 100644
--- a/tools/installer/mdm.iss
+++ b/tools/installer/mdm.iss
@@ -8,7 +8,7 @@
; whether to keep the download list and settings.
#ifndef AppVersion
- #define AppVersion "0.2.0"
+ #define AppVersion "0.2.1"
#endif
#define AppName "Mister Download Manager"
#define AppExe "misterdownloadmanager.exe"
@@ -117,6 +117,9 @@ Root: HKA; Subkey: "Software\Classes\magnet\shell\open\command"; ValueType: stri
Filename: "{app}\{#HostExe}"; Parameters: "--register"; Flags: runhidden; Tasks: browser; Check: not IsAdminInstallMode
Filename: "{app}\{#HostExe}"; Parameters: "--register --all-users"; Flags: runhidden; Tasks: browser; Check: IsAdminInstallMode
Filename: "{app}\{#AppExe}"; Description: "{cm:Launch}"; Flags: nowait postinstall skipifsilent
+; Update now in MDM runs this setup silently with /relaunch=1: MDM starts again once installed,
+; as the user (not as the administrator an all-users update asked for).
+Filename: "{app}\{#AppExe}"; Parameters: "/updated"; Flags: nowait runasoriginaluser; Check: Relaunch
[UninstallRun]
Filename: "{app}\{#HostExe}"; Parameters: "--unregister"; Flags: runhidden; RunOnceId: "UnregisterUser"; Check: not IsAdminInstallMode
@@ -129,6 +132,12 @@ Type: files; Name: "{app}\com.misterdownloadmanager.host*.json"
const
RunningMutex = 'MisterDownloadManager.Running';
+{ /relaunch=1 on the command line (MDM's Update now): start MDM again after installing. }
+function Relaunch: Boolean;
+begin
+ Result := ExpandConstant('{param:relaunch|0}') = '1';
+end;
+
{ Ask a running MDM to save and quit, and wait up to 15 s for it. }
procedure ExitRunningApp(Exe: String);
var
diff --git a/website/content/faq.md b/website/content/faq.md
index b7fe8a95..9374f26f 100644
--- a/website/content/faq.md
+++ b/website/content/faq.md
@@ -133,4 +133,4 @@ Yes. MDM comes with an MCP server, `misterdownloadmanager-mcp`: add it to Claude
### How do I report a bug or ask for a feature? {#report-bug}
-Use **Help → Report a problem** in MDM: it opens a GitHub issue with your version, Windows and language filled in. Or [open an issue]({{REPO}}/issues) directly. Security problems go privately through the [security page](/security.html).
+Use **Help → Report a problem** in MDM: it opens the bug report form on GitHub with your version, system and language filled in. Or [open the form]({{REPO}}/issues/new?template=bug.yml) yourself. Security problems go privately through the [security page](/security.html).
diff --git a/website/content/privacy.md b/website/content/privacy.md
index 911881ef..523a9302 100644
--- a/website/content/privacy.md
+++ b/website/content/privacy.md
@@ -31,7 +31,7 @@ Your download list, settings, logins you save in **Sites Logins**, the history o
- **The servers you download from.** To download a file, MDM connects to the server that holds it and sends what any browser would: the request, and the cookies, referrer and browser identification the extension passed along, so downloads that need you to be signed in keep working. Those servers see your IP address, as they would if your browser downloaded the file.
- **Your proxy**, if you set one in **Options → Proxy / Socks**, and your network's proxy auto-config script, if you point MDM at one.
-- **GitHub, to check for updates.** Once a week MDM asks GitHub's public API for the latest release of MDM (`api.github.com/repos/anefzaoui/misterdownloadmanager/releases/latest`). The request carries MDM's version in its User-Agent and nothing else. Turn the weekly check off in **Help → Check for updates**. GitHub's own privacy statement applies to that request.
+- **GitHub, to check for updates.** Once a week MDM asks GitHub's public API for the latest release of MDM (`api.github.com/repos/anefzaoui/misterdownloadmanager/releases/latest`). The request carries MDM's version in its User-Agent and nothing else. Turn the weekly check off in **Help → Check for updates**. If you choose **Update now**, MDM downloads the new version's file and its signed checksum list from the same GitHub release. GitHub's own privacy statement applies to these requests.
- **GitHub, for video helpers.** If you use **Download video from a page**, MDM downloads yt-dlp (and ffmpeg, if you want merged qualities) from their official GitHub releases, checks them, and once per session asks GitHub whether yt-dlp has a newer release. yt-dlp then talks to the video site you asked for, as your browser would.
- **Torrent peers and trackers.** When you download a torrent, MDM connects to the trackers listed in the torrent, to the BitTorrent DHT network and to other peers, who see your IP address and which pieces you have. To accept connections it may ask your router to open a port (UPnP). This is how BitTorrent works; it ends when the torrent stops.
- **Your AI assistant, only if you connect one.** MDM's MCP server (`misterdownloadmanager-mcp`) talks only to the MDM on your computer. But if you add it to an AI assistant (Claude, Cursor, VS Code…) and turn on the automation API, the assistant can read your download list, and what it reads (file names, addresses, folders) goes to that assistant's AI service, under its privacy terms. Nothing of this happens unless you set it up; see [AI assistants](/help/ai-assistants.html).
@@ -40,7 +40,7 @@ MDM has **no analytics, no crash reporting, no telemetry and no advertising**. I
### Reporting a problem
-**Help → Report a problem** opens a new GitHub issue in your browser with MDM's version, your Windows version and your language filled in. Nothing is sent until you choose to submit it on GitHub, where it becomes public; read it before you post.
+**Help → Report a problem** opens GitHub's bug report form in your browser with MDM's version, your system and its version, how MDM was installed and your language filled in. Nothing is sent until you choose to submit it on GitHub, where it becomes public; read it before you post.
### The automation API