mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-15 02:31:27 +03:00
Updated mangled translations
Improved automatic translations command
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
"e2e": "ng e2e",
|
"e2e": "ng e2e",
|
||||||
"electron": "ng build --base-href ./ && electron .",
|
"electron": "ng build --base-href ./ && electron .",
|
||||||
"generate": "openapi --input ./\"Public API v1.yaml\" --output ./src/api-types --exportCore false --exportServices false --exportModels true",
|
"generate": "openapi --input ./\"Public API v1.yaml\" --output ./src/api-types --exportCore false --exportServices false --exportModels true",
|
||||||
"i18n-source": "ng extract-i18n --output-path=src/assets/i18n"
|
"i18n-source": "ng extract-i18n --output-path=src/assets/i18n --out-file=messages.en.xlf"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "12.3.1",
|
"node": "12.3.1",
|
||||||
|
|||||||
@@ -53,9 +53,9 @@ export class CustomPlaylistsComponent implements OnInit {
|
|||||||
dialogRef.afterClosed().subscribe(result => {
|
dialogRef.afterClosed().subscribe(result => {
|
||||||
if (result) {
|
if (result) {
|
||||||
this.getAllPlaylists();
|
this.getAllPlaylists();
|
||||||
this.postsService.openSnackBar($localize`Successfully created playlist!', '`);
|
this.postsService.openSnackBar($localize`Successfully created playlist!`);
|
||||||
} else if (result === false) {
|
} else if (result === false) {
|
||||||
this.postsService.openSnackBar($localize`ERROR: failed to create playlist!', '`);
|
this.postsService.openSnackBar($localize`ERROR: failed to create playlist!`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -75,6 +75,7 @@ export class CustomPlaylistsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// playlist not found
|
// playlist not found
|
||||||
|
// TODO: Make translatable
|
||||||
console.error(`Playlist with ID ${playlistID} not found!`);
|
console.error(`Playlist with ID ${playlistID} not found!`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -96,7 +97,7 @@ export class CustomPlaylistsComponent implements OnInit {
|
|||||||
this.postsService.removePlaylist(playlistID).subscribe(res => {
|
this.postsService.removePlaylist(playlistID).subscribe(res => {
|
||||||
if (res['success']) {
|
if (res['success']) {
|
||||||
this.playlists.splice(index, 1);
|
this.playlists.splice(index, 1);
|
||||||
this.postsService.openSnackBar($localize`Playlist successfully removed.', '`);
|
this.postsService.openSnackBar($localize`Playlist successfully removed.`);
|
||||||
}
|
}
|
||||||
this.getAllPlaylists();
|
this.getAllPlaylists();
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -94,25 +94,25 @@
|
|||||||
</context-group>
|
</context-group>
|
||||||
<note priority="1" from="description">Settings menu label</note>
|
<note priority="1" from="description">Settings menu label</note>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="65918861159071115" datatype="html">
|
<trans-unit id="39921032161993566" datatype="html">
|
||||||
<source>Successfully created playlist!', '</source>
|
<source>Successfully created playlist!</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/custom-playlists/custom-playlists.component.ts</context>
|
<context context-type="sourcefile">src/app/components/custom-playlists/custom-playlists.component.ts</context>
|
||||||
<context context-type="linenumber">56</context>
|
<context context-type="linenumber">56</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="7241816854520039909" datatype="html">
|
<trans-unit id="2070856663109337061" datatype="html">
|
||||||
<source>ERROR: failed to create playlist!', '</source>
|
<source>ERROR: failed to create playlist!</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/custom-playlists/custom-playlists.component.ts</context>
|
<context context-type="sourcefile">src/app/components/custom-playlists/custom-playlists.component.ts</context>
|
||||||
<context context-type="linenumber">58</context>
|
<context context-type="linenumber">58</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="5070854963159885174" datatype="html">
|
<trans-unit id="820184305380634591" datatype="html">
|
||||||
<source>Playlist successfully removed.', '</source>
|
<source>Playlist successfully removed.</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">src/app/components/custom-playlists/custom-playlists.component.ts</context>
|
<context context-type="sourcefile">src/app/components/custom-playlists/custom-playlists.component.ts</context>
|
||||||
<context context-type="linenumber">99</context>
|
<context context-type="linenumber">100</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2f933b826a570836cab04f683970a2d22068458c" datatype="html">
|
<trans-unit id="2f933b826a570836cab04f683970a2d22068458c" datatype="html">
|
||||||
|
|||||||
Reference in New Issue
Block a user