[DE PE SSE mobile] Fix Bug 52823

This commit is contained in:
SergeyEzhin
2023-05-18 14:05:55 +03:00
parent b9f41d8c3e
commit b84697a534
9 changed files with 26 additions and 19 deletions

View File

@ -554,7 +554,8 @@
"textHasMacros": "The file contains automatic macros.<br>Do you want to run macros?",
"textNo": "No",
"textNoLicenseTitle": "License limit reached",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textOk": "Ok",
"textPaidFeature": "Paid feature",
"textRemember": "Remember my choice",
@ -650,7 +651,8 @@
"textNo": "No",
"textNoChanges": "No changes (Read only)",
"textNoCharacters": "Nonprinting Characters",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textOk": "Ok",
"textOpenFile": "Enter a password to open the file",
"textOrientation": "Orientation",

View File

@ -879,7 +879,7 @@ class MainController extends Component {
if (found) {
f7.dialog.alert(null, !(found - replaced > 0) ? t('Main.textReplaceSuccess').replace(/\{0\}/, `${replaced}`) : t('Main.textReplaceSkipped').replace(/\{0\}/, `${found - replaced}`));
} else {
f7.dialog.alert(null, t('Main.textNoTextFound'));
f7.dialog.alert(null, t('Main.textNoMatches'));
}
}

View File

@ -107,7 +107,7 @@ const Search = withTranslation()(props => {
if (params.highlight) api.asc_selectSearchingResults(true);
api.asc_findText(options, params.forward, function (resultCount) {
!resultCount && f7.dialog.alert(null, _t.textNoTextFound);
!resultCount && f7.dialog.alert(null, t('Settings.textNoMatches'));
});
};
@ -126,7 +126,7 @@ const Search = withTranslation()(props => {
api.asc_findText(options, params.forward, function (resultCount) {
if(!resultCount) {
f7.dialog.alert(null, _t.textNoTextFound);
f7.dialog.alert(null, t('Settings.textNoMatches'));
return;
}
@ -143,7 +143,7 @@ const Search = withTranslation()(props => {
api.asc_findText(options, params.forward, function (resultCount) {
if(!resultCount) {
f7.dialog.alert(null, _t.textNoTextFound);
f7.dialog.alert(null, t('Settings.textNoMatches'));
return;
}

View File

@ -112,7 +112,8 @@
"textHasMacros": "The file contains automatic macros.<br>Do you want to run macros?",
"textNo": "No",
"textNoLicenseTitle": "License limit reached",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textOpenFile": "Enter a password to open the file",
"textPaidFeature": "Paid feature",
"textRemember": "Remember my choice",
@ -364,7 +365,8 @@
"textNextSlide": "Next Slide",
"textNone": "None",
"textNoStyles": "No styles for this type of chart.",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
"textNumbers": "Numbers",
"textOk": "Ok",
@ -460,7 +462,8 @@
"textLoading": "Loading...",
"textLocation": "Location",
"textMacrosSettings": "Macros Settings",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textOk": "Ok",
"textOwner": "Owner",
"textPoint": "Point",

View File

@ -468,7 +468,7 @@ class MainController extends Component {
if (found) {
f7.dialog.alert(null, !(found - replaced > 0) ? t('Controller.Main.textReplaceSuccess').replace(/\{0\}/, `${replaced}`) : t('Controller.Main.textReplaceSkipped').replace(/\{0\}/, `${found - replaced}`));
} else {
f7.dialog.alert(null, t('Controller.Main.textNoTextFound'));
f7.dialog.alert(null, t('Controller.Main.textNoMatches'));
}
}

View File

@ -85,7 +85,7 @@ const Search = withTranslation()(props => {
options.put_MatchCase(params.caseSensitive);
api.asc_findText(options, params.forward, function(resultCount) {
!resultCount && f7.dialog.alert(null, _t.textNoTextFound);
!resultCount && f7.dialog.alert(null, t('View.Settings.textNoMatches'));
});
// }
@ -107,7 +107,7 @@ const Search = withTranslation()(props => {
api.asc_findText(options, params.forward, function(resultCount) {
if(!resultCount) {
f7.dialog.alert(null, _t.textNoTextFound);
f7.dialog.alert(null, t('View.Settings.textNoMatches'));
return;
}
@ -126,7 +126,7 @@ const Search = withTranslation()(props => {
api.asc_findText(options, params.forward, function(resultCount) {
if(!resultCount) {
f7.dialog.alert(null, _t.textNoTextFound);
f7.dialog.alert(null, t('View.Settings.textNoMatches'));
return;
}

View File

@ -151,7 +151,8 @@
"textNo": "No",
"textNoChoices": "There are no choices for filling the cell.<br>Only text values from the column can be selected for replacement.",
"textNoLicenseTitle": "License limit reached",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textOk": "Ok",
"textPaidFeature": "Paid feature",
"textRemember": "Remember my choice",
@ -651,7 +652,8 @@
"textMargins": "Margins",
"textMatchCase": "Match Case",
"textMatchCell": "Match Cell",
"textNoTextFound": "Text not found",
"del_textNoTextFound": "Text not found",
"textNoMatches": "No Matches",
"textOk": "Ok",
"textOpenFile": "Enter a password to open the file",
"textOrientation": "Orientation",

View File

@ -587,7 +587,7 @@ class MainController extends Component {
const { t } = this.props;
if (this.api.isReplaceAll) {
f7.dialog.alert(null, (found) ? ((!found - replaced) ? t('Controller.Main.textReplaceSuccess').replace(/\{0\}/, `${replaced}`) : t('Controller.Main.textReplaceSkipped').replace(/\{0\}/, `${found - replaced}`)) : t('Controller.Main.textNoTextFound'));
f7.dialog.alert(null, (found) ? ((!found - replaced) ? t('Controller.Main.textReplaceSuccess').replace(/\{0\}/, `${replaced}`) : t('Controller.Main.textReplaceSkipped').replace(/\{0\}/, `${found - replaced}`)) : t('Controller.Main.textNoMatches'));
}
}

View File

@ -165,7 +165,7 @@ const Search = withTranslation()(props => {
if (params.highlight) api.asc_selectSearchingResults(true);
api.asc_findText(options, function(resultCount) {
!resultCount && f7.dialog.alert(null, _t.textNoTextFound);
!resultCount && f7.dialog.alert(null, t('View.Settings.textNoMatches'));
});
};
@ -197,7 +197,7 @@ const Search = withTranslation()(props => {
api.asc_findText(options, function(resultCount) {
if(!resultCount) {
f7.dialog.alert(null, _t.textNoTextFound);
f7.dialog.alert(null, t('View.Settings.textNoMatches'));
return;
}
@ -227,7 +227,7 @@ const Search = withTranslation()(props => {
api.asc_findText(options, function(resultCount) {
if(!resultCount) {
f7.dialog.alert(null, _t.textNoTextFound);
f7.dialog.alert(null, t('View.Settings.textNoMatches'));
return;
}