From 611dc9718f8b3972043a263d94978e668feb2c3d Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 28 Apr 2019 11:37:56 +0200 Subject: [PATCH] Added Norwegian Nynorsk translations --- README.md | 2 +- docs/getting-started.md | 19 ++++++++------ docs/index.md | 2 +- material/partials/language/nn.html | 19 ++++++++++++++ src/partials/language/nn.html | 42 ++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 10 deletions(-) create mode 100644 material/partials/language/nn.html create mode 100644 src/partials/language/nn.html diff --git a/README.md b/README.md index defe7250c..ec148ff80 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ theme: ## What to expect * Responsive design and fluid layout for all kinds of screens and devices, - designed to serve your project documentation in a user-friendly way in 35 + designed to serve your project documentation in a user-friendly way in 36 languages with optimal readability. * Easily customizable primary and accent color, fonts, favicon and logo; diff --git a/docs/getting-started.md b/docs/getting-started.md index 3e20e4592..901d0bedb 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -347,34 +347,37 @@ translations for all template variables and labels in the following languages: no / Norwegian + nn / Norwegian (Nynorsk) fa / Persian pl / Polish + + pt / Portugese ru / Russian - - sr / Serbian sh / Serbo-Croatian + + sk / Slovak es / Spanish - - sv / Swedish tr / Turkish - uk / Ukrainian - vi / Vietnamese + uk / Ukrainian + vi / Vietnamese zh / Chinese (Simplified) + + zh-Hant / Chinese (Traditional) + zh-TW / Chinese (Taiwanese) - zh-TW / Chinese (Taiwanese) - + Submit a new language diff --git a/docs/index.md b/docs/index.md index bdfde4c60..3759fc78e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,7 +29,7 @@ theme: ## What to expect * Responsive design and fluid layout for all kinds of screens and devices, - designed to serve your project documentation in a user-friendly way in 35 + designed to serve your project documentation in a user-friendly way in 36 languages with optimal readability. * Easily customizable primary and accent color, fonts, favicon and logo; diff --git a/material/partials/language/nn.html b/material/partials/language/nn.html new file mode 100644 index 000000000..0287a1e42 --- /dev/null +++ b/material/partials/language/nn.html @@ -0,0 +1,19 @@ +{% macro t(key) %}{{ { + "language": "nn", + "clipboard.copy": "Kopier til utklippstavla", + "clipboard.copied": "Kopiert til utklippstavla", + "edit.link.title": "Rediger denne sida", + "footer.previous": "Førre", + "footer.next": "Neste", + "meta.comments": "Kommentarar", + "meta.source": "Kjelde", + "search.language": "no", + "search.placeholder": "Søk", + "search.result.placeholder": "Skriv søkeord", + "search.result.none": "Ingen treff", + "search.result.one": "1 treff", + "search.result.other": "# treff", + "skip.link.title": "Gå til innhald", + "source.link.title": "Gå til kjelde", + "toc.title": "Innhaldsliste" +}[key] }}{% endmacro %} diff --git a/src/partials/language/nn.html b/src/partials/language/nn.html new file mode 100644 index 000000000..ce046ab1c --- /dev/null +++ b/src/partials/language/nn.html @@ -0,0 +1,42 @@ + + + +{% macro t(key) %}{{ { + "language": "nn", + "clipboard.copy": "Kopier til utklippstavla", + "clipboard.copied": "Kopiert til utklippstavla", + "edit.link.title": "Rediger denne sida", + "footer.previous": "Førre", + "footer.next": "Neste", + "meta.comments": "Kommentarar", + "meta.source": "Kjelde", + "search.language": "no", + "search.placeholder": "Søk", + "search.result.placeholder": "Skriv søkeord", + "search.result.none": "Ingen treff", + "search.result.one": "1 treff", + "search.result.other": "# treff", + "skip.link.title": "Gå til innhald", + "source.link.title": "Gå til kjelde", + "toc.title": "Innhaldsliste" +}[key] }}{% endmacro %}