Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
executable.graphics
Commits
a3d4a35a
Commit
a3d4a35a
authored
Jun 25, 2021
by
lunasorcery
Browse files
make the language dropdown a permanent fixture
parent
b97050df
Changes
3
Hide whitespace changes
Inline
Side-by-side
build-site.py
View file @
a3d4a35a
...
@@ -20,8 +20,7 @@ def crc32_file(filename):
...
@@ -20,8 +20,7 @@ def crc32_file(filename):
return
f
"
{
buf
:
08
x
}
"
return
f
"
{
buf
:
08
x
}
"
# 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
)),
...
...
templates/about.mustache
View file @
a3d4a35a
...
@@ -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>
...
...
templates/header.mustache
View file @
a3d4a35a
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment