Skip to content

Commit

Permalink
remove nunjucks support
Browse files Browse the repository at this point in the history
  • Loading branch information
smhg committed Jul 19, 2023
1 parent 8fa2fdb commit c2ca72f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 90 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Extracts translatable strings from source. Identical to [xgettext(1)](http://www
* Swig (using [gettext-swig](https://github.com/smhg/gettext-swig))
* Volt (using [gettext-volt](https://github.com/perchlayer/gettext-volt))
* EJS (using [gettext-ejs](https://github.com/pekala/gettext-ejs))
* Nunjucks (using [gettext-nunjucks](https://github.com/ministryofprogramming/gettext-nunjucks))

React's **JSX** and **Pug** are todos (PRs are much appreciated).

Expand Down
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,7 @@ xgettext.languages = {
'.hbs': 'Handlebars',
'.swig': 'Swig',
'.volt': 'Volt',
'.ejs': 'EJS',
'.njk': 'Nunjucks'
'.ejs': 'EJS'
};

module.exports = xgettext;
100 changes: 14 additions & 86 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
"async": "^3.2.4",
"gettext-ejs": "^0.1.1",
"gettext-handlebars": "^1.1.1",
"gettext-nunjucks": "^0.0.2",
"gettext-parser": "^7.0.1",
"gettext-swig": "^0.3.0",
"gettext-volt": "^0.2.5",
Expand Down

0 comments on commit c2ca72f

Please sign in to comment.