[DE PE SSE mobile] Bug 54697
This commit is contained in:
parent
c2efc7b4a2
commit
fe5a8496cc
|
@ -56,7 +56,8 @@
|
|||
"textStartAt": "Start At",
|
||||
"textTable": "Table",
|
||||
"textTableSize": "Table Size",
|
||||
"txtNotUrl": "This field should be a URL in the format \"http://www.example.com\""
|
||||
"txtNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
|
||||
"textOk": "Ok"
|
||||
},
|
||||
"Common": {
|
||||
"Collaboration": {
|
||||
|
@ -304,7 +305,8 @@
|
|||
"textTopAndBottom": "Top and Bottom",
|
||||
"textTotalRow": "Total Row",
|
||||
"textType": "Type",
|
||||
"textWrap": "Wrap"
|
||||
"textWrap": "Wrap",
|
||||
"textOk": "Ok"
|
||||
},
|
||||
"Error": {
|
||||
"convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
|
|
|
@ -34,7 +34,15 @@ class AddLinkController extends Component {
|
|||
const isEmail = (urltype == 2);
|
||||
|
||||
if (urltype < 1) {
|
||||
f7.dialog.alert(_t.txtNotUrl, _t.notcriticalErrorTitle);
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.txtNotUrl,
|
||||
buttons: [
|
||||
{
|
||||
text: t('Add.textOk')
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,17 @@ class EditHyperlinkController extends Component {
|
|||
const isEmail = (urltype == 2);
|
||||
if (urltype < 1) {
|
||||
const { t } = this.props;
|
||||
f7.dialog.alert(t('Edit.textNotUrl'), t('Edit.notcriticalErrorTitle'));
|
||||
|
||||
f7.dialog.create({
|
||||
title: t('Edit.notcriticalErrorTitle'),
|
||||
text: t('Edit.textNotUrl'),
|
||||
buttons: [
|
||||
{
|
||||
text: t('Edit.textOk')
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
|
||||
return;
|
||||
}
|
||||
let url = link.replace(/^\s+|\s+$/g,'');
|
||||
|
|
|
@ -237,7 +237,8 @@
|
|||
"textSlideNumber": "Slide Number",
|
||||
"textTable": "Table",
|
||||
"textTableSize": "Table Size",
|
||||
"txtNotUrl": "This field should be a URL in the format \"http://www.example.com\""
|
||||
"txtNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
|
||||
"textOk": "Ok"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
@ -385,7 +386,8 @@
|
|||
"textZoom": "Zoom",
|
||||
"textZoomIn": "Zoom In",
|
||||
"textZoomOut": "Zoom Out",
|
||||
"textZoomRotate": "Zoom and Rotate"
|
||||
"textZoomRotate": "Zoom and Rotate",
|
||||
"textOk": "Ok"
|
||||
},
|
||||
"Settings": {
|
||||
"mniSlideStandard": "Standard (4:3)",
|
||||
|
|
|
@ -42,7 +42,15 @@ class AddLinkController extends Component {
|
|||
const urltype = api.asc_getUrlType(url.trim());
|
||||
const isEmail = (urltype == 2);
|
||||
if (urltype < 1) {
|
||||
f7.dialog.alert(_t.txtNotUrl, _t.notcriticalErrorTitle);
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.txtNotUrl,
|
||||
buttons: [
|
||||
{
|
||||
text: t('View.Add.textOk')
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -99,7 +99,16 @@ class EditLinkController extends Component {
|
|||
const urltype = api.asc_getUrlType(url.trim());
|
||||
const isEmail = (urltype == 2);
|
||||
if (urltype < 1) {
|
||||
f7.dialog.alert(_t.textNotUrl, _t.notcriticalErrorTitle);
|
||||
f7.dialog.create({
|
||||
title: t('View.Edit.notcriticalErrorTitle'),
|
||||
text: t('View.Edit.textNotUrl'),
|
||||
buttons: [
|
||||
{
|
||||
text: t('View.Edit.textOk')
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -351,7 +351,8 @@
|
|||
"txtNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
|
||||
"txtSorting": "Sorting",
|
||||
"txtSortSelected": "Sort selected",
|
||||
"txtYes": "Yes"
|
||||
"txtYes": "Yes",
|
||||
"textOk": "Ok"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
@ -531,7 +532,8 @@
|
|||
"textYen": "Yen",
|
||||
"txtNotUrl": "This field should be a URL in the format \"http://www.example.com\"",
|
||||
"txtSortHigh2Low": "Sort Highest to Lowest",
|
||||
"txtSortLow2High": "Sort Lowest to Highest"
|
||||
"txtSortLow2High": "Sort Lowest to Highest",
|
||||
"textOk": "Ok"
|
||||
},
|
||||
"Settings": {
|
||||
"advCSVOptions": "Choose CSV options",
|
||||
|
|
|
@ -58,7 +58,15 @@ class AddLinkController extends Component {
|
|||
const isEmail = (urltype == 2);
|
||||
|
||||
if (urltype < 1) {
|
||||
f7.dialog.alert(_t.txtNotUrl, _t.notcriticalErrorTitle);
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.txtNotUrl,
|
||||
buttons: [
|
||||
{
|
||||
text: t('View.Add.textOk')
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -83,7 +83,16 @@ class EditLinkController extends Component {
|
|||
let urlType = api.asc_getUrlType(url.trim());
|
||||
|
||||
if (urlType < 1) {
|
||||
f7.dialog.alert(_t.txtNotUrl, _t.notcriticalErrorTitle);
|
||||
f7.dialog.create({
|
||||
title: t('View.Edit.notcriticalErrorTitle'),
|
||||
text: t('View.Edit.textNotUrl'),
|
||||
buttons: [
|
||||
{
|
||||
text: t('View.Edit.textOk')
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue