chore: update user setting locale definition

This commit is contained in:
steven
2023-09-03 13:32:22 +08:00
parent 35c396a88f
commit 7cde25bdb5
6 changed files with 209 additions and 87 deletions

View File

@@ -51,6 +51,8 @@
- [UpdateUserSettingResponse](#slash-api-v2-UpdateUserSettingResponse)
- [UserSetting](#slash-api-v2-UserSetting)
- [UserSetting.Locale](#slash-api-v2-UserSetting-Locale)
- [UserSettingService](#slash-api-v2-UserSettingService)
- [Scalar Value Types](#scalar-value-types)
@@ -642,7 +644,7 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [int32](#int32) | | id is the user id. |
| locale | [string](#string) | | locale is the user locale. |
| locale | [UserSetting.Locale](#slash-api-v2-UserSetting-Locale) | | locale is the user locale. |
@@ -650,6 +652,19 @@
<a name="slash-api-v2-UserSetting-Locale"></a>
### UserSetting.Locale
| Name | Number | Description |
| ---- | ------ | ----------- |
| LOCALE_UNSPECIFIED | 0 | |
| LOCALE_EN | 1 | |
| LOCALE_ZH | 2 | |