1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-30 12:18:09 +00:00

add trezor-translations-manager depedency

This commit is contained in:
slowbackspace 2019-02-13 22:51:25 +01:00
parent e1cbbeda93
commit 5ea88cb078
4 changed files with 9 additions and 7 deletions

View File

@ -1,6 +1,6 @@
{ {
"extractedMessagesFilePattern": "translations/extractedMessages/**/*.json", "extractedMessagesFilePattern": "translations/extractedMessages/**/*.json",
"localesOutputDir": "translations/locales/", "localesOutputDir": "public/l10n/",
"outputDir": "translations/", "outputDir": "translations/",
"project": { "project": {
"identifier": "trezor-wallet-test", "identifier": "trezor-wallet-test",

View File

@ -14,7 +14,8 @@
"build:stable": "rimraf build/stable && npx webpack --config webpack/production.babel.js --output-path build/stable --progress --bail", "build:stable": "rimraf build/stable && npx webpack --config webpack/production.babel.js --output-path build/stable --progress --bail",
"build:beta": "rimraf build/beta && cross-env BUILD=beta npx webpack --config webpack/production.babel.js --output-path build/beta --progress --bail", "build:beta": "rimraf build/beta && cross-env BUILD=beta npx webpack --config webpack/production.babel.js --output-path build/beta --progress --bail",
"build:dev": "rimraf build.dev && cross-env BUILD=development npx webpack --config webpack/production.babel.js --output-path build/dev --progress --bail", "build:dev": "rimraf build.dev && cross-env BUILD=development npx webpack --config webpack/production.babel.js --output-path build/dev --progress --bail",
"translations:extract": "cross-env NODE_ENV=translations npx babel src", "translations:extract": "cross-env NODE_ENV=translations babel src",
"translations:sync": "yarn ttm merge-msgs && yarn ttm build-csv && yarn ttm upload && yarn ttm build-translations && yarn ttm export-translations",
"flow": "flow check src", "flow": "flow check src",
"lint": "run-s lint:*", "lint": "run-s lint:*",
"lint:js": "npx eslint ./src ./webpack", "lint:js": "npx eslint ./src ./webpack",
@ -125,7 +126,7 @@
"stylelint-custom-processor-loader": "^0.6.0", "stylelint-custom-processor-loader": "^0.6.0",
"stylelint-processor-styled-components": "^1.5.2", "stylelint-processor-styled-components": "^1.5.2",
"stylelint-webpack-plugin": "^0.10.5", "stylelint-webpack-plugin": "^0.10.5",
"trezor-translations-manager": "slowbackspace/trezor-translations-manager", "trezor-translations-manager": "^1.0.2",
"webpack-cli": "^3.2.3", "webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.1.14", "webpack-dev-server": "^3.1.14",
"yargs": "11.0.0" "yargs": "11.0.0"

View File

@ -8,7 +8,7 @@ const constants: Object = Object.freeze({
BUILD: path.join(ABSOLUTE_BASE, 'build/'), BUILD: path.join(ABSOLUTE_BASE, 'build/'),
PUBLIC: path.join(ABSOLUTE_BASE, 'public/'), PUBLIC: path.join(ABSOLUTE_BASE, 'public/'),
SRC: path.join(ABSOLUTE_BASE, 'src/'), SRC: path.join(ABSOLUTE_BASE, 'src/'),
TRANSLATIONS: path.join(ABSOLUTE_BASE, 'translations/'), TRANSLATIONS: path.join(ABSOLUTE_BASE, 'public/l10n'),
PORT: 8081, PORT: 8081,
INDEX: path.join(ABSOLUTE_BASE, 'src/index.html'), INDEX: path.join(ABSOLUTE_BASE, 'src/index.html'),
TREZOR_CONNECT_ROOT: path.join(ABSOLUTE_BASE, '../trezor-connect/'), TREZOR_CONNECT_ROOT: path.join(ABSOLUTE_BASE, '../trezor-connect/'),

View File

@ -10701,9 +10701,10 @@ trezor-connect@7.0.0-beta.2:
events "^1.1.1" events "^1.1.1"
whatwg-fetch "^2.0.4" whatwg-fetch "^2.0.4"
trezor-translations-manager@slowbackspace/trezor-translations-manager: trezor-translations-manager@^1.0.2:
version "1.0.0" version "1.0.2"
resolved "https://codeload.github.com/slowbackspace/trezor-translations-manager/tar.gz/0f479a38ca79f239c5f98dc1227b3da9915219c3" resolved "https://registry.yarnpkg.com/trezor-translations-manager/-/trezor-translations-manager-1.0.2.tgz#49f46380f11801ee223d930cf596417b3e697c56"
integrity sha512-gZbCj1FBuXc7GdqIJslT6HcBCjPcFYqiPMYPs+yAOBfCXDKdV2sQKxbtfMHi1xdv97XTuUydRhk3tvyW7BcaSA==
dependencies: dependencies:
csv-stringify "^5.3.0" csv-stringify "^5.3.0"
csvtojson "^2.0.8" csvtojson "^2.0.8"