mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-20 03:30:55 +03:00
Improved snackbar translations support
This commit is contained in:
@@ -390,7 +390,7 @@ export class MainComponent implements OnInit {
|
||||
}, () => { // can't access server
|
||||
this.downloadingfile = false;
|
||||
this.current_download = null;
|
||||
this.postsService.openSnackBar('Download failed!', 'OK.');
|
||||
this.postsService.openSnackBar($localize`Download failed!', 'OK.`);
|
||||
});
|
||||
|
||||
if (!this.autoplay && urls.length === 1) {
|
||||
@@ -776,7 +776,7 @@ export class MainComponent implements OnInit {
|
||||
} else if (this.current_download['finished'] && this.current_download['error']) {
|
||||
this.downloadingfile = false;
|
||||
this.current_download = null;
|
||||
this.postsService.openSnackBar('Download failed!', 'OK.');
|
||||
this.postsService.openSnackBar($localize`Download failed!', 'OK.`);
|
||||
}
|
||||
} else {
|
||||
// console.log('failed to get new download');
|
||||
|
||||
Reference in New Issue
Block a user