The `lambda` statement in `base.py` is unnecessary and has no effect.
```py
ugettext = lambda s: s
LANGUAGES = (
("en", ugettext("English")),
("de", ugettext("German")),
("es", ugettext("Spanish")),
("zh-hans", ugettext("Chinese Simplified")),
("ru", ugettext("Russian")),
("ko", ugettext("Korean")),
("fr", ugettext("French")),
("ja", ugettext("Japanese")),
("it", ugettext("Italian")),
)
```
In this case `ugettext = lambda s: s` is pretty much the same as:
```py
def ugettext(s):
return s
```
And would simply return the string the function receives as parameter.
So we can omit this completely and simplify the `LANGUAGES` list to:
```py
LANGUAGES = (
("en", "English"),
("de", "German"),
("es", "Spanish"),
("zh-hans", "Chinese Simplified"),
("ru", "Russian"),
("ko", "Korean"),
("fr", "French"),
("ja", "Japanese"),
("it", "Italian"),
)
```
Examples:
RemovedInDjango50Warning: The USE_L10N setting is deprecated. Starting with Django 5.0, localized formatting of data will always be enabled. For example Django will display numbers and dates using the format of the current locale.
warnings.warn(USE_L10N_DEPRECATED_MSG, RemovedInDjango50Warning)
RemovedInDjango41Warning: 'allianceauth' defines default_app_config = 'allianceauth.apps.AllianceAuthConfig'. Django now detects this configuration automatically. You can remove default_app_config.
app_config = AppConfig.create(entry)
We need a refresh token to monitor character ownership but don't need any scopes explicitly. publicData provides no private information but grants a refresh token.
https://github.com/ccpgames/sso-issues/issues/17
Rumor has it this scope isn't going away with CREST.
adarnauth-esi will automatically create a new scope model when it encounters one it doesn't recognize.