Added translations

This commit is contained in:
niggl committed 2021-02-15 18:00:35 +01:00
1 parent c3fec8b375
commit 769251c062
4 files changed
+90 -1

No files matched your search

+2
View File
@@ -3,6 +3,8 @@
The documentation for the LfK! 'Läufersystem'. The documentation for the LfK! 'Läufersystem'.
Powered by Vuepress. Powered by Vuepress.
The main language for the content is German (since our primary target audience is the Lauf für Kaya! Team at a local German school).
## Quickstart 🐳 ## Quickstart 🐳
> Use this to run the documentation server via docker. > Use this to run the documentation server via docker.
+62 -1
View File
@@ -1,8 +1,18 @@
const { description } = require('../../package') const { description } = require('../../package')
module.exports = { module.exports = {
locales: {
'/': {
lang: 'de-DE',
title: 'LfK! Dokumentation', title: 'LfK! Dokumentation',
description: description, description: 'Dokumentation für das Lauf für Kaya! Läufersystem'
},
'/en/': {
lang: 'en-US',
title: 'LfK! Documentation',
description: 'The official documentation for the LfK! "Läufersystem"'
}
},
head: [ head: [
['meta', { name: 'theme-color', content: '#3eaf7c' }], ['meta', { name: 'theme-color', content: '#3eaf7c' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
@@ -15,6 +25,10 @@ module.exports = {
docsDir: '', docsDir: '',
editLinkText: '', editLinkText: '',
lastUpdated: false, lastUpdated: false,
locales: {
'/': {
selectText: 'Sprachen',
label: 'Deutsch (German)',
nav: [ nav: [
{ {
text: 'Für Nutzer', text: 'Für Nutzer',
@@ -57,6 +71,53 @@ module.exports = {
], ],
} }
}, },
'/en/': {
selectText: 'Languages',
label: 'English',
nav: [
{
text: 'For Users',
link: '/en/users/',
},
{
text: 'For Admins',
link: '/en/admins/'
},
{
text: 'Source Code',
link: 'https://git.odit.services/lfk'
}
],
sidebar: {
'/en/users/': [
{
title: 'User documentation',
collapsable: false,
children: [
'',
'accounts',
'organizations',
'teams',
'runners',
'runner_import'
]
}
],
'/en/admins/': [
{
title: 'Administrative Dokumentation',
collapsable: false,
children: [
'',
'quickstart',
'installation'
]
}
],
}
}
}
},
plugins: [ plugins: [
'@vuepress/plugin-back-to-top', '@vuepress/plugin-back-to-top',
'@vuepress/plugin-medium-zoom', '@vuepress/plugin-medium-zoom',
+15
View File
@@ -0,0 +1,15 @@
---
home: true
heroImage: https://v1.vuepress.vuejs.org/hero.png
tagline: The documentatio für the LfK! "Läufersystem".
actionText: Quickstart for users →
actionLink: ./users/
features:
- title: Feature 1 Title
details: Feature 1 Description
- title: Feature 2 Title
details: Feature 2 Description
- title: Feature 3 Title
details: Feature 3 Description
footer: Made by with ❤️
---
+11
View File
@@ -0,0 +1,11 @@
# Introduction
This part of the documentation describes the interaction with the system for normal users.
If you're interested in installing, configuring or administrating the system take a look at the [admin](../admins) section.
## FAQ
> A couple of frequently asked questiones.
### Why can't i see the page XY?
Users can only see pages if they have the right permissions.
If you can't view a page that you need to, please contact your administrator.