build: use translation tools from pkg/lib
Use the html2po and manifest2po tools that we already check out from cockpit repo pkg/lib. These tools switched to a new argument parser library (`argparse`) in cockpit-project/cockpit#16271, so add it to our package.json and drop `stdio`. Drop our old copies. I checked the result of building `po/starter-kit.pot` before and after the change, and aside from the timestamp, it's identical. Cherry-picked from cockpit-podman commit bf53f801b17ba6.
This commit is contained in:
parent
e38a1c3906
commit
ebe52bcdb7
4 changed files with 6 additions and 463 deletions
|
|
@ -16,6 +16,7 @@
|
|||
"@babel/eslint-parser": "^7.17.0",
|
||||
"@babel/preset-env": "^7.5.4",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"argparse": "^2.0.1",
|
||||
"babel-loader": "^8.0.6",
|
||||
"chrome-remote-interface": "^0.31.0",
|
||||
"compression-webpack-plugin": "^9.0.0",
|
||||
|
|
@ -41,7 +42,6 @@
|
|||
"sass": "^1.35.2",
|
||||
"sass-loader": "^12.1.0",
|
||||
"sizzle": "^2.3.3",
|
||||
"stdio": "^2.1.0",
|
||||
"string-replace-loader": "^3.0.0",
|
||||
"terser-webpack-plugin": "^5.1.4",
|
||||
"webpack": "^5.54.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue