fix(translations): fix issues caused by refactor

This commit is contained in:
David Ralph
2022-08-26 11:44:24 +01:00
parent 2c2acbba46
commit b8f2b7fb1f
13 changed files with 25 additions and 65 deletions

View File

@@ -36,10 +36,10 @@ export default class ErrorBoundary extends PureComponent {
<div className="emptyNewMessage">
<MdErrorOutline />
<span className="title">
{variables.getMessage(variables.languagecode, 'modals.main.error_boundary.title')}
{variables.getMessage('modals.main.error_boundary.title')}
</span>
<span className="subtitle">
{variables.getMessage(variables.languagecode, 'modals.main.error_boundary.message')}
{variables.getMessage('modals.main.error_boundary.message')}
</span>
<div className="buttonsRow">
{this.state.showReport ? (
@@ -52,7 +52,7 @@ export default class ErrorBoundary extends PureComponent {
</span>
)}
<button className="refresh" onClick={() => window.location.reload()}>
{variables.getMessage(variables.languagecode, 'modals.main.error_boundary.refresh')}
{variables.getMessage('modals.main.error_boundary.refresh')}
</button>
</div>
</div>