mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-06-17 19:54:50 -04:00
Add support for three-letter lang codes
This commit is contained in:
parent
0c9178d392
commit
04b65a0b4e
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
(function(document) {
|
||||
// Set language for l10n
|
||||
var language = document.cookie.match(/language=(\w{2})/);
|
||||
var language = document.cookie.match(/language=(\w{2,3})(-w+)?/);
|
||||
if(language) language = language[1];
|
||||
|
||||
html10n.bind('indexed', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue