Comparing version 0.2.0 to 0.2.1
@@ -0,1 +1,2 @@ | ||
/* eslint-disable no-console */ | ||
"use strict"; | ||
@@ -2,0 +3,0 @@ |
@@ -18,5 +18,2 @@ "use strict"; | ||
for (matches = content.match(pattern); matches; matches = content.match(pattern)) { | ||
if (fileName === "webapp/pages/segment/section/ReceiverWeightingFactor.fragment.xml") { | ||
console.log(matches); | ||
} | ||
if (ignoreList.indexOf(matches[1].toString()) < 0) { | ||
@@ -23,0 +20,0 @@ i18nTokens.push(matches[1].toString()); |
@@ -0,1 +1,2 @@ | ||
/* eslint-disable no-console */ | ||
"use strict"; | ||
@@ -2,0 +3,0 @@ |
{ | ||
"name": "i18n-ui5", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Simplify work with translations in OpenUI5 or SAPUI5 framework. The plugin searches views and source code of project in OpenUI5 or SAPUI5 framework for translation tokens and automatically update translation file used by the framework.", | ||
@@ -32,12 +32,9 @@ "main": "index.js", | ||
"prettify": "npx prettier --write $npm_package_config_prettierFiles", | ||
"watch": "npx nodemon -e js -x \"npm run validate\"" | ||
"watch": "npx nodemon -e js -x \"npm run validate\"", | ||
"prepare": "npx husky install" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run validate" | ||
} | ||
}, | ||
"homepage": "https://github.com/norbertvolf/i18n-ui5#readme", | ||
"devDependencies": { | ||
"eslint": "^7.26.0", | ||
"husky": "^6.0.0", | ||
"nodemon": "^2.0.7", | ||
@@ -44,0 +41,0 @@ "prettier": "^2.3.0" |
@@ -46,1 +46,8 @@ # i18n-ui5 | ||
``` | ||
Ignore some i18n tokens | ||
``` | ||
npx i18n-ui5 --ignore SEMANTIC_CONTROL_SAVE_AS_TILE --ignore SEMANTIC_CONTROL_SAVE_AS_TILE | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53
25025
4
401