Skip to content

Commit 66e8032

Browse files
authored
Merge pull request #409 from sbates-idrc/C2LC-685
C2LC-685: Replace usage of "world" with "scene background"
2 parents dc8f6db + 24b4800 commit 66e8032

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/keyboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Those key bindings are as follows.
5858
| Move focus to the pen toggle | Ctrl + Alt + x, f, s | ![Focus pen toggle icon](board-imgs/FocusPenToggle.png) |
5959
| Move focus to the play button | Ctrl + Alt + x, f, p | ![Focus play button icon](board-imgs/FocusPlay.png) |
6060
| Move focus to the previous program block | Ctrl + Alt + x, f, [ | Not available |
61-
| Move focus to the world selector | Ctrl + Alt + x, f, w | ![Focus world selector icon](board-imgs/FocusWorldSelector.png) |
61+
| Move focus to the scene background selector | Ctrl + Alt + x, f, w | ![Focus scene background selector icon](board-imgs/FocusWorldSelector.png) |
6262
| Move the character down | Ctrl + Alt + x, p, m, d | ![Move character down icon](board-imgs/MoveCharacterDown.png) |
6363
| Move the character left | Ctrl + Alt + x, p, m, l | ![Move character left icon](board-imgs/MoveCharacterLeft.png) |
6464
| Move the character right | Ctrl + Alt + x, p, m, r | ![Move character right icon](board-imgs/MoveCharacterRight.png) |
@@ -115,7 +115,7 @@ Those key bindings are as follows:
115115
| Move focus to the pen toggle | Alt + x, f, s | ![Focus pen toggle icon](board-imgs/FocusPenToggle.png) |
116116
| Move focus to the play button | Alt + x, f, p | ![Focus play button icon](board-imgs/FocusPlay.png) |
117117
| Move focus to the previous program block | Alt + x, f, [ | Not available |
118-
| Move focus to the world selector | Alt + x, f, w | ![Focus world selector icon](board-imgs/FocusWorldSelector.png) |
118+
| Move focus to the scene background selector | Alt + x, f, w | ![Focus scene background selector icon](board-imgs/FocusWorldSelector.png) |
119119
| Move the character down | Alt + x, p, m, d | ![Move character down icon](board-imgs/MoveCharacterDown.png) |
120120
| Move the character left | Alt + x, p, m, l | ![Move character left icon](board-imgs/MoveCharacterLeft.png) |
121121
| Move the character right | Alt + x, p, m, r | ![Move character right icon](board-imgs/MoveCharacterRight.png) |

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,12 +1488,12 @@ export class App extends React.Component<AppProps, AppState> {
14881488
</div>
14891489
<div className="App__world-container">
14901490
<h2 className='sr-only' >
1491-
<FormattedMessage id='WorldSelector.heading' />
1491+
<FormattedMessage id='WorldSelectorButton.heading' />
14921492
</h2>
14931493
<div className="App__world-selector">
14941494
<IconButton
14951495
className='keyboard-shortcut-focus__world-selector'
1496-
ariaLabel={this.props.intl.formatMessage({ id: 'WorldSelector' })}
1496+
ariaLabel={this.props.intl.formatMessage({ id: 'WorldSelectorButton.label' })}
14971497
onClick={this.handleClickWorldIcon}
14981498
>
14991499
<WorldIcon className='App__world-selector-icon'/>

src/KeyboardInputSchemes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ const ExtendedKeyboardSequences: KeyboardInputScheme = {
189189
worldSelector: {
190190
keyDef: { code: "KeyW", key: "w" },
191191
actionName: "focusWorldSelector",
192-
description: "Move focus to the world selector",
192+
description: "Move focus to the scene background selector",
193193
icon: "FocusWorldSelector.png",
194-
altText: "Focus world selector icon"
194+
altText: "Focus scene background selector icon"
195195
}
196196
},
197197

src/messages.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,10 +484,10 @@
484484
"Sports.tableTennisRacket": "table tennis racket",
485485
"Sports.tennisRacketAndBall": "tennis racket and ball",
486486
"Sports.volleyballBall": "volleyball ball",
487-
"WorldSelector": "World Selector",
487+
"WorldSelectorButton.heading": "Scene Background selector",
488+
"WorldSelectorButton.label": "Scene Background selector",
488489
"WorldSelector.Cancel": "Cancel",
489490
"WorldSelector.Save": "Save",
490-
"WorldSelector.heading": "World Selector",
491491
"WorldSelector.Prompt": "Select a background for your scene.",
492492
"WorldSelector.Title": "Scene Background"
493493
},

0 commit comments

Comments
 (0)