mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-06 17:51:29 +03:00
Translation JSONs are now generated at build time, removing the necessity to manually run xliff-to-json
- added postbuild.mjs to facilitate this - all ng build --prod's have been replaced with npm run build
This commit is contained in:
@@ -233,6 +233,10 @@ export class PostsService implements CanActivate {
|
||||
return this.http.get(`./assets/${name}`);
|
||||
}
|
||||
|
||||
getSupportedLocales() {
|
||||
return this.http.get('./assets/i18n/supported_locales.json');
|
||||
}
|
||||
|
||||
setConfig(config) {
|
||||
return this.http.post(this.path + 'setConfig', {new_config_file: config}, this.httpOptions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user