fixed translate
This commit is contained in:
+3
-3
@@ -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
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user