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

@ -28,8 +28,13 @@ message UserSetting {
// id is the user id.
int32 id = 1;
enum Locale {
LOCALE_UNSPECIFIED = 0;
LOCALE_EN = 1;
LOCALE_ZH = 2;
}
// locale is the user locale.
string locale = 2;
Locale locale = 2;
}
message GetUserSettingRequest {