mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-17 03:09:05 +00:00
Change enum members in Locale to be snake_case
Not even sure how this slipped through.
This commit is contained in:
parent
e491aa84e5
commit
06291d860c
@ -625,8 +625,8 @@ class Locale(Enum):
|
|||||||
norwegian = 'no'
|
norwegian = 'no'
|
||||||
polish = 'pl'
|
polish = 'pl'
|
||||||
brazil_portuguese = 'pt-BR'
|
brazil_portuguese = 'pt-BR'
|
||||||
Romanian = 'ro'
|
romanian = 'ro'
|
||||||
Russian = 'ru'
|
russian = 'ru'
|
||||||
spain_spanish = 'es-ES'
|
spain_spanish = 'es-ES'
|
||||||
swedish = 'sv-SE'
|
swedish = 'sv-SE'
|
||||||
thai = 'th'
|
thai = 'th'
|
||||||
|
@ -2579,11 +2579,11 @@ of :class:`enum.Enum`.
|
|||||||
|
|
||||||
The ``pt-BR`` locale.
|
The ``pt-BR`` locale.
|
||||||
|
|
||||||
.. attribute:: Romanian
|
.. attribute:: romanian
|
||||||
|
|
||||||
The ``ro`` locale.
|
The ``ro`` locale.
|
||||||
|
|
||||||
.. attribute:: Russian
|
.. attribute:: russian
|
||||||
|
|
||||||
The ``ru`` locale.
|
The ``ru`` locale.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user