Renamed 'Sources' -> 'Data Sources' to make it clearer and make shortcuts easier to remember.

This commit is contained in:
orangemug 2018-06-03 09:17:53 +01:00
parent 480d54c2d8
commit 74d1cd2d01
3 changed files with 8 additions and 8 deletions

View file

@ -63,7 +63,7 @@ export default class App extends React.Component {
"o": 79,
"e": 69,
"s": 83,
"p": 80,
"d": 68,
"i": 73,
"m": 77,
}
@ -88,13 +88,13 @@ export default class App extends React.Component {
}
},
{
keyCode: keyCodes["s"],
keyCode: keyCodes["d"],
handler: () => {
this.toggleModal("sources");
}
},
{
keyCode: keyCodes["p"],
keyCode: keyCodes["s"],
handler: () => {
this.toggleModal("settings");
}

View file

@ -118,7 +118,7 @@ export default class Toolbar extends React.Component {
</ToolbarAction>
<ToolbarAction wdKey="nav:sources" onClick={this.props.onToggleModal.bind(this, 'sources')}>
<SourcesIcon />
<IconText>Sources</IconText>
<IconText>Data Sources</IconText>
</ToolbarAction>
<ToolbarAction wdKey="nav:settings" onClick={this.props.onToggleModal.bind(this, 'settings')}>
<SettingsIcon />

View file

@ -30,12 +30,12 @@ class ShortcutsModal extends React.Component {
text: "Export modal"
},
{
key: "s",
text: "Sources modal"
key: "d",
text: "Data Sources modal"
},
{
key: "p",
text: "Style settings modal"
key: "s",
text: "Style Settings modal"
},
{
key: "i",