mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
Add kick-off code for client-side l10n
This commit is contained in:
parent
edacb3e2ca
commit
25be9b8c93
2 changed files with 21 additions and 0 deletions
|
@ -804,6 +804,14 @@ window.html10n = (function(window, document, undefined) {
|
|||
cb(null, build)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the language that was last applied to the translations hash
|
||||
* thus overriding most of the formerly applied langs
|
||||
*/
|
||||
html10n.getLanguage = function() {
|
||||
this.language
|
||||
}
|
||||
|
||||
/**
|
||||
* Index all <link>s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue