Merge pull request #5281 from overleaf/jpa-rework-language-picker

[web] rework the language picker UI in the footer

GitOrigin-RevId: fb9fe9a560a0f059f58c76d6a85f31ffabc14f4f
This commit is contained in:
Jakob Ackermann
2021-10-07 08:04:10 +00:00
committed by Copybot
parent 5d6a833216
commit 66ea2e613c
4 changed files with 79 additions and 16 deletions
+27 -7
View File
@@ -390,6 +390,30 @@ module.exports = {
{ code: 'xh', name: 'Xhosa' },
],
translatedLanguages: {
cn: '简体中文',
cs: 'Čeština',
da: 'Dansk',
de: 'Deutsch',
en: 'English',
es: 'Español',
fi: 'Suomi',
fr: 'Français',
it: 'Italiano',
ja: '日本語',
ko: '한국어',
nl: 'Nederlands',
no: 'Norsk',
pl: 'Polski',
pt: 'Português',
ro: 'Română',
ru: 'Русский',
sv: 'Svenska',
tr: 'Türkçe',
uk: 'Українська',
'zh-CN': '简体中文',
},
// Password Settings
// -----------
// These restrict the passwords users can use when registering
@@ -542,17 +566,13 @@ module.exports = {
nav: {
title: 'ShareLaTeX Community Edition',
left_footer: [
{
text:
"Powered by <a href='https://www.sharelatex.com'>ShareLaTeX</a> © 2016",
},
],
hide_powered_by: process.env.NAV_HIDE_POWERED_BY === 'true',
left_footer: [],
right_footer: [
{
text: "<i class='fa fa-github-square'></i> Fork on Github!",
url: 'https://github.com/sharelatex/sharelatex',
url: 'https://github.com/overleaf/overleaf',
},
],