[Mobile] For bug 43992, 44992, 57181
This commit is contained in:
parent
5f51a2c7b1
commit
f047d7ffe7
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Sətirlər",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Xəbərdarlıq",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"menuSplit": "Split",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Увага",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "D'acord",
|
||||
"textRefreshEntireTable": "Actualitza la taula sencera",
|
||||
"textRefreshPageNumbersOnly": "Actualitza només els números de pàgina",
|
||||
"textRows": "Files"
|
||||
"textRows": "Files",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Advertiment",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Řádky",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Varování",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRefreshEntireTable": "Ganze Tabelle aktualisieren",
|
||||
"textRefreshPageNumbersOnly": "Nur Seitenzahlen aktualisieren",
|
||||
"textRows": "Zeilen"
|
||||
"textRows": "Zeilen",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warnung",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Εντάξει",
|
||||
"textRefreshEntireTable": "Ανανέωση ολόκληρου πίνακα",
|
||||
"textRefreshPageNumbersOnly": "Ανανέωση αριθμών σελίδων μόνο",
|
||||
"textRows": "Γραμμές"
|
||||
"textRows": "Γραμμές",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Προειδοποίηση",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRefreshEntireTable": "Actualizar toda la tabla",
|
||||
"textRefreshPageNumbersOnly": "Actualizar solamente los números de página",
|
||||
"textRows": "Filas"
|
||||
"textRows": "Filas",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Advertencia",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Ados",
|
||||
"textRefreshEntireTable": "Freskatu taula osoa",
|
||||
"textRefreshPageNumbersOnly": "Freskatu orri-zenbakiak soilik",
|
||||
"textRows": "Errenkadak"
|
||||
"textRows": "Errenkadak",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Abisua",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Ok",
|
||||
"textRefreshEntireTable": "Actualiser le tableau entier",
|
||||
"textRefreshPageNumbersOnly": "Actualiser les numéros de page uniquement",
|
||||
"textRows": "Lignes"
|
||||
"textRows": "Lignes",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Avertissement",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Aceptar",
|
||||
"textRefreshEntireTable": "Actualizar toda a táboa",
|
||||
"textRefreshPageNumbersOnly": "Actualizar soamente os números de páxina",
|
||||
"textRows": "Filas"
|
||||
"textRows": "Filas",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Aviso",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Sorok",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Figyelmeztetés",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Լավ",
|
||||
"textRefreshEntireTable": "Թարմացրել ամբողջ աղյուսակը",
|
||||
"textRefreshPageNumbersOnly": "Թարմացնել միայն էջերի համարները",
|
||||
"textRows": "Տողեր"
|
||||
"textRows": "Տողեր",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Զգուշացում",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Baris",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Peringatan",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Righe",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Avvertimento",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRefreshEntireTable": "テーブル全体を更新する",
|
||||
"textRefreshPageNumbersOnly": "ページ番号のみを更新する",
|
||||
"textRows": "行"
|
||||
"textRows": "行",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": " 警告",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "확인",
|
||||
"textRows": "행",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "경고",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "ຕົກລົງ",
|
||||
"textRows": "ແຖວ",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "ເຕືອນ",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Okey",
|
||||
"textRows": "Baris",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Amaran",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Rijen",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Waarschuwing",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Ok",
|
||||
"textRows": "Linhas",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Aviso",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Linhas",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Aviso",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRefreshEntireTable": "Reîmprospătarea întregului tabel",
|
||||
"textRefreshPageNumbersOnly": "Actualizare numai numere de pagină",
|
||||
"textRows": "Rânduri"
|
||||
"textRows": "Rânduri",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Avertisment",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Ok",
|
||||
"textRefreshEntireTable": "Обновить целиком",
|
||||
"textRefreshPageNumbersOnly": "Обновить только номера страниц",
|
||||
"textRows": "Строки"
|
||||
"textRows": "Строки",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Внимание",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "OK",
|
||||
"textRows": "Riadky",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Upozornenie",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Tamam",
|
||||
"textRows": "Satırlar",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Dikkat",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "Ок",
|
||||
"textRows": "Рядки",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Увага",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textCancel": "Cancel",
|
||||
"textNumberingValue": "Numbering Value",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "確定",
|
||||
"textRows": "行列",
|
||||
"textRefreshEntireTable": "Refresh entire table",
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only"
|
||||
"textRefreshPageNumbersOnly": "Refresh page numbers only",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "警告",
|
||||
|
|
|
@ -199,7 +199,8 @@
|
|||
"textOk": "好",
|
||||
"textRefreshEntireTable": "刷新整个表格",
|
||||
"textRefreshPageNumbersOnly": "仅刷新页号",
|
||||
"textRows": "行"
|
||||
"textRows": "行",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Edit": {
|
||||
"notcriticalErrorTitle": "警告",
|
||||
|
|
|
@ -215,10 +215,31 @@ class ContextMenu extends ContextMenuController {
|
|||
}
|
||||
|
||||
openLink(url) {
|
||||
if (Common.EditorApi.get().asc_getUrlType(url) > 0) {
|
||||
const newDocumentPage = window.open(url, '_blank');
|
||||
if (newDocumentPage) {
|
||||
newDocumentPage.focus();
|
||||
if (url) {
|
||||
const type = Common.EditorApi.get().asc_getUrlType(url);
|
||||
if (type===AscCommon.c_oAscUrlType.Http || type===AscCommon.c_oAscUrlType.Email) {
|
||||
const newDocumentPage = window.open(url, '_blank');
|
||||
if (newDocumentPage) {
|
||||
newDocumentPage.focus();
|
||||
}
|
||||
} else {
|
||||
const { t } = this.props;
|
||||
const _t = t("ContextMenu", { returnObjects: true });
|
||||
f7.dialog.create({
|
||||
title: t('Settings', {returnObjects: true}).notcriticalErrorTitle,
|
||||
text : _t.txtWarnUrl,
|
||||
buttons: [{
|
||||
text: _t.textOk,
|
||||
bold: true,
|
||||
onClick: () => {
|
||||
const newDocumentPage = window.open(url, '_blank');
|
||||
if (newDocumentPage) {
|
||||
newDocumentPage.focus();
|
||||
}
|
||||
}
|
||||
},
|
||||
{ text: _t.menuCancel }]
|
||||
}).open();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,11 +29,9 @@ class AddLinkController extends Component {
|
|||
|
||||
const { t } = this.props;
|
||||
const _t = t("Add", { returnObjects: true });
|
||||
|
||||
const urltype = api.asc_getUrlType(url.trim());
|
||||
const isEmail = (urltype == 2);
|
||||
|
||||
if (urltype < 1) {
|
||||
if (urltype===AscCommon.c_oAscUrlType.Invalid) {
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.txtNotUrl,
|
||||
|
@ -48,8 +46,8 @@ class AddLinkController extends Component {
|
|||
|
||||
let _url = url.replace(/^\s+|\s+$/g,'');
|
||||
|
||||
if (! /(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(_url) )
|
||||
_url = (isEmail ? 'mailto:' : 'http://' ) + _url;
|
||||
if (urltype!==AscCommon.c_oAscUrlType.Unsafe && ! /(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(_url) )
|
||||
_url = (urltype===AscCommon.c_oAscUrlType.Email ? 'mailto:' : 'http://' ) + _url;
|
||||
|
||||
_url = _url.replace(new RegExp("%20",'g')," ");
|
||||
|
||||
|
|
|
@ -25,8 +25,7 @@ class EditHyperlinkController extends Component {
|
|||
const api = Common.EditorApi.get();
|
||||
if (api) {
|
||||
const urltype = api.asc_getUrlType(link.trim());
|
||||
const isEmail = (urltype == 2);
|
||||
if (urltype < 1) {
|
||||
if (urltype===AscCommon.c_oAscUrlType.Invalid) {
|
||||
const { t } = this.props;
|
||||
|
||||
f7.dialog.create({
|
||||
|
@ -42,8 +41,8 @@ class EditHyperlinkController extends Component {
|
|||
return;
|
||||
}
|
||||
let url = link.replace(/^\s+|\s+$/g,'');
|
||||
if (! /(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(url) ) {
|
||||
url = (isEmail ? 'mailto:' : 'http://') + url;
|
||||
if (urltype!==AscCommon.c_oAscUrlType.Unsafe && ! /(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(url) ) {
|
||||
url = (urltype===AscCommon.c_oAscUrlType.Email ? 'mailto:' : 'http://') + url;
|
||||
}
|
||||
url = url.replace(new RegExp("%20",'g')," ");
|
||||
const props = new Asc.CHyperlinkProperty();
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Sütunlar",
|
||||
"textCopyCutPasteActions": "Kopyalama, Kəsmə və Yapışdırma Əməliyyatları",
|
||||
"textDoNotShowAgain": "Bir daha göstərmə",
|
||||
"textRows": "Sətirlər"
|
||||
"textRows": "Sətirlər",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textCopyCutPasteActions": "Скапіяваць, выразаць, уставіць",
|
||||
"textRows": "Радкі",
|
||||
"menuSplit": "Split",
|
||||
"textDoNotShowAgain": "Don't show again"
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columnes",
|
||||
"textCopyCutPasteActions": "Accions de copiar, tallar i enganxar ",
|
||||
"textDoNotShowAgain": "No ho mostris més",
|
||||
"textRows": "Files"
|
||||
"textRows": "Files",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Sloupce",
|
||||
"textCopyCutPasteActions": "Akce kopírovat, vyjmout a vložit",
|
||||
"textDoNotShowAgain": "Nezobrazovat znovu",
|
||||
"textRows": "Řádky"
|
||||
"textRows": "Řádky",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Spalten",
|
||||
"textCopyCutPasteActions": "Kopieren, Ausschneiden und Einfügen",
|
||||
"textDoNotShowAgain": "Nicht mehr anzeigen",
|
||||
"textRows": "Zeilen"
|
||||
"textRows": "Zeilen",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Στήλες",
|
||||
"textCopyCutPasteActions": "Ενέργειες Αντιγραφής, Αποκοπής και Επικόλλησης",
|
||||
"textDoNotShowAgain": "Να μην εμφανιστεί ξανά",
|
||||
"textRows": "Γραμμές"
|
||||
"textRows": "Γραμμές",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columnas",
|
||||
"textCopyCutPasteActions": "Acciones de Copiar, Cortar y Pegar",
|
||||
"textDoNotShowAgain": "No mostrar de nuevo",
|
||||
"textRows": "Filas"
|
||||
"textRows": "Filas",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Zutabeak",
|
||||
"textCopyCutPasteActions": "Kopiatu, ebaki eta itsatsi ekintzak",
|
||||
"textDoNotShowAgain": "Ez erakutsi berriro",
|
||||
"textRows": "Errenkadak"
|
||||
"textRows": "Errenkadak",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Colonnes",
|
||||
"textCopyCutPasteActions": "Fonctions de Copier, Couper et Coller",
|
||||
"textDoNotShowAgain": "Ne plus afficher",
|
||||
"textRows": "Lignes"
|
||||
"textRows": "Lignes",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columnas",
|
||||
"textCopyCutPasteActions": "Accións de copiar, cortar e pegar",
|
||||
"textDoNotShowAgain": "Non amosar de novo",
|
||||
"textRows": "Filas"
|
||||
"textRows": "Filas",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Oszlopok",
|
||||
"textCopyCutPasteActions": "Másolás, kivágás és beillesztés",
|
||||
"textDoNotShowAgain": "Ne mutassa újra",
|
||||
"textRows": "Sorok"
|
||||
"textRows": "Sorok",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Սյունակներ",
|
||||
"textCopyCutPasteActions": "Պատճենելու, կտրելու և փակցնելու գործողություններ",
|
||||
"textDoNotShowAgain": "Այլևս ցույց չտալ",
|
||||
"textRows": "Տողեր"
|
||||
"textRows": "Տողեր",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Kolom",
|
||||
"textCopyCutPasteActions": "Salin, Potong dan Tempel",
|
||||
"textDoNotShowAgain": "Jangan tampilkan lagi",
|
||||
"textRows": "Baris"
|
||||
"textRows": "Baris",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Colonne",
|
||||
"textCopyCutPasteActions": "Funzioni di Copiare, Tagliare e Incollare",
|
||||
"textDoNotShowAgain": "Non mostrare di nuovo",
|
||||
"textRows": "Righe"
|
||||
"textRows": "Righe",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "列",
|
||||
"textCopyCutPasteActions": "コピー,切り取り,貼り付けの操作",
|
||||
"textDoNotShowAgain": "再度表示しない",
|
||||
"textRows": "行"
|
||||
"textRows": "行",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "열",
|
||||
"textCopyCutPasteActions": "복사, 잘라내기 및 붙여 넣기",
|
||||
"textDoNotShowAgain": "다시 표시하지 않음",
|
||||
"textRows": "행"
|
||||
"textRows": "행",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "ຖັນ",
|
||||
"textCopyCutPasteActions": "ປະຕິບັດການ ສໍາເນົາ, ຕັດ ແລະ ວາງ",
|
||||
"textDoNotShowAgain": "ບໍ່ສະແດງອີກ",
|
||||
"textRows": "ແຖວ"
|
||||
"textRows": "ແຖວ",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Lajur",
|
||||
"textCopyCutPasteActions": "Tindakan Salin, Potong dan Tampal",
|
||||
"textDoNotShowAgain": "Jangan tunjukkan semula",
|
||||
"textRows": "Baris"
|
||||
"textRows": "Baris",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Kolommen",
|
||||
"textCopyCutPasteActions": "Acties Kopiëren, Knippen en Plakken",
|
||||
"textDoNotShowAgain": "Niet meer laten zien.",
|
||||
"textRows": "Rijen"
|
||||
"textRows": "Rijen",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Colunas",
|
||||
"textCopyCutPasteActions": "Ações copiar, cortar e colar",
|
||||
"textDoNotShowAgain": "Não mostrar novamente",
|
||||
"textRows": "Linhas"
|
||||
"textRows": "Linhas",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Colunas",
|
||||
"textCopyCutPasteActions": "Copiar, Cortar e Colar",
|
||||
"textDoNotShowAgain": "Não volte a aparecer",
|
||||
"textRows": "Linhas"
|
||||
"textRows": "Linhas",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Coloane",
|
||||
"textCopyCutPasteActions": "Comenzile de copiere, decupare și lipire",
|
||||
"textDoNotShowAgain": "Nu mai afișa",
|
||||
"textRows": "Rânduri"
|
||||
"textRows": "Rânduri",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Столбцы",
|
||||
"textCopyCutPasteActions": "Операции копирования, вырезания и вставки",
|
||||
"textDoNotShowAgain": "Больше не показывать",
|
||||
"textRows": "Строки"
|
||||
"textRows": "Строки",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Stĺpce",
|
||||
"textCopyCutPasteActions": "Akcia kopírovať, vystrihnúť a prilepiť",
|
||||
"textDoNotShowAgain": "Nezobrazovať znova",
|
||||
"textRows": "Riadky"
|
||||
"textRows": "Riadky",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"menuViewComment": "View Comment",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"View": {
|
||||
"Add": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Sütunlar",
|
||||
"textCopyCutPasteActions": "Eylemleri Kopyala,Kes ve Yapıştır",
|
||||
"textDoNotShowAgain": "Tekrar gösterme",
|
||||
"textRows": "Satırlar"
|
||||
"textRows": "Satırlar",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "Columns",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"textRows": "Rows"
|
||||
"textRows": "Rows",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "欄",
|
||||
"textCopyCutPasteActions": "複製, 剪下, 與貼上之動作",
|
||||
"textDoNotShowAgain": "不再顯示",
|
||||
"textRows": "行列"
|
||||
"textRows": "行列",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -59,7 +59,9 @@
|
|||
"textColumns": "列",
|
||||
"textCopyCutPasteActions": "拷贝,剪切和粘贴操作",
|
||||
"textDoNotShowAgain": "不要再显示",
|
||||
"textRows": "行"
|
||||
"textRows": "行",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -180,14 +180,37 @@ class ContextMenu extends ContextMenuController {
|
|||
}
|
||||
|
||||
openLink(url) {
|
||||
const api = Common.EditorApi.get();
|
||||
if (api.asc_getUrlType(url) > 0) {
|
||||
const newDocumentPage = window.open(url, '_blank');
|
||||
if (newDocumentPage) {
|
||||
newDocumentPage.focus();
|
||||
if (url) {
|
||||
const api = Common.EditorApi.get();
|
||||
if (url.indexOf("ppaction://hlink")>=0) { // internal link
|
||||
api.asc_GoToInternalHyperlink(url);
|
||||
} else {
|
||||
const type = api.asc_getUrlType(url);
|
||||
if (type===AscCommon.c_oAscUrlType.Http || type===AscCommon.c_oAscUrlType.Email) {
|
||||
const newDocumentPage = window.open(url, '_blank');
|
||||
if (newDocumentPage) {
|
||||
newDocumentPage.focus();
|
||||
}
|
||||
} else {
|
||||
const { t } = this.props;
|
||||
const _t = t("ContextMenu", { returnObjects: true });
|
||||
f7.dialog.create({
|
||||
title: t('View.Settings', {returnObjects: true}).notcriticalErrorTitle,
|
||||
text : _t.txtWarnUrl,
|
||||
buttons: [{
|
||||
text: t('View.Settings', {returnObjects: true}).textOk,
|
||||
bold: true,
|
||||
onClick: () => {
|
||||
const newDocumentPage = window.open(url, '_blank');
|
||||
if (newDocumentPage) {
|
||||
newDocumentPage.focus();
|
||||
}
|
||||
}
|
||||
},
|
||||
{ text: _t.menuCancel }]
|
||||
}).open();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
api.asc_GoToInternalHyperlink(url);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -40,8 +40,7 @@ class AddLinkController extends Component {
|
|||
if (type == c_oHyperlinkType.WebLink) {
|
||||
let url = linkInfo.url;
|
||||
const urltype = api.asc_getUrlType(url.trim());
|
||||
const isEmail = (urltype == 2);
|
||||
if (urltype < 1) {
|
||||
if (urltype===AscCommon.c_oAscUrlType.Invalid) {
|
||||
f7.dialog.create({
|
||||
title: _t.notcriticalErrorTitle,
|
||||
text: _t.txtNotUrl,
|
||||
|
@ -55,8 +54,8 @@ class AddLinkController extends Component {
|
|||
}
|
||||
|
||||
url = url.replace(/^\s+|\s+$/g, '');
|
||||
if (!/(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(url))
|
||||
url = (isEmail ? 'mailto:' : 'http://' ) + url;
|
||||
if (urltype!==AscCommon.c_oAscUrlType.Unsafe && !/(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(url))
|
||||
url = (urltype===AscCommon.c_oAscUrlType.Email ? 'mailto:' : 'http://' ) + url;
|
||||
url = url.replace(new RegExp("%20", 'g'), " ");
|
||||
|
||||
props.put_Value(url);
|
||||
|
|
|
@ -97,8 +97,7 @@ class EditLinkController extends Component {
|
|||
if (type == c_oHyperlinkType.WebLink) {
|
||||
let url = linkInfo.url;
|
||||
const urltype = api.asc_getUrlType(url.trim());
|
||||
const isEmail = (urltype == 2);
|
||||
if (urltype < 1) {
|
||||
if (urltype===AscCommon.c_oAscUrlType.Invalid) {
|
||||
f7.dialog.create({
|
||||
title: t('View.Edit.notcriticalErrorTitle'),
|
||||
text: t('View.Edit.textNotUrl'),
|
||||
|
@ -113,8 +112,8 @@ class EditLinkController extends Component {
|
|||
}
|
||||
|
||||
url = url.replace(/^\s+|\s+$/g, '');
|
||||
if (!/(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(url))
|
||||
url = (isEmail ? 'mailto:' : 'http://' ) + url;
|
||||
if (urltype!==AscCommon.c_oAscUrlType.Unsafe && !/(((^https?)|(^ftp)):\/\/)|(^mailto:)/i.test(url))
|
||||
url = (urltype===AscCommon.c_oAscUrlType.Email ? 'mailto:' : 'http://' ) + url;
|
||||
url = url.replace(new RegExp("%20", 'g'), " ");
|
||||
|
||||
props.put_Value(url);
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Xəbərdarlıq",
|
||||
"textCopyCutPasteActions": "Kopyalama, Kəsmə və Yapışdırma Əməliyyatları",
|
||||
"textDoNotShowAgain": "Bir daha göstərmə",
|
||||
"warnMergeLostData": "Birləşdirilmiş xanada yalnız yuxarı sol xanadakı məlumatlar qalacaq. <br>Davam etmək istədiyinizdən əminsiniz?"
|
||||
"warnMergeLostData": "Birləşdirilmiş xanada yalnız yuxarı sol xanadakı məlumatlar qalacaq. <br>Davam etmək istədiyinizdən əminsiniz?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Warning",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"warnMergeLostData": "Only the data from the upper-left cell will remain in the merged cell. <br>Are you sure you want to continue?"
|
||||
"warnMergeLostData": "Only the data from the upper-left cell will remain in the merged cell. <br>Are you sure you want to continue?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"warnMergeLostData": "The operation can destroy data in the selected cells. Continue?",
|
||||
"errorInvalidLink": "The link reference does not exist. Please correct the link or delete it."
|
||||
"errorInvalidLink": "The link reference does not exist. Please correct the link or delete it.",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Advertiment",
|
||||
"textCopyCutPasteActions": "Accions de copia, talla i enganxa ",
|
||||
"textDoNotShowAgain": "No ho mostris més",
|
||||
"warnMergeLostData": "Només les dades de la cel·la superior esquerra romandran a la cel·la combinada. <br>Voleu continuar?"
|
||||
"warnMergeLostData": "Només les dades de la cel·la superior esquerra romandran a la cel·la combinada. <br>Voleu continuar?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Varování",
|
||||
"textCopyCutPasteActions": "Akce kopírovat, vyjmout a vložit",
|
||||
"textDoNotShowAgain": "Nezobrazovat znovu",
|
||||
"warnMergeLostData": "Ve sloučené buňce budou zachována pouze data z původní levé horní buňky.<br>Opravdu chcete pokračovat?"
|
||||
"warnMergeLostData": "Ve sloučené buňce budou zachována pouze data z původní levé horní buňky.<br>Opravdu chcete pokračovat?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"menuUnmerge": "Unmerge",
|
||||
"menuUnwrap": "Unwrap",
|
||||
"menuViewComment": "View Comment",
|
||||
"notcriticalErrorTitle": "Warning"
|
||||
"notcriticalErrorTitle": "Warning",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Warnung",
|
||||
"textCopyCutPasteActions": "Kopieren, Ausschneiden und Einfügen",
|
||||
"textDoNotShowAgain": "Nicht mehr anzeigen",
|
||||
"warnMergeLostData": "Nur die Daten aus der oberen linken Zelle bleiben nach der Vereinigung.<br>Möchten Sie wirklich fortsetzen?"
|
||||
"warnMergeLostData": "Nur die Daten aus der oberen linken Zelle bleiben nach der Vereinigung.<br>Möchten Sie wirklich fortsetzen?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Προειδοποίηση",
|
||||
"textCopyCutPasteActions": "Ενέργειες Αντιγραφής, Αποκοπής και Επικόλλησης",
|
||||
"textDoNotShowAgain": "Να μην εμφανιστεί ξανά",
|
||||
"warnMergeLostData": "Μόνο τα δεδομένα από το επάνω αριστερό κελί θα παραμείνουν στο συγχωνευμένο κελί.<br>Είστε σίγουροι ότι θέλετε να συνεχίσετε;"
|
||||
"warnMergeLostData": "Μόνο τα δεδομένα από το επάνω αριστερό κελί θα παραμείνουν στο συγχωνευμένο κελί.<br>Είστε σίγουροι ότι θέλετε να συνεχίσετε;",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Warning",
|
||||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"warnMergeLostData": "Only the data from the upper-left cell will remain in the merged cell. <br>Are you sure you want to continue?"
|
||||
"warnMergeLostData": "Only the data from the upper-left cell will remain in the merged cell. <br>Are you sure you want to continue?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Advertencia",
|
||||
"textCopyCutPasteActions": "Acciones de Copiar, Cortar y Pegar",
|
||||
"textDoNotShowAgain": "No mostrar de nuevo",
|
||||
"warnMergeLostData": "En la celda unida permanecerán sólo los datos de la celda de la esquina superior izquierda.<br>Está seguro de que quiere continuar?"
|
||||
"warnMergeLostData": "En la celda unida permanecerán sólo los datos de la celda de la esquina superior izquierda.<br>Está seguro de que quiere continuar?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Abisua",
|
||||
"textCopyCutPasteActions": "Kopiatu, ebaki eta itsatsi ekintzak",
|
||||
"textDoNotShowAgain": "Ez erakutsi berriro",
|
||||
"warnMergeLostData": "Goren-ezkerreko gelaxkako datuak bakarrik mantenduko dira elkartutako gelaxkan.<br>Seguru zaude jarraitu nahi duzula?"
|
||||
"warnMergeLostData": "Goren-ezkerreko gelaxkako datuak bakarrik mantenduko dira elkartutako gelaxkan.<br>Seguru zaude jarraitu nahi duzula?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Avertissement",
|
||||
"textCopyCutPasteActions": "Fonctions de Copier, Couper et Coller",
|
||||
"textDoNotShowAgain": "Ne plus afficher",
|
||||
"warnMergeLostData": "Seulement les données de la cellule supérieure gauche seront conservées dans la cellule fusionnée.<br>Êtes-vous sûr de vouloir continuer ?"
|
||||
"warnMergeLostData": "Seulement les données de la cellule supérieure gauche seront conservées dans la cellule fusionnée.<br>Êtes-vous sûr de vouloir continuer ?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Aviso",
|
||||
"textCopyCutPasteActions": "Accións de copiar, cortar e pegar",
|
||||
"textDoNotShowAgain": "Non amosar de novo",
|
||||
"warnMergeLostData": "Na celda unida permanecerán só os datos da celda da esquina superior esquerda.<br>Ten a certeza de que quere continuar?"
|
||||
"warnMergeLostData": "Na celda unida permanecerán só os datos da celda da esquina superior esquerda.<br>Ten a certeza de que quere continuar?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Figyelmeztetés",
|
||||
"textCopyCutPasteActions": "Másolás, kivágás és beillesztés",
|
||||
"textDoNotShowAgain": "Ne mutassa újra",
|
||||
"warnMergeLostData": "Csak a bal felső cellából származó adatok maradnak az egyesített cellában.<br>Biztosan folytatni szeretné?"
|
||||
"warnMergeLostData": "Csak a bal felső cellából származó adatok maradnak az egyesített cellában.<br>Biztosan folytatni szeretné?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Զգուշացում",
|
||||
"textCopyCutPasteActions": "Պատճենելու, կտրելու և փակցնելու գործողություններ",
|
||||
"textDoNotShowAgain": "Այլևս ցույց չտալ",
|
||||
"warnMergeLostData": "Գործողությունը կարող է ոչնչացնել ընտրված վանդակների տվյալները։<br>Շարունակե՞լ։"
|
||||
"warnMergeLostData": "Գործողությունը կարող է ոչնչացնել ընտրված վանդակների տվյալները։<br>Շարունակե՞լ։",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Peringatan",
|
||||
"textCopyCutPasteActions": "Salin, Potong dan Tempel",
|
||||
"textDoNotShowAgain": "Jangan tampilkan lagi",
|
||||
"warnMergeLostData": "Hanya data dari sel atas-kiri akan tetap berada di sel merging. <br>Apakah Anda ingin melanjutkan?"
|
||||
"warnMergeLostData": "Hanya data dari sel atas-kiri akan tetap berada di sel merging. <br>Apakah Anda ingin melanjutkan?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "Avvertimento",
|
||||
"textCopyCutPasteActions": "Funzioni di Copiare, Tagliare e Incollare",
|
||||
"textDoNotShowAgain": "Non mostrare di nuovo",
|
||||
"warnMergeLostData": "Solo i dati dalla cella sinistra superiore rimangono nella cella unita.<br>Sei sicuro di voler continuare?"
|
||||
"warnMergeLostData": "Solo i dati dalla cella sinistra superiore rimangono nella cella unita.<br>Sei sicuro di voler continuare?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": " 警告",
|
||||
"textCopyCutPasteActions": "コピー,切り取り,貼り付けの操作",
|
||||
"textDoNotShowAgain": "再度表示しない",
|
||||
"warnMergeLostData": "マージされたセルに左上のセルからのデータのみが残ります。<br>続行してもよろしいです?"
|
||||
"warnMergeLostData": "マージされたセルに左上のセルからのデータのみが残ります。<br>続行してもよろしいです?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "경고",
|
||||
"textCopyCutPasteActions": "작업 복사, 잘라 내기 및 붙여 넣기",
|
||||
"textDoNotShowAgain": "다시 표시하지 않음",
|
||||
"warnMergeLostData": "왼쪽 위 셀의 데이터 만 병합 된 셀에 남아 있습니다. <br> 계속 하시겠습니까?"
|
||||
"warnMergeLostData": "왼쪽 위 셀의 데이터 만 병합 된 셀에 남아 있습니다. <br> 계속 하시겠습니까?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"notcriticalErrorTitle": "ເຕືອນ",
|
||||
"textCopyCutPasteActions": "ປະຕິບັດການ ສໍາເນົາ, ຕັດ ແລະ ວາງ",
|
||||
"textDoNotShowAgain": "ບໍ່ສະແດງອີກ",
|
||||
"warnMergeLostData": "ສະເພາະຂໍ້ມູນຈາກເຊວດ້ານຊ້າຍເທິງທີ່ຈະຢູ່ໃນເຊວຮ່ວມ. <br>ທ່ານຕ້ອງການດຳເນີນການຕໍ່ບໍ່?"
|
||||
"warnMergeLostData": "ສະເພາະຂໍ້ມູນຈາກເຊວດ້ານຊ້າຍເທິງທີ່ຈະຢູ່ໃນເຊວຮ່ວມ. <br>ທ່ານຕ້ອງການດຳເນີນການຕໍ່ບໍ່?",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
|
@ -63,7 +63,9 @@
|
|||
"textCopyCutPasteActions": "Copy, Cut and Paste Actions",
|
||||
"textDoNotShowAgain": "Don't show again",
|
||||
"warnMergeLostData": "The operation can destroy data in the selected cells. Continue?",
|
||||
"errorInvalidLink": "The link reference does not exist. Please correct the link or delete it."
|
||||
"errorInvalidLink": "The link reference does not exist. Please correct the link or delete it.",
|
||||
"textOk": "Ok",
|
||||
"txtWarnUrl": "Clicking this link can be harmful to your device and data.<br>Are you sure you want to continue?"
|
||||
},
|
||||
"Controller": {
|
||||
"Main": {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue