diff --git a/amadeus/settings.py b/amadeus/settings.py index daf6ae5..e655a9a 100644 --- a/amadeus/settings.py +++ b/amadeus/settings.py @@ -15,6 +15,7 @@ import os import dj_database_url from django.conf.global_settings import DATETIME_INPUT_FORMATS, DATE_INPUT_FORMATS +from django.utils.translation import ugettext_lazy as _ db_from_ev = dj_database_url.config(conn_max_age=500) @@ -156,6 +157,11 @@ AUTH_PASSWORD_VALIDATORS = [ LANGUAGE_CODE = 'pt-br' +LANGUAGES = [ + ('pt-br', _('Portuguese')), + ('en', _('English')), +] + TIME_ZONE = 'America/Recife' USE_I18N = True diff --git a/amadeus/static/img/brazilicon.png b/amadeus/static/img/brazilicon.png deleted file mode 100644 index ba01c7c..0000000 Binary files a/amadeus/static/img/brazilicon.png and /dev/null differ diff --git a/amadeus/static/img/en.png b/amadeus/static/img/en.png new file mode 100644 index 0000000..f8863a4 Binary files /dev/null and b/amadeus/static/img/en.png differ diff --git a/amadeus/static/img/euaicon.png b/amadeus/static/img/euaicon.png deleted file mode 100644 index f8863a4..0000000 Binary files a/amadeus/static/img/euaicon.png and /dev/null differ diff --git a/amadeus/static/img/pt-br.png b/amadeus/static/img/pt-br.png new file mode 100644 index 0000000..ba01c7c Binary files /dev/null and b/amadeus/static/img/pt-br.png differ diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index 7acb0d4..6090561 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -96,29 +96,35 @@