Skip to content

Commit

Permalink
fix: add language "de"
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Jun 25, 2021
1 parent 396bcc9 commit 6e0166e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/program.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ program.postParse = async () => {
}

// lang
if (!['en', 'fr', 'ru'].includes(program.lang)) program.lang = systemLocale;
if (!['en', 'fr', 'de', 'ru'].includes(program.lang)) program.lang = systemLocale;

// no open file when no xlsx generate
if (!program.xlsx) program.openFile = false;
Expand Down Expand Up @@ -308,7 +308,7 @@ program.outBrief = (options) => {
{
name: 'Language',
value: program.lang,
comment: '--lang [en, fr, ru]',
comment: '--lang [en, fr, de, ru]',
},
{
name: 'Docs extensions',
Expand Down

0 comments on commit 6e0166e

Please sign in to comment.