Skip to content

Commit 7a298c6

Browse files
committed
Add translation key scripts to make:lib now that plotly.js 1.32.0 is released
1 parent dbbce6a commit 7a298c6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"make:combined-translation-keys": "babel-node scripts/findTranslationKeys.js && babel-node scripts/combineTranslationKeys.js",
1818
"make:translation-keys": "babel-node scripts/findTranslationKeys.js",
1919
"make:arrows": "babel-node scripts/makeArrows.js",
20-
"make:lib": "mkdirp lib && npm run make:lib:js && npm run make:lib:css",
20+
"make:lib": "mkdirp lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys",
2121
"make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps",
2222
"make:lib:css": "mkdirp lib && babel-node scripts/styles.js && SASS_ENV=ie babel-node scripts/styles.js && babel-node scripts/postcss.js && SASS_ENV=ie babel-node scripts/postcss.js",
2323
"prepublishOnly": "npm run make:lib",

scripts/translationKeys/combined-translation-keys.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ Custom Color
4040
Default Colors // react-plotly.js-editor: /components/widgets/ColorPicker.js:75
4141
Display // react-plotly.js-editor: /DefaultEditor.js:91
4242
Double-click on legend to isolate one trace // plotly.js: components/legend/handle_click.js:90
43-
Double-click to zoom back out // plotly.js: plots/cartesian/dragbox.js:299
43+
Double-click to zoom back out // plotly.js: plots/cartesian/dragbox.js:335
4444
Download plot as a png // plotly.js: components/modebar/buttons.js:52
4545
Edit in Chart Studio // plotly.js: components/modebar/buttons.js:76
4646
Edit in HTML // react-plotly.js-editor: /components/widgets/text_editors/MultiFormatTextEditor.js:35
47-
Edit in Rich Text // react-plotly.js-editor: /components/widgets/text_editors/MultiFormatTextEditor.js:244
47+
Edit in Rich Text // react-plotly.js-editor: /components/widgets/text_editors/MultiFormatTextEditor.js:245
4848
Enter Link URL // react-plotly.js-editor: /components/widgets/text_editors/RichText/LinkEditor.js:92
4949
Filled Area // react-plotly.js-editor: /DefaultEditor.js:101
5050
Fixed Height // react-plotly.js-editor: /DefaultEditor.js:179

scripts/translationKeys/translation-keys.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Custom Color
3030
Default Colors // /components/widgets/ColorPicker.js:75
3131
Display // /DefaultEditor.js:91
3232
Edit in HTML // /components/widgets/text_editors/MultiFormatTextEditor.js:35
33-
Edit in Rich Text // /components/widgets/text_editors/MultiFormatTextEditor.js:244
33+
Edit in Rich Text // /components/widgets/text_editors/MultiFormatTextEditor.js:245
3434
Enter Link URL // /components/widgets/text_editors/RichText/LinkEditor.js:92
3535
Filled Area // /DefaultEditor.js:101
3636
Fixed Height // /DefaultEditor.js:179

0 commit comments

Comments
 (0)