From d21944a0b63c434785c53fd4941509720658465b Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Tue, 26 May 2015 18:46:55 +0530 Subject: [PATCH] FIX: add missing translation keys --- app/controllers/admin/users_controller.rb | 2 +- config/locales/client.en.yml | 5 +++++ config/locales/server.en.yml | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index 977d1e28d74..b0758e3d108 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -166,7 +166,7 @@ class Admin::UsersController < Admin::AdminController new_lock = params[:locked].to_s unless new_lock =~ /true|false/ - return render_json_error I18n.t('errors.invalid_boolaen') + return render_json_error I18n.t('errors.invalid_boolean') end @user.trust_level_locked = new_lock == "true" diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index 5b06f94e6dd..7030ac4565d 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -423,6 +423,7 @@ en: change_about: title: "Change About Me" + error: "There was an error changing ths value." change_username: title: "Change Username" @@ -440,6 +441,7 @@ en: change_avatar: title: "Change your profile picture" gravatar: "Gravatar, based on" + gravatar_title: "Change your avatar on Gravatar's website" refresh_gravatar_title: "Refresh your Gravatar" letter_based: "System assigned profile picture" uploaded_avatar: "Custom picture" @@ -994,6 +996,7 @@ en: go_top: "top" go_bottom: "bottom" go: "go" + jump_bottom: "jump to last post" jump_bottom_with_number: "jump to post %{post_number}" total: total posts current: current post @@ -2070,6 +2073,8 @@ en: impersonate: title: "Impersonate" help: "Use this tool to impersonate a user account for debugging purposes. You will have to log out once finished." + not_found: "That user can't be found." + invalid: "Sorry, you may not impersonate that user." users: title: 'Users' diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml index feae6e063e1..c71248b1b85 100644 --- a/config/locales/server.en.yml +++ b/config/locales/server.en.yml @@ -2466,3 +2466,6 @@ en: error: "Error!" email_input: "Admin Email" submit_button: "Send Email" + + discourse_hub: + access_token_problem: "Tell an admin: Please update the site settings to include the correct discourse_org_access_key."