webpack/components/common/LockTableEntry.js in foreman_acd-0.5.0 vs webpack/components/common/LockTableEntry.js in foreman_acd-0.6.0
- old
+ new
@@ -2,10 +2,11 @@
import PropTypes from 'prop-types';
import {
Icon,
Button,
} from 'patternfly-react';
+import { translate as __ } from 'foremanReact/common/I18n';
const LockTableEntry = ({
hidden,
disabled,
onLockTableEntry,
@@ -41,10 +42,10 @@
<Button
bsStyle="default"
disabled={disabled}
onClick={() => onLockTableEntry(additionalData) }
>
- <Icon type="pf" name={lockButton} title={lockButtonTitle} />
+ <Icon type="pf" name={lockButton} title={__(lockButtonTitle)} />
</Button>
</span>
);
};