diff options
Diffstat (limited to 'src/static/js/pad.js')
-rw-r--r-- | src/static/js/pad.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 52d61648..b665c2fb 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -111,6 +111,7 @@ function getParams() var IsnoColors = params["noColors"]; var rtl = params["rtl"]; var alwaysShowChat = params["alwaysShowChat"]; + var lang = params["lang"]; if(IsnoColors) { @@ -173,6 +174,13 @@ function getParams() chat.stickToScreen(); } } + if(lang) + { + if(lang !== "") + { + document.webL10n.setLanguage(lang); + } + } } function getUrlVars() @@ -451,6 +459,7 @@ var pad = { { pad.collabClient.sendClientMessage(msg); }, + createCookie: createCookie, init: function() { |