Skip to content

Commit

Permalink
Merge pull request ManageIQ#279 from mzazrivec/add_missing_gettext
Browse files Browse the repository at this point in the history
Add missing gettext
  • Loading branch information
agrare authored Sep 30, 2019
2 parents ea93b70 + f131539 commit c11de4a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/javascript/components/form/fields/config_pattern_field.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ class ConfigPatternField extends React.Component {
<FormGroup
controlId="selectPattern"
validationState={this.getValidationState()}>
<ControlLabel>Config Pattern</ControlLabel>
<ControlLabel>{__('Config Pattern')}</ControlLabel>
<div onClick={this.onClick}>
<FormControl
componentClass="select"
className="selectpicker"
name={this.props.name}
value={this.state.value}
title="Choose a pattern"
title={__('Choose a pattern')}
onChange={this.handleChange}>
{ patternComponentOptions }
</FormControl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FirmwareCheckListField extends React.Component {

return (
<FormGroup>
<ControlLabel>Firmwares</ControlLabel>
<ControlLabel>{__('Firmwares')}</ControlLabel>
{firmwareCheckList}
</FormGroup>
);
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/components/form/fields/firmware_field.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class FirmwareField extends React.Component {
<Tab.Container id="left-tabs-firmware" defaultActiveKey={this.props.physicalServerData[0].id}>
<Row className="clearfix tabRow">
<Col sm={4} className="serversCol">
<ControlLabel>Physical Servers</ControlLabel>
<ControlLabel>{__('Physical Servers')}</ControlLabel>
<Nav bsStyle="pills" stacked>
{serverNavItens}
</Nav>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class PhysicalServerField extends React.Component {
<FormGroup
controlId="selectServer"
validationState={this.getValidationState()}>
<ControlLabel>Physical Server</ControlLabel>
<ControlLabel>{__('Physical Server')}</ControlLabel>
<div onClick={this.onClick}>
<FormControl
disabled={this.props.disabled}
Expand All @@ -67,7 +67,7 @@ class PhysicalServerField extends React.Component {
data-live-search="true"
data-selected-text-format="count"
data-actions-box="true"
title="Choose a Server"
title={__('Choose a Server')}
onChange={this.handleChange}>
{ serverComponentOptions }
</FormControl>
Expand Down

0 comments on commit c11de4a

Please sign in to comment.