angular-gettext-tools
angular-gettext-tools copied to clipboard
Extract isGetString: add option moduleMethodStringArgumentIndex
Real usage :
Extract for the method gettextCatalog.getStringForLanguage. The text is the second argument
gettextCatalog.getStringForLanguage(
lang,
'text'
)
const gettextExtractor = new Extractor({
moduleMethodString: "getStringForLanguage",
moduleMethodStringArgumentIndex: 1
})