Skip to content

Commit c7fc5ca

Browse files
committed
Add missing Portuguese language
1 parent b9a9be1 commit c7fc5ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/Config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ gui:
116116
# If true, hunk selection mode will be enabled by default when entering the staging view.
117117
useHunkModeInStagingView: true
118118

119-
# One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'
119+
# One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' | 'pt'
120120
language: auto
121121

122122
# Format used when displaying time e.g. commit time.

pkg/config/user_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ type GuiConfig struct {
106106
WrapLinesInStagingView bool `yaml:"wrapLinesInStagingView"`
107107
// If true, hunk selection mode will be enabled by default when entering the staging view.
108108
UseHunkModeInStagingView bool `yaml:"useHunkModeInStagingView"`
109-
// One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'
109+
// One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' | 'pt'
110110
Language string `yaml:"language" jsonschema:"enum=auto,enum=en,enum=zh-TW,enum=zh-CN,enum=pl,enum=nl,enum=ja,enum=ko,enum=ru"`
111111
// Format used when displaying time e.g. commit time.
112112
// Uses Go's time format syntax: https://pkg.go.dev/time#Time.Format

schema/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@
584584
"ko",
585585
"ru"
586586
],
587-
"description": "One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'",
587+
"description": "One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' | 'pt'",
588588
"default": "auto"
589589
},
590590
"timeFormat": {

0 commit comments

Comments
 (0)