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): ...@@ -20,8 +20,7 @@ def crc32_file(filename):
return f"{buf:08x}" return f"{buf:08x}"
# WIP language feature # fail the build if localization strings are missing
enableLanguageDropdown = True
validateMissingLocalization = True validateMissingLocalization = True
...@@ -170,7 +169,6 @@ sharedTemplate = { ...@@ -170,7 +169,6 @@ sharedTemplate = {
'meteoriks-juror-application-open': meteorikJurorApplicationOpen, 'meteoriks-juror-application-open': meteorikJurorApplicationOpen,
'meteoriks-nominations-open': meteorikPublicNominationsOpen, 'meteoriks-nominations-open': meteorikPublicNominationsOpen,
'enable-language-dropdown': enableLanguageDropdown,
'languages': languages, 'languages': languages,
'translators': ', '.join(sorted(set(translators), key=str.casefold)), 'translators': ', '.join(sorted(set(translators), key=str.casefold)),
......
...@@ -14,9 +14,7 @@ ...@@ -14,9 +14,7 @@
<p>{{#i18n}}about.what-is-exe-dot-gfx-p1{{/i18n}}</p> <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.what-is-exe-dot-gfx-p2{{/i18n}}</p>
<p>{{#i18n}}about.credit-curator{{/i18n}}</p> <p>{{#i18n}}about.credit-curator{{/i18n}}</p>
{{#enable-language-dropdown}}
<p>{{#i18n}}about.credit-translators{{/i18n}}</p> <p>{{#i18n}}about.credit-translators{{/i18n}}</p>
{{/enable-language-dropdown}}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
<link href="/style.css?cache={{hash-style-css}}" rel="stylesheet"/> <link href="/style.css?cache={{hash-style-css}}" rel="stylesheet"/>
</head> </head>
<body> <body>
{{#enable-language-dropdown}}
<div class="switch switch-left switch-dropdown" id="switch-lang" tabindex="0"> <div class="switch switch-left switch-dropdown" id="switch-lang" tabindex="0">
<label class="label"> <label class="label">
{{{svg-globe}}} {{{svg-globe}}}
...@@ -43,7 +42,6 @@ ...@@ -43,7 +42,6 @@
</ul> </ul>
</div> </div>
</div> </div>
{{/enable-language-dropdown}}
<div class="navbar"> <div class="navbar">
<a href="." class="entry{{#page-gallery}} active{{/page-gallery}}">{{#i18n}}nav.gallery{{/i18n}}</a> <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> <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