Translation tweaks and logo change (to png)
This commit is contained in:
parent
312b536944
commit
70eb1056a1
6 changed files with 28 additions and 15 deletions
|
@ -12,19 +12,19 @@
|
||||||
"description": "Eine von Lernenden geleitete Community für die Lernenden der Technischen Berufsschule Zürich zur Zusammenarbeit und Innovation."
|
"description": "Eine von Lernenden geleitete Community für die Lernenden der Technischen Berufsschule Zürich zur Zusammenarbeit und Innovation."
|
||||||
},
|
},
|
||||||
"services": {
|
"services": {
|
||||||
"title": "Dienstleistungen",
|
"title": "Dienste",
|
||||||
"subtitle": "Von Lernenden - für Lernenden gehosteten Dienste an der TBZ.",
|
"subtitle": "Von Lernenden - für Lernende gehosteten Dienste an der TBZ.",
|
||||||
"forum": {
|
"forum": {
|
||||||
"title": "Forum",
|
"title": "Forum",
|
||||||
"description": "Trete den Unterhaltungen bei! Unser Forum ist deine go-to Destination für alles betreffend der TBZ."
|
"description": "Mach mit bei der Unterhaltung! Unser Forum ist deine Anlaufstelle für alles, was mit der TBZ zu tun hat. Hier können wir uns über Probleme und Fragen austauschen und uns gegenseitig helfen."
|
||||||
},
|
},
|
||||||
"git": {
|
"git": {
|
||||||
"title": "Git Forge",
|
"title": "Git Forge",
|
||||||
"description": "Arbeite an deinen Projekten oder Modulen mit unserem Git Forge. Powered by Forgejo."
|
"description": "Arbeite an deinen Projekten auf unserem Git Forge und vergiss Gitlab und Github. Mit Forgejo erhaltest du unzählige Features und maximale Zuverlässigkeit."
|
||||||
},
|
},
|
||||||
"sso": {
|
"sso": {
|
||||||
"title": "SSO",
|
"title": "SSO",
|
||||||
"description": "Ein Konto für alle Sachen TBZ Community! Logge dich mit einem einheitlichem Konto ein, und vergiss es, überall einzeln Passwörter zu ändern."
|
"description": "Ein Konto für alle Sachen TBZ-Community! Logge dich mit einem einzigen Konto ein und vergiss es, Passwörter einzeln neu zu setzen (weil du das nicht mehr machen musst)."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"join": {
|
"join": {
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
"subtitle": "Bereit einzutauchen? Trete jetzt bei und beginne, zur TBZ Community Hub beizutragen."
|
"subtitle": "Bereit einzutauchen? Trete jetzt bei und beginne, zur TBZ Community Hub beizutragen."
|
||||||
},
|
},
|
||||||
"notice": {
|
"notice": {
|
||||||
"content": "Dies ist eine inoffizielle Community-Plattform, betrieben von Lerndenden für Lerndende der TBZ. Für Anfragen und Unterstützung, bitte kontaktiere uns <a href='/contact'>hier</a>."
|
"content": "Dies ist eine inoffizielle Community-Plattform, betrieben von Lernenden für Lernende der TBZ. Für Anfragen und Unterstützung, bitte kontaktiere uns <a href='/contact'>hier</a>."
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"source": "Diese Webseite wurde mit dem <a href='https://jenil.github.io/chota/'>chota</a> CSS Framework erstellt. Den Quellcode dieser Seite findest du <a href='https://git.tbz-it.com/community/website'>hier</a>."
|
"source": "Diese Webseite wurde mit dem <a href='https://jenil.github.io/chota/'>chota</a> CSS Framework erstellt. Den Quellcode dieser Seite findest du <a href='https://git.tbz-it.com/community/website'>hier</a>."
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
"username": "Benutzername:",
|
"username": "Benutzername:",
|
||||||
"usernamePlaceholder": "Benutzername",
|
"usernamePlaceholder": "Benutzername",
|
||||||
"email": "E-Mail:",
|
"email": "E-Mail:",
|
||||||
"emailPlaceholder": "vollstaendiger.name@edu.tbz.ch",
|
"emailPlaceholder": "vorname.nachname@edu.tbz.ch",
|
||||||
"ssh": "SSH-Schlüssel:",
|
"ssh": "SSH-Schlüssel:",
|
||||||
"sshPlaceholder": "ssh-ed25519 AAAAXXXXXXXYYYYYYYZZZZZZZ+00a"
|
"sshPlaceholder": "ssh-ed25519 AAAAXXXXXXXYYYYYYYZZZZZZZ+00a"
|
||||||
},
|
},
|
||||||
|
@ -69,6 +69,10 @@
|
||||||
"codeofconduct": "Mit der Anmeldung erklärst du dich damit einverstanden, unseren Verhaltenskodex zu befolgen.<br>Kein Drama. Sei respektvoll. Hab Spass. Wir alle versuchen es, und wir sitzen alle im selben Boot :)",
|
"codeofconduct": "Mit der Anmeldung erklärst du dich damit einverstanden, unseren Verhaltenskodex zu befolgen.<br>Kein Drama. Sei respektvoll. Hab Spass. Wir alle versuchen es, und wir sitzen alle im selben Boot :)",
|
||||||
"apprenticeVerify": "Ich besuche die TBZ und habe eine Lehre.",
|
"apprenticeVerify": "Ich besuche die TBZ und habe eine Lehre.",
|
||||||
"termsVerify": "Ich stimme zu, dass ich die Dienstbedingungen und die Datenschutzrichtlinie gelesen und verstanden habe."
|
"termsVerify": "Ich stimme zu, dass ich die Dienstbedingungen und die Datenschutzrichtlinie gelesen und verstanden habe."
|
||||||
|
},
|
||||||
|
"buttons": {
|
||||||
|
"submit": "Registrieren",
|
||||||
|
"login": "Einloggen"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
"subtitle": "Services hosted by students, for students, at the TBZ.",
|
"subtitle": "Services hosted by students, for students, at the TBZ.",
|
||||||
"forum": {
|
"forum": {
|
||||||
"title": "Forum",
|
"title": "Forum",
|
||||||
"description": "Join the conversation! Our forum is your go-to destination for all things TBZ."
|
"description": "Join in on the conversation! Our forum is your go-to destination for all things TBZ. Here, we can exchange problems and issues we're facing, and help each other out!"
|
||||||
},
|
},
|
||||||
"git": {
|
"git": {
|
||||||
"title": "Git Forge",
|
"title": "Git Forge",
|
||||||
"description": "Collaborate on projects with our Git repository. Powered by Forgejo."
|
"description": "Collaborate on projects with our Git repository and ditch Gitlab and Github. Powered by Forgejo, you get a massive featureset and maximum reliability."
|
||||||
},
|
},
|
||||||
"sso": {
|
"sso": {
|
||||||
"title": "SSO",
|
"title": "SSO",
|
||||||
|
@ -69,6 +69,10 @@
|
||||||
"codeofconduct": "Signing up implies that you agree to abide by our code of conduct.<br>No drama. Be respectful. Have fun. We're all trying, and we're all in this together :)",
|
"codeofconduct": "Signing up implies that you agree to abide by our code of conduct.<br>No drama. Be respectful. Have fun. We're all trying, and we're all in this together :)",
|
||||||
"apprenticeVerify": "I visit the TBZ and have an apprenticeship.",
|
"apprenticeVerify": "I visit the TBZ and have an apprenticeship.",
|
||||||
"termsVerify": "I agree that I have read and understood the terms of service and privacy policy."
|
"termsVerify": "I agree that I have read and understood the terms of service and privacy policy."
|
||||||
|
},
|
||||||
|
"buttons": {
|
||||||
|
"submit": "Register",
|
||||||
|
"login": "Log in"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
BIN
assets/img/nav-logo.png
Normal file
BIN
assets/img/nav-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
|
@ -12,7 +12,12 @@ function changeLanguage(lang) {
|
||||||
const keys = elem.getAttribute('data-i18n').split('.');
|
const keys = elem.getAttribute('data-i18n').split('.');
|
||||||
const translation = getTranslation(translations, keys);
|
const translation = getTranslation(translations, keys);
|
||||||
if (translation !== undefined) {
|
if (translation !== undefined) {
|
||||||
elem.innerHTML = translation;
|
// If the element is an input, update its value; otherwise, update its innerHTML
|
||||||
|
if (elem.tagName.toLowerCase() === 'input') {
|
||||||
|
elem.value = translation;
|
||||||
|
} else {
|
||||||
|
elem.innerHTML = translation;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<nav id="navbar">
|
<nav id="navbar">
|
||||||
<div class="nav-container">
|
<div class="nav-container">
|
||||||
<a href="/" class="nav-logo">
|
<a href="/" class="nav-logo">
|
||||||
<img src="/assets/img/nav-logo.svg" alt="TBZ Community Logo">
|
<img src="/assets/img/nav-logo.png" alt="TBZ Community Logo">
|
||||||
</a>
|
</a>
|
||||||
<a data-i18n="nav.links.git" id="navButton" class="button outline light">Git</a>
|
<a data-i18n="nav.links.git" id="navButton" class="button outline light">Git</a>
|
||||||
<a data-i18n="nav.links.forum" id="navButton" class="button outline light">Forum</a>
|
<a data-i18n="nav.links.forum" id="navButton" class="button outline light">Forum</a>
|
||||||
|
@ -40,14 +40,14 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-4 service">
|
<div class="col-4 service">
|
||||||
<h3 data-i18n="home.services.forum.title">Forum</h3>
|
<h3 data-i18n="home.services.forum.title">Forum</h3>
|
||||||
<p data-i18n="home.services.forum.description">Join the conversation! Our forum is your go-to destination for all things TBZ.</p>
|
<p data-i18n="home.services.forum.description">Join in on the conversation! Our forum is your go-to destination for all things TBZ. Here, we can exchange problems and issues we're facing, and help each other out!</p>
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<a class="button primary" href="#" data-i18n="home.buttons.visit">Visit</a>
|
<a class="button primary" href="#" data-i18n="home.buttons.visit">Visit</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4 service">
|
<div class="col-4 service">
|
||||||
<h3 data-i18n="home.services.git.title">Git Forge</h3>
|
<h3 data-i18n="home.services.git.title">Git Forge</h3>
|
||||||
<p data-i18n="home.services.git.description">Collaborate on projects with our Git repository. Powered by Forgejo.</p>
|
<p data-i18n="home.services.git.description">Collaborate on projects with our Git repository and ditch Gitlab and Github. Powered by Forgejo, you get a massive featureset and maximum reliability.</p>
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<a class="button primary" href="#" data-i18n="home.buttons.visit">Visit</a>
|
<a class="button primary" href="#" data-i18n="home.buttons.visit">Visit</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -66,8 +66,8 @@
|
||||||
<span data-i18n="signup.form.legends.optional" class="optional">*</span><span data-i18n="signup.form.legends.optionalText"> = optional</span></p>
|
<span data-i18n="signup.form.legends.optional" class="optional">*</span><span data-i18n="signup.form.legends.optionalText"> = optional</span></p>
|
||||||
|
|
||||||
<div class="button-container">
|
<div class="button-container">
|
||||||
<input type="submit" value="Register">
|
<input data-i18n="signup.form.buttons.submit" type="submit" value="Register">
|
||||||
<a class="button secondary outline" href="#">Login</a>
|
<a data-i18n="signup.form.buttons.login" class="button secondary outline" href="#">Login</a>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue