Merge pull request #3504 from techAPJ/patch-4

FIX: add missing translation keys
This commit is contained in:
Régis Hanol 2015-05-26 16:08:39 +02:00
commit 7b03c7dbc4
3 changed files with 9 additions and 1 deletions

View file

@ -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"

View file

@ -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: "<a href='//gravatar.com/emails' target='_blank'>Gravatar</a>, 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'

View file

@ -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."