From 6400a66992f9d2293b825aa165c6800fd5436d64 Mon Sep 17 00:00:00 2001 From: Dorivaldo Valentim Date: Sun, 23 Jul 2023 23:26:44 +0100 Subject: [PATCH] Adding the initial configs to enable pt language support on application --- docs/.vuepress/config.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f3b735b8..60e32cd2 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -4,6 +4,11 @@ module.exports = { lang: "en-US", title: "Nginx Proxy Manager", description: "Expose your services easily and securely" + }, + "/pt/": { + lang: "pt", + title: "Nginx Proxy Manager", + description: "Exponha seus serviços de forma fácil e segura" } }, head: [ @@ -51,6 +56,27 @@ module.exports = { ["/faq/", "Frequently Asked Questions"], ["/third-party/", "Third Party"] ] + }, + "/pt/": { + // text for the language dropdown + selectText: "Línguas", + // label for this locale in the language dropdown + label: "Português", + // Custom text for edit link. Defaults to "Edit this page" + editLinkText: "Edite esta página no GitHub", + // Custom navbar values + nav: [{ text: "Início", link: "/pt/inicio/" }], + // Custom sidebar values + sidebar: [ + "/pt/", + ["/pt/guia/", "Guia"], + ["/pt/capturas/", "Capturas"], + ["/pt/inicio/", "Início"], + ["/pt/configuracoes-avancadas/", "Configurações Avançadas"], + ["/pt/actualizacoes/", "Actualizações"], + ["/pt/perguntas-frequentes/", "Perguntas Frequentes"], + ["/pt/aplicativos-terceiros/", "Aplicativos Terceiros"] + ] } } },