summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorazul <azul@leap.se>2015-10-19 11:15:17 +0200
committerazul <azul@leap.se>2015-10-19 11:15:17 +0200
commitc2cc1a48a4faeff4088cdf5f56e6b0382acfb346 (patch)
tree33b41304f30166182af2ff989b20d43efd75f183 /config
parentfd55d71cd1cbadcc5378601c0c9dfa6292bd4725 (diff)
parent02c1e607bf8beb1f576307a7ad87f0cdbe3381c0 (diff)
Merge pull request #196 from EvyW/develop
Admin - Ability to enable/disable user
Diffstat (limited to 'config')
-rw-r--r--config/locales/en/users.en.yml9
-rw-r--r--config/locales/es.yml8
2 files changed, 16 insertions, 1 deletions
diff --git a/config/locales/en/users.en.yml b/config/locales/en/users.en.yml
index 4c6bbc0..bc8c19d 100644
--- a/config/locales/en/users.en.yml
+++ b/config/locales/en/users.en.yml
@@ -57,6 +57,14 @@ en:
tickets: "Create and check support tickets."
email: "Modify email settings."
account: "Destroy your account."
+ actions:
+ toggle_user: "Enable / Disable User"
+ enable_user: "Enable User"
+ disable_user: "Disable User"
+ confirm_user_deactivation: "Are you sure you want to deactive user with username '%{username}'?"
+ confirm_user_activation: "Are you sure you want to activate user with username '%{username}'?"
+ user_disabled_message: "User with username '%{username}' has been disabled."
+ user_enabled_message: "User with username '%{username}' has been enabled."
#
# rails
@@ -78,4 +86,3 @@ en:
placeholders:
user:
email_forward: "my_other_email@domain.net"
-
diff --git a/config/locales/es.yml b/config/locales/es.yml
index 2a36b6e..f745257 100644
--- a/config/locales/es.yml
+++ b/config/locales/es.yml
@@ -110,6 +110,14 @@ es:
user:
one: Usuario
other: '%{count} usuarios'
+ actions:
+ toggle_user: "Activar / Desactivar Usuario"
+ enable_user: "Activar Usuario"
+ disable_user: "Desactivar Usuario"
+ confirm_user_deactivation: "Estás seguro que quieres desactivar al usuario con nombre '%{username}'?"
+ confirm_user_activation: "Estás seguro que quieres activar al usuario con nombre '%{username}'?"
+ user_disabled_message: "Usuario con nombre '%{username}' ha sido desactivado."
+ user_enabled_message: "Usuario con nombre '%{username}' ha sido activado."
create_new_customer: Crear un nuevo Cliente de Braintree
must_create_customer: Tiene que almacenar un cliente en Braintree antes de suscribirse a un plan
subscribe: Suscribirse