mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
da35e73346
Until now client-side translations were only possible in the context of the intro/history page, because the locale-detection logic relied on the language selector as a source of available languages. The editor of course has no such selector. With this commit, I copied the list of available languages from the i18n-initialization (server-side) to support language detection in the editor too. Signed-off-by: Erik Michelson <github@erik.michelson.eu> |
||
---|---|---|
.. | ||
lib | ||
cover.js | ||
extra.js | ||
history.js | ||
htmlExport.js | ||
index.js | ||
locale.js | ||
mathjax-config-extra.js | ||
pretty.js | ||
render.js | ||
reveal-markdown.js | ||
slide.js | ||
utils.js |