fixed translate

This commit is contained in:
Ultradesu
2026-07-17 01:48:41 +03:00
parent ff97053156
commit 70261a3bf4
3 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -686,7 +686,7 @@ pub(crate) fn fed_download_spawn(
let mut failed = 0usize;
for (index, track) in tracks.iter().enumerate() {
let _ = tx.send(AppEvent::StatusMessage(format!(
"federation: скачивание {}/{total}: {}",
"federation: downloading {}/{total}: {}",
index + 1,
track.title
)));
@@ -698,9 +698,9 @@ pub(crate) fn fed_download_spawn(
}
}
}
let mut message = format!("federation: скачано {} из {total}", imported_ids.len());
let mut message = format!("federation: downloaded {} of {total}", imported_ids.len());
if failed > 0 {
message.push_str(&format!(" ({failed} с ошибкой)"));
message.push_str(&format!(" ({failed} failed)"));
}
if let Some((playlist_id, playlist_title)) = playlist
&& !imported_ids.is_empty()
+2 -2
View File
@@ -313,7 +313,7 @@ pub fn update(state: &mut AppState, action: Action) -> Option<Effect> {
} else {
state.track_selection.clear();
state.status_message = Some(format!(
"federation: скачивание {} трек(ов) в библиотеку",
"federation: downloading {} track(s) to the library",
tracks.len()
));
Some(Effect::FedDownload { tracks })
@@ -1764,7 +1764,7 @@ fn select_current(state: &mut AppState) -> Option<Effect> {
}
Outcome::DownloadFed(tracks) => {
state.status_message = Some(format!(
"federation: скачивание {} трек(ов) в библиотеку",
"federation: downloading {} track(s) to the library",
tracks.len()
));
Some(Effect::FedDownload { tracks })