forked from pub-solar/pub.solar
v2: fix language switcher, fix german translations
This commit is contained in:
parent
87e4b106e0
commit
887fead703
|
@ -205,6 +205,12 @@ services:
|
|||
status: not-applicable
|
||||
|
||||
strings:
|
||||
visit_service:
|
||||
en: 'Visit service'
|
||||
de: 'Zum Dienst'
|
||||
wiki_help_page:
|
||||
en: Wiki help page
|
||||
de: Wikiseite
|
||||
states:
|
||||
yes:
|
||||
en: Yes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export default ({ otherLang, baseURL }) => <a
|
||||
href={otherLang.urlPrefix ? `/${otherLang.urlPrefix }` : baseURL}
|
||||
href={otherLang.urlPrefix ? `/${otherLang.urlPrefix }${baseURL}` : baseURL}
|
||||
class="ps-homelink ps-homelink_lang"
|
||||
>{otherLang.slug}</a>
|
||||
|
|
|
@ -19,8 +19,8 @@ export default ({ data, language, className = '', }) => {
|
|||
<h2 className="ps-service--title" id={service.id}>{service.name}</h2>
|
||||
|
||||
<div className="ps-service--links">
|
||||
<a href={service.link} target="_blank">Visit service</a>
|
||||
{service.wiki ? <a href={service.wiki} target="_blank">Wiki help page</a> : null}
|
||||
<a href={service.link} target="_blank">{ strings.visit_service[language.slug] }</a>
|
||||
{service.wiki ? <a href={service.wiki} target="_blank">{ strings.wiki_help_page[language.slug] }</a> : null}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
|
17
de/services.yml
Normal file
17
de/services.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
layout: layouts/default.tsx
|
||||
|
||||
title: Unsere Dienste
|
||||
showServices: true
|
||||
|
||||
content: |
|
||||
# Unsere Dienste
|
||||
|
||||
Diese Seite gibt einen Überblick über die Dienste, die wir hosten. Wir geben einige Informationen über den Support-Status und den Datenschutz für jeden Dienst.
|
||||
|
||||
* [Nextcloud](#nextcloud)
|
||||
* [Mastodon](#mastodon)
|
||||
* [Matrix](#matrix)
|
||||
* [Forgejo / git](#forgejo)
|
||||
* [Mailman](#mailman)
|
||||
* [Wiki](#wiki)
|
||||
* [Searx](#searx)
|
Loading…
Reference in a new issue