SpinaCMS / spina-blog

Blog engine for Spina CMS
MIT License
11 stars 25 forks source link

German translations #30

Closed Dirk82 closed 2 years ago

Dirk82 commented 2 years ago

After finishing most of the basic work for a project using spina, I wanted to add a blog using the spina-blog gem. Integration was easy, but then I was stopped by the missing german translations, as I'm using config.i18n.raise_on_missing_translations = true locally. So I've prepared the missing translations as a PR and I'm glad that I can give something back in a small way. 🙂

Apart from that almost all static texts from the views have been removed and replaced using translations from i18n as well.

There were also some places that used the wrong model, so the labels and so on were wrong when rendering the fields. This has been adjusted, some description translations have been added as well.

Finally the SEO tab has undergone some few cosmetic adjustments. The fields and labels have gotten some spacing between them, using the same styling like the settings tab is using.

Disclaimer: since my Portuguese and Dutch are a little bit rusty (read: not existent), I've used DeepL to translate the extra translations that were added during this PR. The existing ones have been left untouched. Happy to see some suggestions / corrections from native speakers! 😉

simmerz commented 2 years ago

This is brilliant, thank you @Dirk82!