Commit a3d4a35a authored by lunasorcery's avatar lunasorcery
Browse files

make the language dropdown a permanent fixture

parent b97050df
......@@ -20,8 +20,7 @@ def crc32_file(filename):
return f"{buf:08x}"
# WIP language feature
enableLanguageDropdown = True
# fail the build if localization strings are missing
validateMissingLocalization = True
......@@ -170,7 +169,6 @@ sharedTemplate = {
'meteoriks-juror-application-open': meteorikJurorApplicationOpen,
'meteoriks-nominations-open': meteorikPublicNominationsOpen,
'enable-language-dropdown': enableLanguageDropdown,
'languages': languages,
'translators': ', '.join(sorted(set(translators), key=str.casefold)),
......
......@@ -14,9 +14,7 @@
<p>{{#i18n}}about.what-is-exe-dot-gfx-p1{{/i18n}}</p>
<p>{{#i18n}}about.what-is-exe-dot-gfx-p2{{/i18n}}</p>
<p>{{#i18n}}about.credit-curator{{/i18n}}</p>
{{#enable-language-dropdown}}
<p>{{#i18n}}about.credit-translators{{/i18n}}</p>
{{/enable-language-dropdown}}
</div>
</div>
</div>
......
......@@ -29,7 +29,6 @@
<link href="/style.css?cache={{hash-style-css}}" rel="stylesheet"/>
</head>
<body>
{{#enable-language-dropdown}}
<div class="switch switch-left switch-dropdown" id="switch-lang" tabindex="0">
<label class="label">
{{{svg-globe}}}
......@@ -43,7 +42,6 @@
</ul>
</div>
</div>
{{/enable-language-dropdown}}
<div class="navbar">
<a href="." class="entry{{#page-gallery}} active{{/page-gallery}}">{{#i18n}}nav.gallery{{/i18n}}</a>
<a href="meteoriks.html" class="entry{{#page-meteoriks}} active{{/page-meteoriks}}">{{#i18n}}nav.meteoriks{{/i18n}}</a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment