[Mobile] Fix translation
This commit is contained in:
parent
55951deaf9
commit
bd778681b3
|
@ -843,7 +843,7 @@ class MainController extends Component {
|
||||||
this.onMacrosPermissionRequest();
|
this.onMacrosPermissionRequest();
|
||||||
} else {
|
} else {
|
||||||
const { t } = this.props;
|
const { t } = this.props;
|
||||||
const _t = t('Main', {returnObjects:true});
|
const _t = t('Controller.Main', {returnObjects:true});
|
||||||
f7.dialog.create({
|
f7.dialog.create({
|
||||||
title: _t.notcriticalErrorTitle,
|
title: _t.notcriticalErrorTitle,
|
||||||
text: _t.textRequestMacros.replace('%1', url),
|
text: _t.textRequestMacros.replace('%1', url),
|
||||||
|
|
|
@ -814,7 +814,7 @@ class MainController extends Component {
|
||||||
this.onMacrosPermissionRequest();
|
this.onMacrosPermissionRequest();
|
||||||
} else {
|
} else {
|
||||||
const { t } = this.props;
|
const { t } = this.props;
|
||||||
const _t = t('Main', {returnObjects:true});
|
const _t = t('Controller.Main', {returnObjects:true});
|
||||||
f7.dialog.create({
|
f7.dialog.create({
|
||||||
title: _t.notcriticalErrorTitle,
|
title: _t.notcriticalErrorTitle,
|
||||||
text: _t.textRequestMacros.replace('%1', url),
|
text: _t.textRequestMacros.replace('%1', url),
|
||||||
|
|
Loading…
Reference in a new issue