summaryrefslogtreecommitdiff
path: root/src/static/js/l10n.js
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2012-11-20 22:08:42 +0100
committerMarcel Klehr <mklehr@gmx.net>2012-11-20 22:08:42 +0100
commit8a23c2ff50bfec384883d8d90aae655d77b29690 (patch)
tree94300f455b020069126cbe94f36f048660eb0277 /src/static/js/l10n.js
parent4053ab2dfa6f1d0e1d57d2082a3475a1b5c3b4bb (diff)
downloadetherpad-lite-8a23c2ff50bfec384883d8d90aae655d77b29690.zip
Use ; as comments indicator in i18n files
Diffstat (limited to 'src/static/js/l10n.js')
-rw-r--r--src/static/js/l10n.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/l10n.js b/src/static/js/l10n.js
index e2584cc4..1d232908 100644
--- a/src/static/js/l10n.js
+++ b/src/static/js/l10n.js
@@ -131,7 +131,7 @@ document.webL10n = (function(window, document, undefined) {
// token expressions
var reBlank = /^\s*|\s*$/;
- var reComment = /^\s*#|^\s*$/;
+ var reComment = /^\s*;|^\s*$/;// Use ; for comments!
var reSection = /^\s*\[(.*)\]\s*$/;
var reImport = /^\s*@import\s+url\((.*)\)\s*$/i;
var reSplit = /^([^=\s]*)\s*=\s*(.+)$/; // TODO: escape EOLs with '\'