diff --git a/gas/locale/es/LC_MESSAGES/django.mo b/gas/locale/es/LC_MESSAGES/django.mo index d79b7fe..f3dceff 100644 Binary files a/gas/locale/es/LC_MESSAGES/django.mo and b/gas/locale/es/LC_MESSAGES/django.mo differ diff --git a/gas/locale/es/LC_MESSAGES/django.po b/gas/locale/es/LC_MESSAGES/django.po index b38176a..713ba2c 100644 --- a/gas/locale/es/LC_MESSAGES/django.po +++ b/gas/locale/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-12-22 16:24+0000\n" +"POT-Creation-Date: 2021-01-08 14:15+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -34,12 +34,20 @@ msgstr "Usuarios con acceso al panel de control." msgid "Users with access to everithing inside control panel." msgstr "Usuarios con acceso a todo el panel de control." -#: gas/config.py:14 gas/users/views.py:31 gas/users/views.py:38 -#: gas/users/views.py:48 gas/users/views.py:59 gas/users/views.py:95 -#: gas/users/views.py:107 +#: gas/config.py:14 gas/users/views.py:31 gas/users/views.py:39 +#: gas/users/views.py:49 gas/users/views.py:60 gas/users/views.py:96 +#: gas/users/views.py:108 msgid "Users" msgstr "Usuarios" +#: gas/core/views.py:21 +msgid "Change your password" +msgstr "Cambiar tu contraseña" + +#: gas/core/views.py:22 +msgid "Password changed." +msgstr "Contraseña cambiada." + #: gas/users/forms.py:9 templates/gas/users/user_list.html:10 msgid "Username" msgstr "Usuario" @@ -52,57 +60,61 @@ msgstr "Activo" msgid "Roles" msgstr "Roles" -#: gas/users/views.py:33 +#: gas/users/views.py:32 +msgid "Manage users and set roles." +msgstr "Gestionar usuarios y asignar roles." + +#: gas/users/views.py:34 msgid "New user" msgstr "Nuevo usuario" -#: gas/users/views.py:43 +#: gas/users/views.py:44 msgid "Create user" msgstr "Crear usuario" -#: gas/users/views.py:44 +#: gas/users/views.py:45 msgid "User created" msgstr "Usuario creado" -#: gas/users/views.py:49 +#: gas/users/views.py:50 msgid "Create" msgstr "Crear" -#: gas/users/views.py:54 +#: gas/users/views.py:55 msgid "Update user" msgstr "Actulizar usuario" -#: gas/users/views.py:55 +#: gas/users/views.py:56 msgid "User updated" msgstr "Usuario actualizado" -#: gas/users/views.py:61 +#: gas/users/views.py:62 msgid "Update" msgstr "Actualizar" -#: gas/users/views.py:68 +#: gas/users/views.py:69 msgid "User password updated" msgstr "Contraseña de usuario actualizada" -#: gas/users/views.py:75 +#: gas/users/views.py:76 #, python-brace-format msgid "Change {username} user password" msgstr "Cambiar la contraseña del usuario {username}" -#: gas/users/views.py:97 templates/gas/base.html:23 +#: gas/users/views.py:98 templates/gas/base.html:23 #: templates/gas/users/user_list.html:29 msgid "Change password" msgstr "Cambiar contraseña" -#: gas/users/views.py:102 +#: gas/users/views.py:103 msgid "Delete user" msgstr "Borrar usuario" -#: gas/users/views.py:103 +#: gas/users/views.py:104 msgid "User deleted" msgstr "Usuario borrado" -#: gas/users/views.py:109 templates/gas/delete_confirmation.html:20 +#: gas/users/views.py:110 templates/gas/delete_confirmation.html:20 #: templates/gas/users/user_list.html:30 msgid "Delete" msgstr "Borrar" @@ -131,19 +143,19 @@ msgstr "Salir" msgid "Home" msgstr "Inicio" -#: templates/gas/base_form.html:20 templates/gas/delete_confirmation.html:21 +#: templates/gas/base_form.html:23 templates/gas/delete_confirmation.html:21 msgid "Cancel" msgstr "Cancelar" -#: templates/gas/base_form.html:23 +#: templates/gas/base_form.html:26 msgid "Save" msgstr "Guardar" -#: templates/gas/base_form.html:26 +#: templates/gas/base_form.html:29 msgid "Save and continue" msgstr "Guardar y continuar" -#: templates/gas/base_list.html:24 +#: templates/gas/base_list.html:14 msgid "Filter" msgstr "Filtrar" @@ -159,7 +171,7 @@ msgstr "Resumen" msgid "Objects" msgstr "Objetos" -#: templates/gas/login.html:7 templates/gas/login.html:15 +#: templates/gas/login.html:6 templates/gas/login.html:15 msgid "Login" msgstr "Login" @@ -167,16 +179,15 @@ msgstr "Login" msgid "Edit" msgstr "Editar" -#: views.py:44 +#: views.py:45 msgid "Operation successful." msgstr "Operación realizada." -#: views.py:170 +#: views.py:181 #, python-brace-format -msgid "Are your sure you want to delete {object}?" +msgid "Are you sure you want to delete {object}?" msgstr "¿Seguro que quieres borrar {object}?" -#: views.py:171 -#, python-format -msgid "%(obj)s deleted." -msgstr "" +#: views.py:182 +msgid "{object} deleted." +msgstr "{object} borrado" diff --git a/gas/views.py b/gas/views.py index 5c27440..2c8d04c 100644 --- a/gas/views.py +++ b/gas/views.py @@ -178,7 +178,7 @@ class GASUpdateView(GASMixin, UpdateView): class GASDeleteView(GASMixin, DeleteView): template_name = "gas/delete_confirmation.html" - confirmation_text = _("Are your sure you want to delete {object}?") + confirmation_text = _("Are you sure you want to delete {object}?") deleted_text = _("{object} deleted.") def get_confirmation_text(self):