Skip to content

Commit

Permalink
support gettext lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
hieunhit committed Jun 17, 2021
1 parent a353a11 commit d5adfac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hieunhit/easygettext",
"version": "2.17.0",
"version": "2.17.2",
"description": "Simple tools to extract gettext strings",
"main": "src/extract-cli.js",
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ exports.DEFAULT_VUE_GETTEXT_FUNCTIONS = {
'_': ['msgid'],
'$t': ['msgid'],
'$gettext': ['msgid'],
'$gettextLazy': ['msgid'],
'$gettextNoop': ['msgid'],
'$ngettext': ['msgid', 'plural', null],
'$ngettextLazy': ['msgid', 'plural', null],
'$pgettext': ['msgctxt', 'msgid'],
'$npgettext': ['msgctxt', 'msgid', 'plural', null],
};
Expand Down

0 comments on commit d5adfac

Please sign in to comment.