diff options
| author | 2025-10-23 19:32:11 +0700 | |
|---|---|---|
| committer | 2025-10-23 19:32:11 +0700 | |
| commit | f101d6a555c6d3453def332f2c230b37ae5c81b4 (patch) | |
| tree | 53e78a7394c72eb647b09da3bd3e0fe1a74f2d54 /locale | |
| parent | 84c851eeb4c13042a928b6b6334675d126931a38 (diff) | |
| download | web-f101d6a555c6d3453def332f2c230b37ae5c81b4.tar.gz web-f101d6a555c6d3453def332f2c230b37ae5c81b4.zip | |
fix: disable subscription form if user has no verified email
fix: check properly if the email was already taken
Diffstat (limited to 'locale')
| -rw-r--r-- | locale/localization.en.yaml | 1 | ||||
| -rw-r--r-- | locale/localization.go | 1 | ||||
| -rw-r--r-- | locale/localization.ru.yaml | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/locale/localization.en.yaml b/locale/localization.en.yaml index 8816f2e..ce334d9 100644 --- a/locale/localization.en.yaml +++ b/locale/localization.en.yaml @@ -62,3 +62,4 @@ UserProfile: SubscribeInvalidType: 'Invalid subscription type.' FailedToSubscribe: 'Failed to subscribe by new settings, please ask administrator for a more detailed cause.' SubscribedSuccessfully: 'Successfully subscribed you by new settings!' + RefreshPage: 'Please refresh the profile page on the device, where you requested the code.' diff --git a/locale/localization.go b/locale/localization.go index cd83aa1..1028c9e 100644 --- a/locale/localization.go +++ b/locale/localization.go @@ -96,6 +96,7 @@ type UserProfileConfig struct { SubscribeInvalidType string `yaml:"SubscribeInvalidType" json:"SubscribeInvalidType"` FailedToSubscribe string `yaml:"FailedToSubscribe" json:"FailedToSubscribe"` SubscribedSuccessfully string `yaml:"SubscribedSuccessfully" json:"SubscribedSuccessfully"` + RefreshPage string `yaml:"RefreshPage" json:"RefreshPage"` } func LoadConfig(path string, config *LocaleConfig) error { diff --git a/locale/localization.ru.yaml b/locale/localization.ru.yaml index 8a0ec5e..8894e22 100644 --- a/locale/localization.ru.yaml +++ b/locale/localization.ru.yaml @@ -62,3 +62,4 @@ UserProfile: SubscribeInvalidType: 'Неизвестный тип подписки.' FailedToSubscribe: 'Неудачная попытка записать новую подписку, более подробно спрашивайте у администратора.' SubscribedSuccessfully: 'Вы успешно подписались по новым настройкам!' + RefreshPage: 'Пожалуйста, обновите страницу с профилем на устройстве, откуда запрашивали код.' |