loleaflet/src/core/Socket.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 259db2527721caa4df8d6084e902136493e4e7dc
Author:     Andras Timar <andras.ti...@collabora.com>
AuthorDate: Mon Aug 20 11:29:08 2018 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Mon Aug 20 11:29:08 2018 +0200

    leaflet: enable l10n of IE11 connection limit message
    
    Change-Id: I4799c448fd7c843a5cae5eef2eac0bb096f1395f

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 27095b9ad..cc7f94257 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -39,12 +39,12 @@ L.Socket = L.Class.extend({
                        }
                        this.socket = new WebSocket(websocketURI);
                } catch (e) {
-                       // On IE 11 there is a limiation on the number of 
WebSockets open to a single domain (6 by default and can go to 128).
+                       // On IE 11 there is a limitation on the number of 
WebSockets open to a single domain (6 by default and can go to 128).
                        // Detect this and hint the user.
                        var msgHint = '';
                        var isIE11 = !!window.MSInputMethodContext && 
!!document.documentMode; // 
https://stackoverflow.com/questions/21825157/internet-explorer-11-detection
                        if (isIE11)
-                               msgHint = 'IE11 has reached its maximum number 
of connections. Please see this document to increase this limit if needed: 
https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330736(v=vs.85)#websocket-maximum-server-connections';
+                               msgHint = _('IE11 has reached its maximum 
number of connections. Please see this document to increase this limit if 
needed: 
https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330736(v=vs.85)#websocket-maximum-server-connections');
 
                        this._map.fire('error', {msg: _('Oops, there is a 
problem connecting to LibreOffice Online : ').replace('LibreOffice Online', 
(typeof brandProductName !== 'undefined' ? brandProductName : 'LibreOffice 
Online')) + e + msgHint, cmd: 'socket', kind: 'failed', id: 3});
                        return;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to