diff --git a/docs/Config.md b/docs/Config.md index 0f7262020..d65bec1d5 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -116,7 +116,7 @@ gui: # If true, hunk selection mode will be enabled by default when entering the staging view. useHunkModeInStagingView: true - # One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' + # One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' | 'pt' language: auto # Format used when displaying time e.g. commit time. diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 516f9785a..a951de2e2 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -106,7 +106,7 @@ type GuiConfig struct { WrapLinesInStagingView bool `yaml:"wrapLinesInStagingView"` // If true, hunk selection mode will be enabled by default when entering the staging view. UseHunkModeInStagingView bool `yaml:"useHunkModeInStagingView"` - // One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' + // One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' | 'pt' 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"` // Format used when displaying time e.g. commit time. // Uses Go's time format syntax: https://pkg.go.dev/time#Time.Format diff --git a/schema/config.json b/schema/config.json index aadb2f964..19554058b 100644 --- a/schema/config.json +++ b/schema/config.json @@ -584,7 +584,7 @@ "ko", "ru" ], - "description": "One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'", + "description": "One of 'auto' (default) | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru' | 'pt'", "default": "auto" }, "timeFormat": {