mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Update email language and video sub language setting function names
This commit is contained in:
parent
2067c50937
commit
bfad0caa9a
1 changed files with 4 additions and 4 deletions
|
|
@ -67,8 +67,8 @@ type Account struct {
|
|||
Wallpaper *Wallpaper `json:"wallpaper"`
|
||||
}
|
||||
|
||||
// UpdateEmailLanguage sets in which language emails should be received.
|
||||
func (a *Account) UpdateEmailLanguage(language LOCALE) error {
|
||||
// UpdatePreferredEmailLanguage sets in which language emails should be received.
|
||||
func (a *Account) UpdatePreferredEmailLanguage(language LOCALE) error {
|
||||
err := a.updatePreferences("preferred_communication_language", string(language))
|
||||
if err == nil {
|
||||
a.PreferredCommunicationLanguage = language
|
||||
|
|
@ -76,8 +76,8 @@ func (a *Account) UpdateEmailLanguage(language LOCALE) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// UpdateVideoSubtitleLanguage sets in which language default subtitles should be shown
|
||||
func (a *Account) UpdateVideoSubtitleLanguage(language LOCALE) error {
|
||||
// UpdatePreferredVideoSubtitleLanguage sets in which language default subtitles should be shown
|
||||
func (a *Account) UpdatePreferredVideoSubtitleLanguage(language LOCALE) error {
|
||||
err := a.updatePreferences("preferred_content_subtitle_language", string(language))
|
||||
if err == nil {
|
||||
a.PreferredContentSubtitleLanguage = language
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue