Commit b19204f5 authored by lunasorcery's avatar lunasorcery
Browse files

make copyrights localizable

parent c6dc4ae7
...@@ -32,5 +32,10 @@ ...@@ -32,5 +32,10 @@
"what-is-exe-dot-gfx-p2": "You are invited to browse the collection as you would an art gallery - to spend time with each piece, and to consider the craft (both artistic and technical) behind each.", "what-is-exe-dot-gfx-p2": "You are invited to browse the collection as you would an art gallery - to spend time with each piece, and to consider the craft (both artistic and technical) behind each.",
"credit-curator": "This collection is curated by yx.", "credit-curator": "This collection is curated by yx.",
"credit-translators": "Localization by {{translators}}." "credit-translators": "Localization by {{translators}}."
},
"footer": {
"copyright-website": "Website © yx.",
"copyright-artworks": "All artworks © their respective authors.",
"copyright-pouet": "Pouët graphics © mandarine."
} }
} }
...@@ -22,9 +22,6 @@ function isAprilFoolsDay() { ...@@ -22,9 +22,6 @@ function isAprilFoolsDay() {
if (isAprilFoolsDay()) { if (isAprilFoolsDay()) {
setTheme('pouet', false); setTheme('pouet', false);
window.addEventListener('load', ()=>{
document.querySelector('div.footer').innerHTML += "<br/>Pouët graphics © mandarine"
}, false);
} else { } else {
setTheme(currentTheme); setTheme(currentTheme);
toggleSwitch.checked = (currentTheme === 'dark'); toggleSwitch.checked = (currentTheme === 'dark');
......
...@@ -358,6 +358,10 @@ a { ...@@ -358,6 +358,10 @@ a {
padding-bottom: 24px; padding-bottom: 24px;
color: var(--main-text-color); color: var(--main-text-color);
transition: color var(--theme-transition-duration) var(--theme-transition-easing); transition: color var(--theme-transition-duration) var(--theme-transition-easing);
.pouet-credit {
display: none;
}
} }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
...@@ -588,4 +592,8 @@ a { ...@@ -588,4 +592,8 @@ a {
background: #224488; background: #224488;
} }
} }
.footer .pouet-credit {
display: block;
}
} }
\ No newline at end of file
<div class="footer"> <div class="footer">
Website © yx.<br/> <div>{{#i18n}}footer.copyright-website{{/i18n}}</div>
All artworks © their respective authors. <div>{{#i18n}}footer.copyright-artworks{{/i18n}}</div>
<div class="pouet-credit">{{#i18n}}footer.copyright-pouet{{/i18n}}</div>
</div> </div>
</body> </body>
</html> </html>
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