summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorErik Michelson2021-04-26 00:18:08 +0200
committerDavid Mehren2021-04-26 21:45:31 +0200
commit0d943d128431f166045de53bd64575dac142d320 (patch)
treed82aa115813cf3d5be8725533219019953a696fd /public/views
parentcf87499e38cfdc29e95e0c871bd80971dfe8f98b (diff)
Extract list of supported languages in separate file
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Diffstat (limited to '')
-rw-r--r--public/views/index/body.ejs39
1 files changed, 1 insertions, 38 deletions
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs
index 54d2b32f..ca6204b1 100644
--- a/public/views/index/body.ejs
+++ b/public/views/index/body.ejs
@@ -127,44 +127,7 @@
<div class="mastfoot">
<div class="inner">
- <select class="ui-locale">
- <option value="en">English</option>
- <option value="zh-CN">简体中文</option>
- <option value="zh-TW">繁體中文</option>
- <option value="fr">Français</option>
- <option value="de">Deutsch</option>
- <option value="ja">日本語</option>
- <option value="es">Español</option>
- <option value="ca">Català</option>
- <option value="el">Ελληνικά</option>
- <option value="pt">Português</option>
- <option value="it">Italiano</option>
- <option value="tr">Türkçe</option>
- <option value="ru">Русский</option>
- <option value="nl">Nederlands</option>
- <option value="hr">Hrvatski</option>
- <option value="pl">Polski</option>
- <option value="uk">Українська</option>
- <option value="hi">हिन्दी</option>
- <option value="sv">Svenska</option>
- <option value="eo">Esperanto</option>
- <option value="da">Dansk</option>
- <option value="ko">한국어</option>
- <option value="id">Bahasa Indonesia</option>
- <option value="sr">Cрпски</option>
- <option value="vi">Tiếng Việt</option>
- <option value="ar">العربية</option>
- <option value="cs">Česky</option>
- <option value="sk">Slovensky</option>
- <option value="ml">മലയാളം</option>
- <option value="bg">български език</option>
- <option value="fa">فارسی</option>
- <option value="gl">Galego</option>
- <option value="he">עברית</option>
- <option value="hu">Magyar</option>
- <option value="oc">Occitan</option>
- <option value="pt-br">Português do Brasil</option>
- </select>
+ <select class="ui-locale"></select>
<p>
<%- __('Powered by %s', '<a href="https://hedgedoc.org">HedgeDoc</a>') %> | <a href="<%- serverURL %>/s/release-notes" target="_blank" rel="noopener"><%= __('Releases') %></a> | <a href="<%- sourceURL %>" target="_blank" rel="noopener"><%= __('Source Code') %></a><% if(imprint) { %> | <a href="<%- serverURL %>/s/imprint" target="_blank" rel="noopener"><%= __('Imprint') %></a><% } %><% if(privacyStatement) { %> | <a href="<%- serverURL %>/s/privacy" target="_blank" rel="noopener"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- serverURL %>/s/terms-of-use" target="_blank" rel="noopener"><%= __('Terms of Use') %></a><% } %>
</p>