--locale fixes
This commit is contained in:
parent
f39645166e
commit
bc79628f4f
2 changed files with 4 additions and 2 deletions
3
adn.ts
3
adn.ts
|
|
@ -78,7 +78,8 @@ export default class AnimationDigitalNetwork implements ServiceClass {
|
|||
public async cli() {
|
||||
console.info(`\n=== Multi Downloader NX ${packageJson.version} ===\n`);
|
||||
const argv = yargs.appArgv(this.cfg.cli);
|
||||
this.locale = argv.locale;
|
||||
if (argv.locale !== 'en-US')
|
||||
this.locale = argv.locale;
|
||||
if (argv.debug)
|
||||
this.debug = true;
|
||||
|
||||
|
|
|
|||
3
ao.ts
3
ao.ts
|
|
@ -82,7 +82,8 @@ export default class AnimeOnegai implements ServiceClass {
|
|||
public async cli() {
|
||||
console.info(`\n=== Multi Downloader NX ${packageJson.version} ===\n`);
|
||||
const argv = yargs.appArgv(this.cfg.cli);
|
||||
this.locale = argv.locale;
|
||||
if (argv.locale !== 'en-US')
|
||||
this.locale = argv.locale;
|
||||
if (argv.debug)
|
||||
this.debug = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue