diff options
author | Emanuel Angelo <emanuel.angelo@gmail.com> | 2020-06-05 09:07:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 09:07:56 +0100 |
commit | a39557f8fbd6bfa3346580d2a33f1dcc779c0f7f (patch) | |
tree | a26888cca3a9ca3ada175f24622add43203670a3 /docs | |
parent | 2c5b3c72e8ebdf94ac764267fa78e4a0c5e93dc6 (diff) | |
download | gitea-a39557f8fbd6bfa3346580d2a33f1dcc779c0f7f.tar.gz gitea-a39557f8fbd6bfa3346580d2a33f1dcc779c0f7f.zip |
European Portuguese translation (#11568)
This PR includes the modifications necessary to make use of the European Portuguese translation from the default setting.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config.yaml | 47 | ||||
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 5 |
2 files changed, 50 insertions, 2 deletions
diff --git a/docs/config.yaml b/docs/config.yaml index 1e6abb07e5..94f8704600 100644 --- a/docs/config.yaml +++ b/docs/config.yaml @@ -312,3 +312,50 @@ languages: url: https://discourse.gitea.io/ weight: 80 pre: group + + pt-pt: + weight: 6 + languageName: Português de Portugal + menu: + page: + - name: Página inicial + url: https://gitea.io/pt-pt/ + weight: 10 + pre: home + - name: Documentação + url: /pt-pt/ + weight: 20 + pre: question + post: active + - name: API + url: https://try.gitea.io/api/swagger + weight: 45 + pre: plug + - name: Blog + url: https://blog.gitea.io/ + weight: 30 + pre: rss + - name: Código-fonte + url: https://code.gitea.io/ + weight: 40 + pre: code + - name: Tradução + url: https://crowdin.com/project/gitea + weight: 41 + pre: language + - name: Descarregamentos + url: https://dl.gitea.io/ + weight: 50 + pre: download + - name: GitHub + url: https://github.com/go-gitea/ + weight: 60 + pre: github + - name: Discussão no Discord + url: https://discord.gg/Gitea + weight: 70 + pre: comment + - name: Fórum + url: https://discourse.gitea.io/ + weight: 80 + pre: group diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 0ed0d92033..a7ac5a4cc6 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -611,8 +611,8 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false` ## i18n (`i18n`) -- `LANGS`: **en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR**: List of locales shown in language selector -- `NAMES`: **English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,日本語,español,português do Brasil,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어**: Visible names corresponding to the locales +- `LANGS`: **en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR**: List of locales shown in language selector +- `NAMES`: **English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,日本語,español,português do Brasil,Português de Portugal,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어**: Visible names corresponding to the locales ### i18n - Datepicker Language (`i18n.datelang`) Maps locales to the languages used by the datepicker plugin @@ -629,6 +629,7 @@ Maps locales to the languages used by the datepicker plugin - `ja-JP`: **ja** - `es-ES`: **es** - `pt-BR`: **pt-BR** +- `pt-PT`: **pt** - `pl-PL`: **pl** - `bg-BG`: **bg** - `it-IT`: **it** |