David Benson vor 3 Jahren
Ursprung
Commit
7c64c25d61
69 geänderte Dateien mit 508 neuen und 269 gelöschten Zeilen
  1. 12 0
      ChangeLog
  2. 1 1
      VERSION
  3. 0 5
      package.json
  4. 15 8
      src/main/webapp/js/diagramly/App.js
  5. 89 65
      src/main/webapp/js/diagramly/Dialogs.js
  6. 142 91
      src/main/webapp/js/diagramly/EditorUi.js
  7. 38 16
      src/main/webapp/js/diagramly/ElectronApp.js
  8. 6 0
      src/main/webapp/js/diagramly/Minimal.js
  9. 1 1
      src/main/webapp/js/grapheditor/Actions.js
  10. 7 2
      src/main/webapp/js/grapheditor/EditorUi.js
  11. 3 1
      src/main/webapp/resources/dia.txt
  12. 3 1
      src/main/webapp/resources/dia_am.txt
  13. 3 1
      src/main/webapp/resources/dia_ar.txt
  14. 3 1
      src/main/webapp/resources/dia_bg.txt
  15. 3 1
      src/main/webapp/resources/dia_bn.txt
  16. 3 1
      src/main/webapp/resources/dia_bs.txt
  17. 3 1
      src/main/webapp/resources/dia_ca.txt
  18. 3 1
      src/main/webapp/resources/dia_cs.txt
  19. 3 1
      src/main/webapp/resources/dia_da.txt
  20. 18 16
      src/main/webapp/resources/dia_de.txt
  21. 3 1
      src/main/webapp/resources/dia_el.txt
  22. 3 1
      src/main/webapp/resources/dia_eo.txt
  23. 3 1
      src/main/webapp/resources/dia_es.txt
  24. 3 1
      src/main/webapp/resources/dia_et.txt
  25. 3 1
      src/main/webapp/resources/dia_eu.txt
  26. 3 1
      src/main/webapp/resources/dia_fa.txt
  27. 3 1
      src/main/webapp/resources/dia_fi.txt
  28. 3 1
      src/main/webapp/resources/dia_fil.txt
  29. 3 1
      src/main/webapp/resources/dia_fr.txt
  30. 3 1
      src/main/webapp/resources/dia_gl.txt
  31. 3 1
      src/main/webapp/resources/dia_gu.txt
  32. 3 1
      src/main/webapp/resources/dia_he.txt
  33. 3 1
      src/main/webapp/resources/dia_hi.txt
  34. 3 1
      src/main/webapp/resources/dia_hr.txt
  35. 3 1
      src/main/webapp/resources/dia_hu.txt
  36. 3 1
      src/main/webapp/resources/dia_i18n.txt
  37. 3 1
      src/main/webapp/resources/dia_id.txt
  38. 3 1
      src/main/webapp/resources/dia_it.txt
  39. 3 1
      src/main/webapp/resources/dia_ja.txt
  40. 3 1
      src/main/webapp/resources/dia_kn.txt
  41. 3 1
      src/main/webapp/resources/dia_ko.txt
  42. 3 1
      src/main/webapp/resources/dia_lt.txt
  43. 3 1
      src/main/webapp/resources/dia_lv.txt
  44. 3 1
      src/main/webapp/resources/dia_ml.txt
  45. 3 1
      src/main/webapp/resources/dia_mr.txt
  46. 3 1
      src/main/webapp/resources/dia_ms.txt
  47. 3 1
      src/main/webapp/resources/dia_my.txt
  48. 3 1
      src/main/webapp/resources/dia_nl.txt
  49. 3 1
      src/main/webapp/resources/dia_no.txt
  50. 3 1
      src/main/webapp/resources/dia_pl.txt
  51. 3 1
      src/main/webapp/resources/dia_pt-br.txt
  52. 3 1
      src/main/webapp/resources/dia_pt.txt
  53. 3 1
      src/main/webapp/resources/dia_ro.txt
  54. 3 1
      src/main/webapp/resources/dia_ru.txt
  55. 3 1
      src/main/webapp/resources/dia_si.txt
  56. 3 1
      src/main/webapp/resources/dia_sk.txt
  57. 3 1
      src/main/webapp/resources/dia_sl.txt
  58. 3 1
      src/main/webapp/resources/dia_sr.txt
  59. 3 1
      src/main/webapp/resources/dia_sv.txt
  60. 3 1
      src/main/webapp/resources/dia_sw.txt
  61. 3 1
      src/main/webapp/resources/dia_ta.txt
  62. 3 1
      src/main/webapp/resources/dia_te.txt
  63. 3 1
      src/main/webapp/resources/dia_th.txt
  64. 3 1
      src/main/webapp/resources/dia_tr.txt
  65. 3 1
      src/main/webapp/resources/dia_uk.txt
  66. 3 1
      src/main/webapp/resources/dia_vi.txt
  67. 3 1
      src/main/webapp/resources/dia_zh-tw.txt
  68. 3 1
      src/main/webapp/resources/dia_zh.txt
  69. 8 7
      src/main/webapp/teams.html

+ 12 - 0
ChangeLog

@@ -1,3 +1,15 @@
+27-JAN-2022: 16.4.8
+
+- [desktop] Fixes draft files removal when auto-save is enabled
+- Edit connection points dialog can now only be closed via the dialog button
+- [conf cloud] Disables editing if confluence page is opened inside another service (e.g, Jira project pages)
+- Shows label in edit connection points dialog https://github.com/jgraph/drawio/issues/864
+- Fixes touch event handling on Android https://github.com/jgraph/drawio/issues/2579
+- [desktop] Sets offline and offlineApp true
+- [desktop] Display meaningful error when content is imported that requires server
+	https://github.com/jgraph/drawio/issues/2117
+- Fixes drag from picker for Chrome on touch devices
+
 25-JAN-2022: 16.4.7
 
 - Improves output validation of AbsAuthServlet [DND-371]

+ 1 - 1
VERSION

@@ -1 +1 @@
-16.4.7
+16.4.8

+ 0 - 5
package.json

@@ -1,5 +0,0 @@
-{
-  "devDependencies": {
-    "eslint": "^8.7.0"
-  }
-}

+ 15 - 8
src/main/webapp/js/diagramly/App.js

@@ -4618,17 +4618,24 @@ App.prototype.loadTemplate = function(url, onload, onerror, templateFilename, as
 					onload(xml);
 				}, onerror, filterFn);
 			}
-			else if (!this.isOffline() && new XMLHttpRequest().upload && this.isRemoteFileFormat(data, filterFn))
+			else if (new XMLHttpRequest().upload && this.isRemoteFileFormat(data, filterFn))
 			{
-				// Asynchronous parsing via server
-				this.parseFileData(data, mxUtils.bind(this, function(xhr)
+				if (this.isOffline())
 				{
-					if (xhr.readyState == 4 && xhr.status >= 200 && xhr.status <= 299 &&
-						xhr.responseText.substring(0, 13) == '<mxGraphModel')
+					this.showError(mxResources.get('error'), mxResources.get('notInOffline'), null, onerror);
+				}
+				else
+				{
+					// Asynchronous parsing via server
+					this.parseFileData(data, mxUtils.bind(this, function(xhr)
 					{
-						onload(xhr.responseText);
-					}
-				}), url);
+						if (xhr.readyState == 4 && xhr.status >= 200 && xhr.status <= 299 &&
+							xhr.responseText.substring(0, 13) == '<mxGraphModel')
+						{
+							onload(xhr.responseText);
+						}
+					}), url);
+				}
 			}
 			else if (this.isLucidChartData(data))
 			{

+ 89 - 65
src/main/webapp/js/diagramly/Dialogs.js

@@ -9799,23 +9799,31 @@ var LibraryDialog = function(editorUi, name, library, initialImages, file, mode)
 		    			null : img.substring(0, img.lastIndexOf('.')).replace(/_/g, ' '));
 				}));
 			}
-			else if (file != null && !editorUi.isOffline() && new XMLHttpRequest().upload && editorUi.isRemoteFileFormat(data, file.name))
+			else if (file != null && new XMLHttpRequest().upload && editorUi.isRemoteFileFormat(data, file.name))
 			{
-				editorUi.parseFile(file, mxUtils.bind(this, function(xhr)
+				if (editorUi.isOffline())
 				{
-					if (xhr.readyState == 4)
+					editorUi.spinner.stop();
+					editorUi.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+				}
+				else
+				{
+					editorUi.parseFile(file, mxUtils.bind(this, function(xhr)
 					{
-						editorUi.spinner.stop();
-	    				
-	    				if (xhr.status >= 200 && xhr.status <= 299)
+						if (xhr.readyState == 4)
 						{
-							var xml = xhr.responseText;
-							addButton(xml, mimeType, x, y, w, h, img, 'fixed', (mxEvent.isAltDown(evt)) ?
-				    			null : img.substring(0, img.lastIndexOf('.')).replace(/_/g, ' '));
-							div.scrollTop = div.scrollHeight;
+							editorUi.spinner.stop();
+							
+							if (xhr.status >= 200 && xhr.status <= 299)
+							{
+								var xml = xhr.responseText;
+								addButton(xml, mimeType, x, y, w, h, img, 'fixed', (mxEvent.isAltDown(evt)) ?
+									null : img.substring(0, img.lastIndexOf('.')).replace(/_/g, ' '));
+								div.scrollTop = div.scrollHeight;
+							}
 						}
-					}
-				}));
+					}));
+				}
 			}
 			else
 			{
@@ -12739,17 +12747,33 @@ var ConnectionPointsDialog = function(editorUi, cell)
 			var cPoint = new mxCell('', new mxGeometry(x, y, CP_SIZE, CP_SIZE), cPointStyle);
 			cPoint.vertex = true;
 			cPoint.cp = true;
-			editingGraph.addCell(cPoint);
+
+			return editingGraph.addCell(cPoint);
 		};
 	
+		//Add cell and current connection points on it
+		var geo = cell.geometry;
+		var mainCell = new mxCell(cell.value, new mxGeometry(0, 0, geo.width, geo.height),
+							cell.style + ';rotatable=0;resizable=0;connectable=0;editable=0;movable=0;');
+		mainCell.vertex = true;
+		editingGraph.addCell(mainCell);
+
 		//Adding a point via double click
 		editingGraph.dblClick = function(evt, cell)
 		{
-			var pt = mxUtils.convertPoint(editingGraph.container, mxEvent.getClientX(evt), mxEvent.getClientY(evt));
-			mxEvent.consume(evt);
-			var scale = editingGraph.view.scale;
-			var tr = editingGraph.view.translate;
-			createCPoint((pt.x - CP_HLF_SIZE * scale) / scale - tr.x, (pt.y - CP_HLF_SIZE * scale) / scale - tr.y);
+			if (cell != null && cell != mainCell)
+			{
+				editingGraph.setSelectionCell(cell);
+			}
+			else
+			{
+				var pt = mxUtils.convertPoint(editingGraph.container, mxEvent.getClientX(evt), mxEvent.getClientY(evt));
+				mxEvent.consume(evt);
+				var scale = editingGraph.view.scale;
+				var tr = editingGraph.view.translate;
+				editingGraph.setSelectionCell(createCPoint((pt.x - CP_HLF_SIZE * scale) / scale - tr.x,
+					(pt.y - CP_HLF_SIZE * scale) / scale - tr.y));
+			}
 		}
 
 		keyHandler = new mxKeyHandler(editingGraph);
@@ -12763,12 +12787,6 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		keyHandler.bindKey(46, removeCPoints);
 		keyHandler.bindKey(8, removeCPoints);
 
-		//Add cell and current connection points on it
-		var geo = cell.geometry;
-		var mainCell = new mxCell('', new mxGeometry(0, 0, geo.width, geo.height),
-							cell.style + ';rotatable=0;resizable=0;connectable=0;editable=0;movable=0;');
-		mainCell.vertex = true;
-		editingGraph.addCell(mainCell);
 		//Force rubberband inside the cell
 		editingGraph.getRubberband().isForceRubberbandEvent = function(event)
 		{
@@ -12819,10 +12837,12 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		});
 		zoomInBtn.className = 'geSprite geSprite-zoomin';
 		zoomInBtn.setAttribute('title', mxResources.get('zoomIn'));
+		zoomInBtn.style.position = 'relative';
 		zoomInBtn.style.outline = 'none';
 		zoomInBtn.style.border = 'none';
 		zoomInBtn.style.margin = '2px';
 		zoomInBtn.style.cursor = 'pointer';
+		zoomInBtn.style.top = (mxClient.IS_FF) ? '-6px' : '0px';
 		mxUtils.setOpacity(zoomInBtn, 60);
 		
 		var zoomOutBtn = mxUtils.button('', function()
@@ -12831,10 +12851,12 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		});
 		zoomOutBtn.className = 'geSprite geSprite-zoomout';
 		zoomOutBtn.setAttribute('title', mxResources.get('zoomOut'));
+		zoomOutBtn.style.position = 'relative';
 		zoomOutBtn.style.outline = 'none';
 		zoomOutBtn.style.border = 'none';
 		zoomOutBtn.style.margin = '2px';
 		zoomOutBtn.style.cursor = 'pointer';
+		zoomOutBtn.style.top = (mxClient.IS_FF) ? '-6px' : '0px';
 		mxUtils.setOpacity(zoomOutBtn, 60);
 
 		var zoomFitBtn = mxUtils.button('', function()
@@ -12844,10 +12866,12 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		});
 		zoomFitBtn.className = 'geSprite geSprite-fit';
 		zoomFitBtn.setAttribute('title', mxResources.get('fit'));
+		zoomFitBtn.style.position = 'relative';
 		zoomFitBtn.style.outline = 'none';
 		zoomFitBtn.style.border = 'none';
 		zoomFitBtn.style.margin = '2px';
 		zoomFitBtn.style.cursor = 'pointer';
+		zoomFitBtn.style.top = (mxClient.IS_FF) ? '-6px' : '0px';
 		mxUtils.setOpacity(zoomFitBtn, 60);
 		
 		var zoomActualBtn = mxUtils.button('', function()
@@ -12857,15 +12881,18 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		});
 		zoomActualBtn.className = 'geSprite geSprite-actualsize';
 		zoomActualBtn.setAttribute('title', mxResources.get('actualSize'));
+		zoomActualBtn.style.position = 'relative';
 		zoomActualBtn.style.outline = 'none';
 		zoomActualBtn.style.border = 'none';
 		zoomActualBtn.style.margin = '2px';
 		zoomActualBtn.style.cursor = 'pointer';
+		zoomActualBtn.style.top = (mxClient.IS_FF) ? '-6px' : '0px';
 		mxUtils.setOpacity(zoomActualBtn, 60);
 
 		var deleteBtn = mxUtils.button('', removeCPoints);
 		deleteBtn.className = 'geSprite geSprite-delete';
 		deleteBtn.setAttribute('title', mxResources.get('delete'));
+		deleteBtn.style.position = 'relative';
 		deleteBtn.style.outline = 'none';
 		deleteBtn.style.border = 'none';
 		deleteBtn.style.margin = '2px';
@@ -12882,24 +12909,19 @@ var ConnectionPointsDialog = function(editorUi, cell)
 
 		div.appendChild(zoomBtns);
 
-		//Auto add point to a side
-		var autoAddDiv = document.createElement('div');
-		autoAddDiv.style.marginTop = '8px';
-		var addSpan = document.createElement('span');
-		mxUtils.write(addSpan, mxResources.get('add'));
-		autoAddDiv.appendChild(addSpan);
 		var pCount = document.createElement('input');
 		pCount.setAttribute('type', 'number');
 		pCount.setAttribute('min', '1');
 		pCount.setAttribute('value', '1');
 		pCount.style.width = '45px';
+		pCount.style.position = 'relative';
+		pCount.style.top = (mxClient.IS_FF) ? '0px' : '-4px';
 		pCount.style.margin = '0 4px 0 4px';
-		autoAddDiv.appendChild(pCount);
-		var pointsSpan = document.createElement('span');
-		mxUtils.write(pointsSpan, mxResources.get('points') + '->');
-		autoAddDiv.appendChild(pointsSpan);
+		zoomBtns.appendChild(pCount);
+
 		var sideSelect = document.createElement('select');
-		sideSelect.style.margin = '0 4px 0 4px';
+		sideSelect.style.position = 'relative';
+		sideSelect.style.top = (mxClient.IS_FF) ? '0px' : '-4px';
 		var sides = ['left', 'right', 'top', 'bottom'];
 
 		for (var i = 0; i < sides.length; i++)
@@ -12911,7 +12933,7 @@ var ConnectionPointsDialog = function(editorUi, cell)
 			sideSelect.appendChild(option);
 		}
 
-		autoAddDiv.appendChild(sideSelect);
+		zoomBtns.appendChild(sideSelect);
 
 		var addBtn = mxUtils.button(mxResources.get('add'), function()
 		{
@@ -12920,6 +12942,7 @@ var ConnectionPointsDialog = function(editorUi, cell)
 			pCount.value = count;
 			var side = sideSelect.value;
 			var geo = mainCell.geometry;
+			var cells = [];
 
 			for (var i = 0; i < count; i++)
 			{
@@ -12945,19 +12968,24 @@ var ConnectionPointsDialog = function(editorUi, cell)
 						break;
 				}
 
-				createCPoint(x - CP_HLF_SIZE, y - CP_HLF_SIZE);
+				cells.push(createCPoint(x - CP_HLF_SIZE, y - CP_HLF_SIZE));
 			}
+
+			editingGraph.setSelectionCells(cells);
 		});
-		
-		autoAddDiv.appendChild(addBtn);
-		div.appendChild(autoAddDiv);
+
+		addBtn.style.position = 'relative';
+		addBtn.style.marginLeft = '8px';
+		addBtn.style.top = (mxClient.IS_FF) ? '0px' : '-4px';
+		zoomBtns.appendChild(addBtn);
 		
 		//Point properties
 		var pointPropsDiv = document.createElement('div');
-		pointPropsDiv.style.marginTop = '8px';
-		pointPropsDiv.style.display = 'none';
+		pointPropsDiv.style.margin = '4px 0px 8px 0px';
+		pointPropsDiv.style.whiteSpace = 'nowrap';
+		pointPropsDiv.style.height = '24px';
 		var xSpan = document.createElement('span');
-		mxUtils.write(xSpan, 'x');
+		mxUtils.write(xSpan, mxResources.get('dx'));
 		pointPropsDiv.appendChild(xSpan);
 		var xInput = document.createElement('input');
 		xInput.setAttribute('type', 'number');
@@ -12966,11 +12994,18 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		xInput.style.width = '45px';
 		xInput.style.margin = '0 4px 0 4px';
 		pointPropsDiv.appendChild(xInput);
-		var perSpan = document.createElement('span');
-		mxUtils.write(perSpan, '%, ');
-		pointPropsDiv.appendChild(perSpan);
+		mxUtils.write(pointPropsDiv, '%');
+
+		var dxInput = document.createElement('input');
+		dxInput.setAttribute('type', 'number');
+		dxInput.style.width = '45px';
+		dxInput.style.margin = '0 4px 0 4px';
+		pointPropsDiv.appendChild(dxInput);
+		mxUtils.write(pointPropsDiv, 'pt');
+
 		var ySpan = document.createElement('span');
-		mxUtils.write(ySpan, 'y');
+		mxUtils.write(ySpan, mxResources.get('dy'));
+		ySpan.style.marginLeft = '12px';
 		pointPropsDiv.appendChild(ySpan);
 		var yInput = document.createElement('input');
 		yInput.setAttribute('type', 'number');
@@ -12979,25 +13014,14 @@ var ConnectionPointsDialog = function(editorUi, cell)
 		yInput.style.width = '45px';
 		yInput.style.margin = '0 4px 0 4px';
 		pointPropsDiv.appendChild(yInput);
-		perSpan = document.createElement('span');
-		mxUtils.write(perSpan, '% - ');
-		pointPropsDiv.appendChild(perSpan);
-		var dxSpan = document.createElement('span');
-		mxUtils.write(dxSpan, 'dx');
-		pointPropsDiv.appendChild(dxSpan);
-		var dxInput = document.createElement('input');
-		dxInput.setAttribute('type', 'number');
-		dxInput.style.width = '45px';
-		dxInput.style.margin = '0 4px 0 4px';
-		pointPropsDiv.appendChild(dxInput);
-		var dySpan = document.createElement('span');
-		mxUtils.write(dySpan, 'dy');
-		pointPropsDiv.appendChild(dySpan);
+		mxUtils.write(pointPropsDiv, '%');
+
 		var dyInput = document.createElement('input');
 		dyInput.setAttribute('type', 'number');
 		dyInput.style.width = '45px';
 		dyInput.style.margin = '0 4px 0 4px';
 		pointPropsDiv.appendChild(dyInput);
+		mxUtils.write(pointPropsDiv, 'pt');
 		div.appendChild(pointPropsDiv);
 
 		function applyPointProp()
@@ -13070,16 +13094,16 @@ var ConnectionPointsDialog = function(editorUi, cell)
 				yInput.value = constraint.y * 100;
 				dxInput.value = constraint.dx;
 				dyInput.value = constraint.dy;
-				pointPropsDiv.style.display = '';
-				autoAddDiv.style.display = 'none';
+				pointPropsDiv.style.visibility = '';
 			}
 			else
 			{
-				pointPropsDiv.style.display = 'none';
-				autoAddDiv.style.display = '';
+				pointPropsDiv.style.visibility = 'hidden';
 			}
 		};
 
+		fillCPointProp();
+
 		editingGraph.getSelectionModel().addListener(mxEvent.CHANGE, function()
 		{
 			if (editingGraph.getSelectionCount() > 0)

+ 142 - 91
src/main/webapp/js/diagramly/EditorUi.js

@@ -3524,26 +3524,34 @@
 										doImport(xml, 'text/xml');
 									}, null, img);
 								}
-								else if (!this.isOffline() && new XMLHttpRequest().upload && this.isRemoteFileFormat(data, img) && file != null)
+								else if (new XMLHttpRequest().upload && this.isRemoteFileFormat(data, img) && file != null)
 								{
-									this.parseFile(file, mxUtils.bind(this, function(xhr)
+									if (this.isOffline())
 									{
-										if (xhr.readyState == 4)
+										this.spinner.stop();
+										this.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+									}
+									else
+									{
+										this.parseFile(file, mxUtils.bind(this, function(xhr)
 										{
-											this.spinner.stop();
-											
-											if (xhr.status >= 200 && xhr.status <= 299)
-											{
-												doImport(xhr.responseText, 'text/xml');
-											}
-											else
+											if (xhr.readyState == 4)
 											{
-												this.handleError({message: mxResources.get((xhr.status == 413) ?
-				            						'drawingTooLarge' : 'invalidOrMissingFile')},
-				            						mxResources.get('errorLoadingFile'));
+												this.spinner.stop();
+												
+												if (xhr.status >= 200 && xhr.status <= 299)
+												{
+													doImport(xhr.responseText, 'text/xml');
+												}
+												else
+												{
+													this.handleError({message: mxResources.get((xhr.status == 413) ?
+														'drawingTooLarge' : 'invalidOrMissingFile')},
+														mxResources.get('errorLoadingFile'));
+												}
 											}
-										}
-									}));
+										}));
+									}
 								}
 								else
 								{
@@ -7932,18 +7940,25 @@
 		// Handles special case for Gliffy data which requires async server-side for parsing
 		if (text != null)
 		{
-			if (Graph.fileSupport && !this.isOffline() && new XMLHttpRequest().upload && this.isRemoteFileFormat(text))
+			if (Graph.fileSupport && new XMLHttpRequest().upload && this.isRemoteFileFormat(text))
 			{
-				// Fixes possible parsing problems with ASCII 160 (non-breaking space)
-				this.parseFileData(text.replace(/\s+/g,' '), mxUtils.bind(this, function(xhr)
+				if (this.isOffline())
+				{
+					this.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+				}
+				else
 				{
-					if (xhr.readyState == 4 && xhr.status >= 200 && xhr.status <= 299)
+					// Fixes possible parsing problems with ASCII 160 (non-breaking space)
+					this.parseFileData(text.replace(/\s+/g,' '), mxUtils.bind(this, function(xhr)
 					{
-						this.editor.graph.setSelectionCells(this.insertTextAt(
-							xhr.responseText, dx, dy, true));
-					}
-				}));
-				
+						if (xhr.readyState == 4 && xhr.status >= 200 && xhr.status <= 299)
+						{
+							this.editor.graph.setSelectionCells(this.insertTextAt(
+								xhr.responseText, dx, dy, true));
+						}
+					}));
+				}
+
 				// Returns empty cells array as it is aysynchronous
 				return [];
 			}
@@ -8359,22 +8374,29 @@
 		            	{
 		                	gliffyLatestVer.zipEntry.async("string").then(function(data)
 		                	{
-		                		if (!ui.isOffline() && new XMLHttpRequest().upload && ui.isRemoteFileFormat(data, file.name))
+		                		if (new XMLHttpRequest().upload && ui.isRemoteFileFormat(data, file.name))
 		                		{
-		                			ui.parseFileData(data, mxUtils.bind(this, function(xhr)
-		                			{
-		                				if (xhr.readyState == 4)
-		                				{
-		                					if (xhr.status >= 200 && xhr.status <= 299)
-		                					{
-		                						success(xhr.responseText);
-		                					}
-		                					else
-		                					{
-		                						onerror();
-		                					}
-		                				}
-		                			}), file.name);
+									if (ui.isOffline())
+									{
+										ui.showError(mxResources.get('error'), mxResources.get('notInOffline'), null, onerror);
+									}
+									else
+									{
+										ui.parseFileData(data, mxUtils.bind(this, function(xhr)
+										{
+											if (xhr.readyState == 4)
+											{
+												if (xhr.status >= 200 && xhr.status <= 299)
+												{
+													success(xhr.responseText);
+												}
+												else
+												{
+													onerror();
+												}
+											}
+										}), file.name);
+									}
 		                		}
 		                		else
 		            			{
@@ -8490,34 +8512,41 @@
 
 			this.importVisio(file, handleResult);
 		}
-		else if (!this.isOffline() && new XMLHttpRequest().upload && this.isRemoteFileFormat(data, filename))
+		else if (new XMLHttpRequest().upload && this.isRemoteFileFormat(data, filename))
 		{
-			//  LATER: done and async are a hack before making this asynchronous
-			async = true;
-
-			// Returns empty cells array as it is aysynchronous
-			var parseCallback = mxUtils.bind(this, function(xhr)
+			if (this.isOffline())
 			{
-				if (xhr.readyState == 4)
+				this.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+			}
+			else
+			{
+				//  LATER: done and async are a hack before making this asynchronous
+				async = true;
+
+				// Returns empty cells array as it is aysynchronous
+				var parseCallback = mxUtils.bind(this, function(xhr)
 				{
-					if (xhr.status >= 200 && xhr.status <= 299)
-					{
-						handleResult(xhr.responseText);
-					}
-					else if (done != null)
+					if (xhr.readyState == 4)
 					{
-						done(null);
+						if (xhr.status >= 200 && xhr.status <= 299)
+						{
+							handleResult(xhr.responseText);
+						}
+						else if (done != null)
+						{
+							done(null);
+						}
 					}
-				}
-			});
+				});
 
-			if (data != null)
-			{
-				this.parseFileData(data, parseCallback, filename);
-			}
-			else
-			{
-				this.parseFile(file, parseCallback, filename);
+				if (data != null)
+				{
+					this.parseFileData(data, parseCallback, filename);
+				}
+				else
+				{
+					this.parseFile(file, parseCallback, filename);
+				}
 			}
 		}
 		else if (data.indexOf('PK') == 0 && file != null)
@@ -11201,15 +11230,22 @@
 												this.openLocalFile(xml, null, true);
 											}
 										}
-										else if (!this.isOffline() && this.isRemoteFileFormat(data))
+										else if (this.isRemoteFileFormat(data))
 										{
-								    		new mxXmlRequest(OPEN_URL, 'format=xml&data=' + encodeURIComponent(data)).send(mxUtils.bind(this, function(req)
+											if (this.isOffline())
 											{
-								    			if (req.getStatus() >= 200 && req.getStatus() <= 299)
-								    			{
-								    				this.openLocalFile(req.getText(), null, true);
-								    			}
-											}));
+												this.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+											}
+											else
+											{
+												new mxXmlRequest(OPEN_URL, 'format=xml&data=' + encodeURIComponent(data)).send(mxUtils.bind(this, function(req)
+												{
+													if (req.getStatus() >= 200 && req.getStatus() <= 299)
+													{
+														this.openLocalFile(req.getText(), null, true);
+													}
+												}));
+											}
 										}
 										else if (/^https?:\/\//.test(data))
 										{
@@ -11383,27 +11419,35 @@
 					handleResult(xml);
 				}));
 			}
-			else if (Graph.fileSupport && !this.isOffline() && new XMLHttpRequest().upload &&
+			else if (Graph.fileSupport && !new XMLHttpRequest().upload &&
 				this.isRemoteFileFormat(data, name))
 			{
-				this.parseFile(file, mxUtils.bind(this, function(xhr)
+				if (this.isOffline())
 				{
-					if (xhr.readyState == 4)
+					this.spinner.stop();
+					this.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+				}
+				else
+				{
+					this.parseFile(file, mxUtils.bind(this, function(xhr)
 					{
-						this.spinner.stop();
-						
-						if (xhr.status >= 200 && xhr.status <= 299)
-						{
-							handleResult(xhr.responseText);
-						}
-						else
+						if (xhr.readyState == 4)
 						{
-							this.handleError({message: mxResources.get((xhr.status == 413) ?
-        						'drawingTooLarge' : 'invalidOrMissingFile')},
-        						mxResources.get('errorLoadingFile'));
+							this.spinner.stop();
+							
+							if (xhr.status >= 200 && xhr.status <= 299)
+							{
+								handleResult(xhr.responseText);
+							}
+							else
+							{
+								this.handleError({message: mxResources.get((xhr.status == 413) ?
+									'drawingTooLarge' : 'invalidOrMissingFile')},
+									mxResources.get('errorLoadingFile'));
+							}
 						}
-					}
-				}));
+					}));
+				}
 			}
 			else if (this.isLucidChartData(data))
 			{
@@ -12843,17 +12887,24 @@
 					this.handleError(e);
 				}), filename);
 			}
-			else if (data != null && typeof data.substring === 'function' && !this.isOffline() && new XMLHttpRequest().upload && this.isRemoteFileFormat(data, ''))
+			else if (data != null && typeof data.substring === 'function' && new XMLHttpRequest().upload && this.isRemoteFileFormat(data, ''))
 			{
-				// Asynchronous parsing via server
-				this.parseFileData(data, mxUtils.bind(this, function(xhr)
+				if (this.isOffline())
 				{
-					if (xhr.readyState == 4 && xhr.status >= 200 && xhr.status <= 299 &&
-						xhr.responseText.substring(0, 13) == '<mxGraphModel')
+					this.showError(mxResources.get('error'), mxResources.get('notInOffline'));
+				}
+				else
+				{
+					// Asynchronous parsing via server
+					this.parseFileData(data, mxUtils.bind(this, function(xhr)
 					{
-						doLoad(xhr.responseText, evt);
-					}
-				}), '');
+						if (xhr.readyState == 4 && xhr.status >= 200 && xhr.status <= 299 &&
+							xhr.responseText.substring(0, 13) == '<mxGraphModel')
+						{
+							doLoad(xhr.responseText, evt);
+						}
+					}), '');
+				}
 			}
 			else if (data != null && typeof data.substring === 'function' && this.isLucidChartData(data))
 			{

+ 38 - 16
src/main/webapp/js/diagramly/ElectronApp.js

@@ -37,6 +37,17 @@ mxStencilRegistry.allowEval = false;
 	// Overrides default mode
 	App.mode = App.MODE_DEVICE;
 	
+	// Disables all online functionality
+	App.prototype.isOfflineApp = function()
+	{
+		return true;
+	};
+	
+	App.prototype.isOffline = function()
+	{
+		return true;
+	};
+	
 	// Disables preview option in embed dialog
 	EmbedDialog.showPreviewOption = false;
 
@@ -341,21 +352,10 @@ mxStencilRegistry.allowEval = false;
 										graph.setSelectionCells(editorUi.importXml(xml));
 									});
 								}
-								else if (!editorUi.isOffline() && new XMLHttpRequest().upload && editorUi.isRemoteFileFormat(data, path))
+								else if (editorUi.isRemoteFileFormat(data, path))
 								{
-									// Asynchronous parsing via server
-									editorUi.parseFileData(data, mxUtils.bind(this, function(xhr)
-									{
-										if (xhr.readyState == 4)
-										{
-											editorUi.spinner.stop();
-											
-											if (xhr.status >= 200 && xhr.status <= 299)
-											{
-												graph.setSelectionCells(editorUi.importXml(xhr.responseText));
-											}
-										}
-									}), path);
+									editorUi.spinner.stop();
+									editorUi.showError(mxResources.get('error'), mxResources.get('notInDesktop'));
 								}
 								else
 								{
@@ -724,6 +724,9 @@ mxStencilRegistry.allowEval = false;
 
 		//We do some async stuff during app loading so we need to know exactly when loading is finished (it is not when onload is finished)
 		electron.sendMessage('app-load-finished', null);
+
+		//Change offline translation
+		mxResources.parse('notInOffline=' + mxResources.get('notInDesktop'));
 	}
 	
 	App.prototype.loadArgs = function(argsObj)
@@ -1276,12 +1279,23 @@ mxStencilRegistry.allowEval = false;
 	
 	// Restores default implementation of open with autosave
 	LocalFile.prototype.open = DrawioFile.prototype.open;
-	
+	var autoSaveEnabled = false;
+
 	LocalFile.prototype.save = function(revision, success, error, unloading, overwrite)
 	{
 		DrawioFile.prototype.save.apply(this, [revision, mxUtils.bind(this, function()
 		{
-			this.saveFile(revision, success, error, unloading, overwrite);
+			this.saveFile(revision, mxUtils.bind(this, function() 
+			{
+				//Only for first save after auto save is enabled (excluding the save as [overwrite]) 
+				if (autoSaveEnabled && !overwrite && EditorUi.enableDrafts)
+				{
+					this.removeDraft();
+				}
+
+				autoSaveEnabled = false;
+				success.apply(this, arguments);
+			}), error, unloading, overwrite);
 		}), error, unloading, overwrite]);
 	};
 
@@ -2030,6 +2044,14 @@ mxStencilRegistry.allowEval = false;
 		});
 	};
 		
+	var origSetAutosave = Editor.prototype.setAutosave;
+
+	Editor.prototype.setAutosave = function(value)
+	{
+		autoSaveEnabled = value;
+		return origSetAutosave.apply(this, arguments);
+	}
+
 	//Export Dialog Pdf case
 	var origExportFile = ExportDialog.exportFile;
 	

+ 6 - 0
src/main/webapp/js/diagramly/Minimal.js

@@ -2649,6 +2649,12 @@ EditorUi.initMinimalTheme = function()
 				picker.style.cssText = 'position:absolute;left:10px;z-index:1;border-radius:4px;' +
 					'box-shadow:0px 0px 3px 1px #d1d1d1;padding:8px 6px 4px 6px;white-space:nowrap;' +
 					'transform:translate(0, -50%);top:50%;user-select:none;';
+
+				if (mxClient.IS_POINTER)
+				{
+					picker.style.touchAction = 'none';
+				}
+
 				wrapper.appendChild(picker);
 				
 				window.setTimeout(function()

+ 1 - 1
src/main/webapp/js/grapheditor/Actions.js

@@ -1859,7 +1859,7 @@ Actions.prototype.init = function()
 		if (graph.isEnabled() && !graph.isCellLocked(graph.getDefaultParent()) && cell != null)
 		{
 			var dlg = new ConnectionPointsDialog(ui, cell);
-	    	ui.showDialog(dlg.container, 350, 450, true, true, function() 
+	    	ui.showDialog(dlg.container, 350, 450, true, false, function() 
 			{
 				dlg.destroy();
 			});

+ 7 - 2
src/main/webapp/js/grapheditor/EditorUi.js

@@ -3247,12 +3247,17 @@ EditorUi.prototype.initCanvas = function()
 
 						// Slower zoom for pinch gesture on trackpad with max delta to
 						// filter out mouse wheel events in Brave browser for Windows 
-						if (evt.deltaY != null && Math.abs(evt.deltaY) < 40 &&
+						if (evt.ctrlKey && evt.deltaY != null && Math.abs(evt.deltaY) < 40 &&
 							Math.round(evt.deltaY) != evt.deltaY)
 						{
 							factor = 1 + (Math.abs(evt.deltaY) / 20) * (factor - 1);
 						}
-
+						// Slower zoom for pinch gesture on touch screens
+						else if (evt.movementY != null && evt.type == 'pointermove')
+						{
+							factor = 1 + (Math.max(1, Math.abs(evt.movementY)) / 20) * (factor - 1);
+						}
+						
 						graph.lazyZoom(up, null, null, factor);
 						mxEvent.consume(evt);
 				

+ 3 - 1
src/main/webapp/resources/dia.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_am.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ar.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_bg.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Изберете Файл на устройството
 vsdNoConfig=vsdurl не е конфигуриран
 ruler=Владетел
 units=Единици
-points=Точки
+units=Точки
 inches=Инчове
 millimeters=Милиметри
 confEditDraftDelOrExt=Тази диаграма е в черновата страница, изтрита е от страницата или е редактирана външно. Тя ще бъде запазена като нова версия на прикачен файл и може да не бъде отразена в страницата.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_bn.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_bs.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ca.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Seleccioneu el fitxer del dispositiu
 vsdNoConfig=No s'ha configurat "vsdurl"
 ruler=Regle
 units=Unitats
-points=Punts
+units=Punts
 inches=Polzades
 millimeters=Mil·límetres
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_cs.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Vybrat soubor ze zařízení
 vsdNoConfig=„vsdurl“ není nastaveno
 ruler=Pravítko
 units=Jednotky
-points=Body
+units=Body
 inches=Palce
 millimeters=Milimetry
 confEditDraftDelOrExt=Tento diagram je stránka konceptu, je vymazán ze stránky nebo je upraven externě. Bude uložen v příloze jako nová verze a nemusí se projevit na stránce.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_da.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 18 - 16
src/main/webapp/resources/dia_de.txt

@@ -987,8 +987,8 @@ pickDeviceFile=Gerätedatei auswählen
 vsdNoConfig="vsdurl" nicht konfiguriert
 ruler=Lineal
 units=Einheiten
-points=Punkt
-inches=Inch
+units=Punkte
+inches=Punkte
 millimeters=Millimeter
 confEditDraftDelOrExt=Dieses Diagramm befindet sich in einem Seitenentwurf, wurde von der Seite gelöscht oder extern bearbeitet. Es wird eine neue Version des Anhangs gespeichert und möglicherweise nicht in der Seite angezeigt.
 confDiagEditedExt=Diagramm wurde in einer anderen Sitzung bearbeitet. Es wird eine neue Version des Anhangs gespeichert, aber auf der Seite werden die Änderungen der anderen Sitzung angezeigt.
@@ -1119,8 +1119,8 @@ plsSelectSingleFile=Bitte wählen Sie nur eine Datei aus
 attCorrupt=Anhang "{1}" ist fehlerhaft
 loadAttFailed=Anhang "{1}" konnte nicht geladen werden
 embedDrawDiag=draw.io Diagramm einbetten
-addDiagram=Add Diagram
-embedDiagram=Embed Diagram
+addDiagram=Diagramm einfügen
+embedDiagram=Diagramm einbetten
 editOwningPg=Original-Seite öffnen
 deepIndexing=Vertiefte Indexierung (indexiert auch Diagramme, die in keinen Seiten verwendet werden)
 confADeepIndexStarted=Vertiefte Indexierung gestartet
@@ -1162,21 +1162,23 @@ noDBs=No Databases
 diagramEdited={1} diagram "{2}" edited
 confDraftPermissionErr=Draft cannot be written. Do you have attachment write/read permission on this page?
 confDraftTooBigErr=Draft size is too large. Pease check "Attachment Maximum Size" of "Attachment Settings" in Confluence Configuration?
-owner=Owner
+owner=Besitzer
 repository=Repository
 branch=Branch
 meters=Meter
-teamsNoEditingMsg=Editor functionality is only available in Desktop environment (in MS Teams App or a web browser)
-contactOwner=Contact Owner
-viewerOnlyMsg=You cannot edit the diagrams in the mobile platform, please use the desktop client or a web browser.
+teamsNoEditingMsg=Bearbeiten nur in Desktopumgebung möglich (in der MS Teams App oder einem Browser)
+contactOwner=Besitzer kontaktieren
+viewerOnlyMsg=Diagramme können auf Mobilgeräten nicht bearbeitet werden, bitte nutzen Sie die Desktopumgebung oder einen Browser.
 website=Website
-check4Updates=Check for updates
+check4Updates=Auf Änderungen prüfen
 attWriteFailedRetry={1}: Attachment write failed, trying again in {2} seconds...
 confPartialPageList=We couldn't fetch all pages due to an error in Confluence. Continuing using {1} pages only.
-spellCheck=Spell checker
-noChange=No Change
-lblToSvg=Convert labels to SVG
-txtSettings=Text Settings
-LinksLost=Links will be lost
-arcSize=Arc Size
-editConnectionPoints=Edit Connection Points
+spellCheck=Rechtschreibeprüfung
+noChange=Keine Änderung
+lblToSvg=Beschriftungen zu SVG konvertieren
+txtSettings=Texteinstellungen
+LinksLost=Verknüpfungen gehen verloren
+arcSize=Bogengrösse
+editConnectionPoints=Verbindungspunkte bearbeiten
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_el.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Χάρακας
 units=Μονάδες
-points=Σημεία
+units=Σημεία
 inches=Ίντσες
 millimeters=Χιλιοστά
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_eo.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_es.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Elegir archivo de dispositivo
 vsdNoConfig="vsdurl" no está configurado
 ruler=Regla
 units=Unidades
-points=Puntos
+units=Puntos
 inches=Pulgadas
 millimeters=Milimetros
 confEditDraftDelOrExt=Este diagrama esta en una página de borrados, está eliminado de la página o esta editado externamente. Se guardará como un nueva nueva versión adjunta y es posible que no se refleje en la página.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_et.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Vali fail seadmelt
 vsdNoConfig="vsdurl" is not configured
 ruler=Joonlaud
 units=Ühikud
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_eu.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Hautatu gailuko fitxategia
 vsdNoConfig="vsdurl" ez dago konfiguratuta
 ruler=Erregela
 units=Unitateak
-points=Puntuak
+units=Puntuak
 inches=Hazbeteak
 millimeters=Milimetroak
 confEditDraftDelOrExt=Diagram hau zirriborro bat da, orritik ezabatu da edo kanpotik editatu da. Eranskin berri moduan gordeko da eta baliteke orrian ez agertzea.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_fa.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_fi.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Valitse laitetiedosto
 vsdNoConfig="vsdurl" ei ole määritetty
 ruler=Viivain
 units=Yksiköt
-points=Pisteet
+units=Pisteet
 inches=Tuumat
 millimeters=Millimetrit
 confEditDraftDelOrExt=Tämä kaavio on luonnossivulla, se on poistettu sivulta tai sitä on muokattu ulkoisesti. Se tallennetaan uutena liiteversiona, eikä se välttämättä näy sivulla.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_fil.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_fr.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Unités
-points=Points
+units=Points
 inches=Pouces
 millimeters=Millimètres
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_gl.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_gu.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_he.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_hi.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_hr.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_hu.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_i18n.txt

@@ -987,7 +987,7 @@ pickDeviceFile=pickDeviceFile
 vsdNoConfig=vsdNoConfig
 ruler=ruler
 units=units
-points=points
+units=units
 inches=inches
 millimeters=millimeters
 confEditDraftDelOrExt=confEditDraftDelOrExt
@@ -1180,3 +1180,5 @@ txtSettings=txtSettings
 LinksLost=LinksLost
 arcSize=arcSize
 editConnectionPoints=editConnectionPoints
+notInOffline=notInOffline
+notInDesktop=notInDesktop

+ 3 - 1
src/main/webapp/resources/dia_id.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_it.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Scegli di file da dispositivo
 vsdNoConfig="vsdurl" non è configurato
 ruler=Righello
 units=Unità
-points=Punti
+units=Punti
 inches=Pollici
 millimeters=Millimetri
 confEditDraftDelOrExt=Questo diagramma si trova in una pagina di bozza, viene eliminato dalla pagina o viene modificato esternamente. Sarà salvato come una nuova versione dell'allegato e potrebbe non essere riportato nella pagina.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ja.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_kn.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ko.txt

@@ -987,7 +987,7 @@ pickDeviceFile=디바이스 파일 선택
 vsdNoConfig="vsdurl" 이 설정되지 않았습니다.
 ruler=눈금자
 units=단위
-points=포인트
+units=포인트
 inches=인치
 millimeters=밀리미터
 confEditDraftDelOrExt=이 다이어그램은 임시 저장 페이지에 있거나, 페이지에서 삭제되거나, 외부에서 편집되었습니다. 새 첨부 버전으로 저장되며 페이지에 반영되지 않을 수 있습니다.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_lt.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_lv.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ml.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_mr.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ms.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_my.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_nl.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Kies bestand op apparaat
 vsdNoConfig="vsdurl" is niet geconfigureerd
 ruler=Lineaal
 units=Eenheden
-points=Punt
+units=Punt
 inches=Inch
 millimeters=Millimeter
 confEditDraftDelOrExt=Dit diagram staat op een conceptpagina, wordt van de pagina verwijderd of wordt extern bewerkt. Het wordt opgeslagen als een nieuwe bijlageversie en wordt mogelijk niet weergegeven op de pagina.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_no.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_pl.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Linijka
 units=Jednostki
-points=Punkty
+units=Punkty
 inches=Cale
 millimeters=Milimetry
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Ustawienia tekstu
 LinksLost=Linki zostaną utracone
 arcSize=Rozmiar łuku
 editConnectionPoints=Edycja punktów połączeń
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_pt-br.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Escolher um arquivo no aparelho
 vsdNoConfig="vsdurl" is not configured
 ruler=Régua
 units=Unidades
-points=Pontos
+units=Pontos
 inches=Polegadas
 millimeters=Milímetros
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Configurações de texto
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Editar pontos de conexão
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_pt.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ro.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ru.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Выбрать файл на устройстве
 vsdNoConfig="vsdurl" не настроена
 ruler=Линейка
 units=Единицы измерения
-points=Пункты (pt)
+units=Пункты (pt)
 inches=Дюймы (inch)
 millimeters=Миллиметры (мм)
 confEditDraftDelOrExt=Эта диаграмма находится на странице черновика, удаляется со страницы или отредактирована снаружи. Она будет сохранена как новая версия вложения и не может быть отображена на странице.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_si.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_sk.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_sl.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_sr.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_sv.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_sw.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_ta.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_te.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_th.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_tr.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Cetvel
 units=Birimler
-points=Punto
+units=Punto
 inches=İnç
 millimeters=Milimetre
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_uk.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_vi.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_zh-tw.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=Ruler
 units=Units
-points=Points
+units=Points
 inches=Inches
 millimeters=Millimeters
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 3 - 1
src/main/webapp/resources/dia_zh.txt

@@ -987,7 +987,7 @@ pickDeviceFile=Pick Device File
 vsdNoConfig="vsdurl" is not configured
 ruler=标尺
 units=单位
-points=点
+units=点
 inches=英寸
 millimeters=毫米
 confEditDraftDelOrExt=This diagram is in a draft page, is deleted from the page, or is edited externally. It will be saved as a new attachment version and may not be reflected in the page.
@@ -1180,3 +1180,5 @@ txtSettings=Text Settings
 LinksLost=Links will be lost
 arcSize=Arc Size
 editConnectionPoints=Edit Connection Points
+notInOffline=Not supported while offline
+notInDesktop=Not supported in Desktop App

+ 8 - 7
src/main/webapp/teams.html

@@ -43,7 +43,7 @@
 			
 			for (var i = 0; i < params.length; i++)
 			{
-				var idx = params[i].indexOf('=');
+				idx = params[i].indexOf('=');
 				
 				if (idx > 0)
 				{
@@ -262,8 +262,6 @@
 				mxForceIncludes = true;
 			}
 
-			mxForceIncludes = false;
-
 			mxscript(drawDevUrl + 'js/PreConfig.js');
 			mxscript(drawDevUrl + 'js/diagramly/Init.js');
 			mxscript(geBasePath + '/Init.js');
@@ -292,6 +290,7 @@
 				// Supported domains are *.draw.io and the packaged version in Quip
 				var supportedDomain = (hostName.substring(hostName.length - 8, hostName.length) === '.draw.io') ||
 					(hostName.substring(hostName.length - 13, hostName.length) === '.diagrams.net');
+					(hostName.substring(hostName.length - 17, hostName.length) === '.quipelements.com');
 				
 				function loadAppJS()
 				{
@@ -300,6 +299,11 @@
 						mxScriptsLoaded = true;
 						checkAllLoaded();
 						
+						if (!supportedDomain)
+						{
+							mxscript('js/PostConfig.js');
+						}
+						
 						// Electron
 						if (mxIsElectron)
 						{
@@ -320,10 +324,6 @@
 								});
 							});
 						}
-						else if (!supportedDomain)
-						{
-							mxscript('js/PostConfig.js');
-						}
 					});
 				};
 				
@@ -354,6 +354,7 @@
 	<link rel="icon" type="image/png" sizes="32x32" href="images/favicon-32x32.png">
 	<link rel="icon" type="image/png" sizes="16x16" href="images/favicon-16x16.png">
 	<link rel="mask-icon" href="images/safari-pinned-tab.svg" color="#d89000">
+	<link rel="stylesheet" type="text/css" href="js/croppie/croppie.min.css">
     <link rel="stylesheet" type="text/css" href="styles/grapheditor.css">
     <link rel="preconnect" href="https://storage.googleapis.com">
     <link rel="canonical" href="https://app.diagrams.net">