Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(content): add locales en, fr #141

Merged
merged 53 commits into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
92d1921
Revert "remove en and fr markdown files"
Tirokk May 23, 2024
e54b259
Revert removing of languages
Tirokk May 23, 2024
5577c75
Merge branch 'master' of github.com:Ocelot-Social-Community/ocelot.so…
Tirokk May 27, 2024
9fe50e2
Change donate link to internal page
Tirokk May 27, 2024
07ced42
Change content in footer
Tirokk May 27, 2024
3bb92e8
Refine contribute page
Tirokk May 27, 2024
8487269
Refactor donate buttons and page
Tirokk May 27, 2024
ce2daaa
Add pro arguments for open source on home page
Tirokk May 27, 2024
ea8f278
Fix German home page
Tirokk May 28, 2024
aa6ff6a
Add content to English home page
Tirokk May 28, 2024
aff8b4b
Add content to French home page
Tirokk May 28, 2024
fed164a
Refine German features page
Tirokk May 28, 2024
9759273
Refine German features page
Tirokk May 28, 2024
20b272f
Add content to English features page
Tirokk May 28, 2024
83d0b72
Add content to French features page
Tirokk May 28, 2024
ce7aff3
Refine English home page
Tirokk May 28, 2024
ae548d7
Refine German contribute page
Tirokk May 28, 2024
cd7bd04
Refine German get-started page
Tirokk May 28, 2024
e569abb
Add content to English get-started page
Tirokk May 28, 2024
8559934
Add content to French get-started page
Tirokk May 28, 2024
0ab5939
Refine home page
Tirokk May 28, 2024
331127a
Refine German contribute page
Tirokk May 28, 2024
fa217a7
Add content to English contribute page
Tirokk May 28, 2024
77e4f04
Refine German contribute page
Tirokk May 28, 2024
17ec331
Refine English contribute page
Tirokk May 28, 2024
f90f54d
Add content to French contribute page
Tirokk May 28, 2024
806fd19
Refine German learn page
Tirokk May 29, 2024
fd7c7be
Fix apostroph's
Tirokk May 29, 2024
54586ed
Refine English home page
Tirokk May 29, 2024
8fd4148
Refine English learn page
Tirokk May 29, 2024
b55e2dc
Refine French learn page
Tirokk May 29, 2024
b83684e
Refine German donate page
Tirokk May 29, 2024
dfecf24
Refine English donate page
Tirokk May 29, 2024
79439a0
Refine French donate page
Tirokk May 29, 2024
0a6afa1
Refine English contact page
Tirokk May 29, 2024
0b4d576
Refine French contact page
Tirokk May 29, 2024
432e578
Refine German imprint page
Tirokk May 29, 2024
303939f
Refine English imprint page
Tirokk May 29, 2024
d56805b
Refine French imprint page
Tirokk May 29, 2024
2b961cb
Refine German privacy-policy page
Tirokk May 29, 2024
d28539d
Refine English privacy-policy page
Tirokk May 29, 2024
e8ab3fd
Add content to French privacy-policy page
Tirokk May 29, 2024
f92efde
Refine French privacy-policy page
Tirokk May 29, 2024
367cfea
Fix apostroph's
Tirokk May 29, 2024
bdce4a2
Exclude 'Exemple' from textlint common-misspellings
Tirokk May 29, 2024
582ebe0
Set 'localeConfig'
Tirokk Jun 3, 2024
46398d3
Fix translation problems
Tirokk Jun 3, 2024
19e251c
Refine donation pages
Tirokk Jun 3, 2024
0207b2a
Fix translations
Tirokk Jun 3, 2024
1fac0fc
Comment out 'Why open source' block
Tirokk Jun 4, 2024
275b959
Format HTML section to have better overview.
Elweyn Jun 4, 2024
24eac50
Apply suggestions in the french translations.
Elweyn Jun 4, 2024
9ead3f2
Change commences to commence.
Elweyn Jun 4, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .textlintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
'doubled-spaces': true,
'common-misspellings': {
// Misspellings to be ignored (case-insensitive)
ignore: [],
ignore: ['Exemple'],
},
'write-good': false,
'apostrophe': true,
Expand Down
12 changes: 6 additions & 6 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export default defineUserConfig({
'/de/': {
lang: 'de-DE',
},
// '/en/': {
// lang: 'en-EN',
// },
// '/fr/': {
// lang: 'fr-FR',
// },
'/en/': {
lang: 'en-EN',
},
'/fr/': {
lang: 'fr-FR',
},
}
})
138 changes: 70 additions & 68 deletions docs/.vuepress/config/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default hopeTheme({
lang: 'de-DE',
title: 'Ocelot.Social',
description: 'Ocelot.Social – Freie und Open-Source-Software zum Erstellen und Betreiben deines eigenen sozialen Netzwerks.',
copyright: '&copy; von <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authoren | <a href="/de/imprint/">Impressum</a> | <a href="/de/privacy-policy/">Datenschutz</a>',
copyright: '&copy; von <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Freunde | <a href="/de/imprint/">Impressum</a> | <a href="/de/privacy-policy/">Datenschutz</a>',
footer: 'Unter der <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT Lizenz<!--]--><!----></a> ausgeliefert.',
navbar: [
{
Expand Down Expand Up @@ -53,72 +53,72 @@ export default hopeTheme({
},
],
},
// '/en/': {
// lang: 'en-US', // this will be set as the lang attribute on <html>
// title: 'Ocelot.Social',
// description: 'Ocelot.Social – Free and open source software to create and run your own social network.',
// copyright: '&copy; by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authors | <a href="/en/imprint/">Imprint</a> | <a href="/en/privacy-policy/">Privacy Policy</a>',
// footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.',
// navbar: [
// {
// text: 'Features',
// link: '/en/features/'
// },
// {
// text: 'Get Started',
// link: '/en/get-started/'
// },
// {
// text: 'Contribute',
// link: '/en/contribute/'
// },
// {
// text: 'Learn',
// link: '/en/learn/' ,
// },
// {
// text: 'Donate',
// link: '/en/donate/'
// },
// {
// text: 'Contact',
// link: '/en/contact/'
// },
// ],
// },
// '/fr/': {
// lang: 'fr-FR',
// title: 'Ocelot.Social',
// description: 'Ocelot.Social - Logiciel open source et gratuit pour créer et gérer votre propre réseau social.',
// copyright: '&copy; par <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Auteurs | <a href="/fr/imprint/">Mentions légales</a> | <a href="/fr/privacy-policy/">Protection des données</a>',
// footer: 'Publié sous la <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->licence MIT<!--]--><!----></a>.',
// navbar: [
// {
// text: 'Fonctionnalités',
// link: '/fr/features/'
// },
// {
// text: 'Entrée',
// link: '/fr/get-started/'
// },
// {
// text: 'Contribuer',
// link: '/fr/contribute/'
// },
// {
// text: 'Apprendre',
// link: '/fr/learn/' ,
// },
// {
// text: 'Donner',
// link: '/fr/donate/'
// },
// {
// text: 'Contact',
// link: '/fr/contact/'
// },
// ],
// }
'/en/': {
lang: 'en-US', // this will be set as the lang attribute on <html>
title: 'Ocelot.Social',
description: 'Ocelot.Social – Free and open source software to create and run your own social network.',
copyright: '&copy; by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Friends | <a href="/en/imprint/">Imprint</a> | <a href="/en/privacy-policy/">Privacy Policy</a>',
footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.',
navbar: [
{
text: 'Features',
link: '/en/features/'
},
{
text: 'Get Started',
link: '/en/get-started/'
},
{
text: 'Contribute',
link: '/en/contribute/'
},
{
text: 'Learn',
link: '/en/learn/' ,
},
{
text: 'Donate',
link: '/en/donate/'
},
{
text: 'Contact',
link: '/en/contact/'
},
],
},
'/fr/': {
lang: 'fr-FR',
title: 'Ocelot.Social',
description: 'Ocelot.Social - Logiciel open source et gratuit pour créer et gérer votre propre réseau social.',
copyright: '&copy; par <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & amis | <a href="/fr/imprint/">Mentions légales</a> | <a href="/fr/privacy-policy/">Protection des données</a>',
footer: 'Publié sous la <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->licence MIT<!--]--><!----></a>.',
navbar: [
{
text: 'Fonctionnalités',
link: '/fr/features/'
},
{
text: 'Commencer',
link: '/fr/get-started/'
},
{
text: 'Contribuer',
link: '/fr/contribute/'
},
{
text: 'Apprendre',
link: '/fr/learn/' ,
},
{
text: 'Donner',
link: '/fr/donate/'
},
{
text: 'Contact',
link: '/fr/contact/'
},
],
}
},
plugins: {
blog: {
Expand All @@ -139,7 +139,9 @@ export default hopeTheme({
defaultBehavior: 'defaultLocale',
defaultLocale: '/de/',
localeConfig: {
'/de/': ['de-DE', 'en'],
'/de/': ['de-DE', 'de'],
'/en/': ['en-US', 'en'],
'/fr/': ['fr-FR', 'fr'],
},
localeFallback: false,
},
Expand Down
Loading