mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-25 14:10:57 +03:00
Fixed broken translations for snackbars
This commit is contained in:
@@ -384,7 +384,7 @@ export class MainComponent implements OnInit {
|
||||
}, () => { // can't access server
|
||||
this.downloadingfile = false;
|
||||
this.current_download = null;
|
||||
this.postsService.openSnackBar($localize`Download failed!', 'OK.`);
|
||||
this.postsService.openSnackBar($localize`Download failed!`, 'OK.');
|
||||
});
|
||||
|
||||
if (!this.autoplay && urls.length === 1) {
|
||||
@@ -771,7 +771,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($localize`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