[Mobile] Fix translation

This commit is contained in:
Julia Radzhabova 2022-05-23 20:40:43 +03:00
parent 55951deaf9
commit bd778681b3
2 changed files with 2 additions and 2 deletions

View file

@ -843,7 +843,7 @@ class MainController extends Component {
this.onMacrosPermissionRequest();
} else {
const { t } = this.props;
const _t = t('Main', {returnObjects:true});
const _t = t('Controller.Main', {returnObjects:true});
f7.dialog.create({
title: _t.notcriticalErrorTitle,
text: _t.textRequestMacros.replace('%1', url),

View file

@ -814,7 +814,7 @@ class MainController extends Component {
this.onMacrosPermissionRequest();
} else {
const { t } = this.props;
const _t = t('Main', {returnObjects:true});
const _t = t('Controller.Main', {returnObjects:true});
f7.dialog.create({
title: _t.notcriticalErrorTitle,
text: _t.textRequestMacros.replace('%1', url),