diff options
author | Evelyn <evy_mcr@outlook.com> | 2015-09-20 13:53:53 -0500 |
---|---|---|
committer | Evelyn <evy_mcr@outlook.com> | 2015-09-20 13:53:53 -0500 |
commit | 9c350b60e87a58e4fcf748fe3c9bc1baa5c04655 (patch) | |
tree | c4fd007e20381daa16ce57ee4f4fcdc8fb8dca2e /config | |
parent | 3e8771097ab7392560fdf07a85c011c23098fd1e (diff) |
adding ability to disable/enable users by admin
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en/users.en.yml | 9 | ||||
-rw-r--r-- | config/locales/es.yml | 8 |
2 files changed, 16 insertions, 1 deletions
diff --git a/config/locales/en/users.en.yml b/config/locales/en/users.en.yml index 89307dd..3cfaef6 100644 --- a/config/locales/en/users.en.yml +++ b/config/locales/en/users.en.yml @@ -55,6 +55,14 @@ en: tickets: "Create and check support tickets." email: "Modify email settings." account: "Destroy your account." + actions: + toggle_user: "Toggle 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 @@ -76,4 +84,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..1081e91 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: "Toggle 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." 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 |