loleaflet/js/global.js |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 29626c36a337b33276343f613f69fb4527cb757d
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Wed Mar 6 16:55:13 2019 +0200
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Wed Mar 6 17:00:01 2019 +0200

    I was misinformed: The _ function *is* needed also in normal Online
    
    Not all calls to the _ function are magically replaced by the
    FileServer, but only those that pass an explicit string literal.
    
    Change-Id: I9917c569f0471551ade9e46ee9f87b4f326f581e

diff --git a/loleaflet/js/global.js b/loleaflet/js/global.js
index 3057361af..709935b33 100644
--- a/loleaflet/js/global.js
+++ b/loleaflet/js/global.js
@@ -76,6 +76,10 @@
                global._ = function (string) {
                        return string;
                }
+       } else {
+               global._ = function (string) {
+                       return string.toLocaleString();
+               }
        }
 
        var docParams, wopiParams;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to