From c7e426b8edd3a7fb62ca30cc9ce09bf94757386f Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Sat, 14 Jul 2018 23:46:18 +0300 Subject: [PATCH] Extract translations --- config/locales/api_users.en.yml | 13 +++++++++++++ config/locales/en.yml | 10 ---------- 2 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 config/locales/api_users.en.yml diff --git a/config/locales/api_users.en.yml b/config/locales/api_users.en.yml new file mode 100644 index 000000000..724306e4a --- /dev/null +++ b/config/locales/api_users.en.yml @@ -0,0 +1,13 @@ +en: + activerecord: + errors: + models: + api_user: + attributes: + username: + blank: 'Username is missing' + taken: 'Username already exists' + password: + blank: 'Password is missing' + registrar: + blank: 'Registrar is missing' \ No newline at end of file diff --git a/config/locales/en.yml b/config/locales/en.yml index 2afbb45a5..6efaab51f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -135,16 +135,6 @@ en: registrar: blank: 'Registrar is missing' - api_user: - attributes: - username: - blank: 'Username is missing' - taken: 'Username already exists' - password: - blank: 'Password is missing' - registrar: - blank: 'Registrar is missing' - dnskey: attributes: alg: