File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ packages/
1010
1111# ## i18n ###
1212src /i18n /transifex_input.json
13+ src /i18n /messages.ts
14+ src /i18n /messages /
15+ src /i18n /site-messages /index.ts
1316
1417# ## Editors ###
1518.DS_Store
Original file line number Diff line number Diff line change 11TURBO = TURBO_TELEMETRY_DISABLED=1 turbo --dangerously-disable-package-manager-check
22intl_imports = ./node_modules/.bin/intl-imports.js
3- transifex_utils = ./node_modules/.bin/transifex-utils.js
43i18n = ./src/i18n
5- transifex_input = $(i18n ) /transifex_input.json
6-
7- # This directory must match .babelrc .
8- transifex_temp = ./temp/babel-plugin-formatjs
94
105precommit :
116 npm run lint
@@ -39,16 +34,9 @@ dev-packages: turbo.json
3934dev-site : bin-link
4035 npm run dev
4136
42- i18n.extract :
43- # Pulling display strings from .jsx files into .json files...
44- rm -rf $(transifex_temp )
45- npm run-script i18n_extract
46-
47- i18n.concat :
48- # Gathering JSON messages into one file...
49- $(transifex_utils ) $(transifex_temp ) $(transifex_input )
50-
51- extract_translations : | requirements i18n.extract i18n.concat
37+ extract_translations : | requirements
38+ # Pulling display strings from source files into src/i18n/transifex_input.json...
39+ npm run i18n_extract
5240
5341# Despite the name, we actually need this target to detect changes in the incoming translated message files as well.
5442detect_changed_source_translations :
You can’t perform that action at this time.
0 commit comments