@@ -115,12 +115,12 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
115115
116116 if ( keyDef . altKey ) {
117117 const altKeyLabel = this . props . intl . formatMessage (
118- { id : "KeyboardInputModal.KeyLabels.Alt" }
118+ { id : "UI. KeyboardInputModal.KeyLabels.Alt" }
119119 ) ;
120120 labelKeySegments . unshift ( altKeyLabel ) ;
121121
122122 const altKeyIcon = this . props . intl . formatMessage (
123- { id : "KeyboardInputModal.KeyIcons.Alt" }
123+ { id : "UI. KeyboardInputModal.KeyIcons.Alt" }
124124 ) ;
125125 icons . unshift ( < div key = "alt-modifier" className = "KeyboardInputModal__binding__icon" >
126126 { altKeyIcon }
@@ -129,20 +129,20 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
129129
130130 if ( keyDef . ctrlKey ) {
131131 const controlKeyLabel = this . props . intl . formatMessage (
132- { id : "KeyboardInputModal.KeyLabels.Control" }
132+ { id : "UI. KeyboardInputModal.KeyLabels.Control" }
133133 ) ;
134134 labelKeySegments . unshift ( controlKeyLabel ) ;
135135
136136 const controlKeyIcon = this . props . intl . formatMessage (
137- { id : "KeyboardInputModal.KeyIcons.Control" }
137+ { id : "UI. KeyboardInputModal.KeyIcons.Control" }
138138 ) ;
139139 icons . unshift ( < div key = "ctrl-modifier" className = "KeyboardInputModal__binding__icon" >
140140 { controlKeyIcon }
141141 </ div > ) ;
142142 }
143143
144144 const labelKeyString = labelKeySegments . join ( " + " )
145- const descriptionMessageKey = "KeyboardInputModal.Description." + key ;
145+ const descriptionMessageKey = "UI. KeyboardInputModal.Description." + key ;
146146 const descriptionMessageId = "key-binding-description-" + index ;
147147 keyBindingElements . push ( < li className = "KeyboardInputModal__binding" key = { itemKey } >
148148 < div className = "KeyboardInputModal__binding__keyCombo" aria-hidden = { true } aria-labelledby = { descriptionMessageId } >
@@ -165,7 +165,7 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
165165 renderKeyboardSchemeMenu ( ) {
166166 const selectOptionElements = [ ] ;
167167 Object . keys ( KeyboardInputSchemes ) . forEach ( ( schemeName ) => {
168- const messageId = "KeyboardInputModal.Scheme.Descriptions." + schemeName ;
168+ const messageId = "UI. KeyboardInputModal.Scheme.Descriptions." + schemeName ;
169169 const optionText = this . props . intl . formatMessage ( { id : messageId } ) ;
170170 selectOptionElements . push ( < option key = { schemeName } value = { schemeName } >
171171 { optionText }
@@ -182,20 +182,20 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
182182
183183 render ( ) {
184184 const cancelButtonProperties = {
185- label : this . props . intl . formatMessage ( { id : 'Cancel' } ) ,
185+ label : this . props . intl . formatMessage ( { id : 'UI. Cancel' } ) ,
186186 onClick : this . cancelChanges
187187 } ;
188188
189189 const doneButtonProperties = {
190190 id : 'KeyboardInputModal-done' ,
191- label : this . props . intl . formatMessage ( { id : 'Save' } ) ,
191+ label : this . props . intl . formatMessage ( { id : 'UI. Save' } ) ,
192192 onClick : this . saveChanges ,
193193 isPrimary : true
194194 } ;
195195
196196 return (
197197 < ModalWithFooter
198- ariaLabel = { this . props . intl . formatMessage ( { id : 'KeyboardInputModal.Title' } ) }
198+ ariaLabel = { this . props . intl . formatMessage ( { id : 'UI. KeyboardInputModal.Title' } ) }
199199 onClose = { this . cancelChanges }
200200 show = { this . props . show }
201201 focusOnOpenSelector = { '#keyboardInputModal__toggle' }
@@ -204,7 +204,7 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
204204 >
205205 < ModalHeader
206206 id = 'KeyboardInputModal'
207- title = { this . props . intl . formatMessage ( { id : 'KeyboardInputModal.Title' } ) } >
207+ title = { this . props . intl . formatMessage ( { id : 'UI. KeyboardInputModal.Title' } ) } >
208208 < KeyboardIcon aria-hidden = 'true' />
209209 </ ModalHeader >
210210
@@ -216,7 +216,7 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
216216 </ div >
217217 < div className = "KeyboardInputModal__content__toggleBar__toggle" >
218218 < div aria-hidden = 'true' >
219- < FormattedMessage id = 'Off' />
219+ < FormattedMessage id = 'UI. Off' />
220220 </ div >
221221 < ToggleSwitch
222222 id = 'keyboardInputModal__toggle'
@@ -228,7 +228,7 @@ class KeyboardInputModal extends React.Component<KeyboardInputModalProps, Keyboa
228228 onChange = { this . handleChangeKeyBindingsEnabled }
229229 />
230230 < div aria-hidden = 'true' >
231- < FormattedMessage id = 'On' />
231+ < FormattedMessage id = 'UI. On' />
232232 </ div >
233233 </ div >
234234 </ div >
0 commit comments