diff --git a/example.config.js b/example.config.js index 22cd3fe..afae114 100644 --- a/example.config.js +++ b/example.config.js @@ -1,5 +1,6 @@ module.exports = { title: 'example', + display_title: 'example', SERVER_ROOT: 'http://localhost:4040', EVENT_EXT: '/api/example/export_events/deeprows', CATEGORY_EXT: '/api/example/export_categories/rows', diff --git a/src/common/data/copy.json b/src/common/data/copy.json index 3344d2f..44999f9 100644 --- a/src/common/data/copy.json +++ b/src/common/data/copy.json @@ -147,7 +147,7 @@ "Testimony Group 03", "Other" ], - "info": "Seeing events occurred between" + "info": "Seeing events that occurred between" }, "cardstack": { "header": "selected events", diff --git a/src/components/InfoPopup.jsx b/src/components/InfoPopup.jsx index 4f091a0..663b498 100644 --- a/src/components/InfoPopup.jsx +++ b/src/components/InfoPopup.jsx @@ -3,7 +3,9 @@ import copy from '../common/data/copy.json' export default ({ ui, app, methods }) => { function renderIntro () { - return copy[app.language].legend.default.intro.map(txt =>

{txt}

) + var introCopy = copy[app.language].legend.default.intro + if (process.env.store.text && process.env.store.text.introCopy) introCopy = process.env.store.text.introCopy + return introCopy.map(txt =>

{txt}

) } function renderHalfWithDot () { @@ -83,7 +85,7 @@ export default ({ ui, app, methods }) => {
-

In narratives, arrows indicate physical movement between two events.

+

In narrative mode, arrows indicate physical movement between two events.

{ diff --git a/src/components/Toolbar/Layout.js b/src/components/Toolbar/Layout.js index f0d53ba..8b69479 100644 --- a/src/components/Toolbar/Layout.js +++ b/src/components/Toolbar/Layout.js @@ -149,7 +149,7 @@ class Toolbar extends React.Component { renderToolbarTabs () { let title = copy[this.props.language].toolbar.title - if (process.env.title) title = process.env.title + if (process.env.display_title) title = process.env.display_title const narrativesLabel = copy[this.props.language].toolbar.narratives_label const tagsLabel = copy[this.props.language].toolbar.tags_label const categoriesLabel = 'Categories' // TODO: