Make it translateable

And also the other one that I copied from
This commit is contained in:
David Baker 2021-06-08 16:15:20 +01:00
parent 26a030abcd
commit 90a58380fd
2 changed files with 4 additions and 2 deletions

View file

@ -353,7 +353,7 @@ export default class AppTile extends React.Component {
if (this._sgWidget === null) {
appTileBody = (
<div className={appTileBodyClass} style={appTileBodyStyles}>
<AppWarning errorMsg="Error loading Widget" />
<AppWarning errorMsg={_t("Error loading Widget")} />
</div>
);
} else if (!this.state.hasPermissionToLoad) {
@ -380,7 +380,7 @@ export default class AppTile extends React.Component {
if (this.isMixedContent()) {
appTileBody = (
<div className={appTileBodyClass} style={appTileBodyStyles}>
<AppWarning errorMsg="Error - Mixed content" />
<AppWarning errorMsg={_t("Error - Mixed content")} />
</div>
);
} else {