From b9386ae193e5be880c8d829afbb7f6910b45115e Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Wed, 26 Sep 2018 04:56:05 +0000 Subject: [PATCH] Add translation --- src/assets/translations.data.json | 3 ++- src/react-components/scene-ui.js | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/assets/translations.data.json b/src/assets/translations.data.json index 07dafe537..d29f96029 100644 --- a/src/assets/translations.data.json +++ b/src/assets/translations.data.json @@ -79,6 +79,7 @@ "link.create_a_room": "Create a Room", "link.try_again": "We couldn't find that code. Please try again.", "help.report_issue": "Report an Issue", - "scene.logo_tagline": "A new way to get together" + "scene.logo_tagline": "A new way to get together", + "scene.create_button": "create a room with this scene" } } diff --git a/src/react-components/scene-ui.js b/src/react-components/scene-ui.js index 35c4757a4..f2a148b83 100644 --- a/src/react-components/scene-ui.js +++ b/src/react-components/scene-ui.js @@ -84,7 +84,9 @@ class SceneUI extends Component { <div className={styles.logoTagline}> <FormattedMessage id="scene.logo_tagline" /> </div> - <button onClick={this.createRoom}>create a room with this scene</button> + <button onClick={this.createRoom}> + <FormattedMessage id="scene.create_button" /> + </button> </div> </div> <div className={styles.info}> -- GitLab