Changed spanish latin america and arabic locale & added portuguese

This commit is contained in:
bytedream 2022-02-24 21:22:58 +01:00
parent bd19b34088
commit 777738a1a1
2 changed files with 8 additions and 4 deletions

View file

@ -10,11 +10,12 @@ var AllLocales = []crunchyroll.LOCALE{
crunchyroll.LA,
crunchyroll.ES,
crunchyroll.FR,
crunchyroll.PT,
crunchyroll.BR,
crunchyroll.IT,
crunchyroll.DE,
crunchyroll.RU,
crunchyroll.ME,
crunchyroll.AR,
}
// ValidateLocale validates if the given locale actually exist
@ -40,6 +41,8 @@ func LocaleLanguage(locale crunchyroll.LOCALE) string {
return "Spanish (Spain)"
case crunchyroll.FR:
return "French"
case crunchyroll.PT:
return "Portuguese (Europe)"
case crunchyroll.BR:
return "Portuguese (Brazil)"
case crunchyroll.IT:
@ -48,7 +51,7 @@ func LocaleLanguage(locale crunchyroll.LOCALE) string {
return "German"
case crunchyroll.RU:
return "Russian"
case crunchyroll.ME:
case crunchyroll.AR:
return "Arabic"
default:
return ""