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 new_lock = params[:locked].to_s
unless new_lock =~ /true|false/ unless new_lock =~ /true|false/
return render_json_error I18n.t('errors.invalid_boolaen') return render_json_error I18n.t('errors.invalid_boolean')
end end
@user.trust_level_locked = new_lock == "true" @user.trust_level_locked = new_lock == "true"

View file

@ -423,6 +423,7 @@ en:
change_about: change_about:
title: "Change About Me" title: "Change About Me"
error: "There was an error changing ths value."
change_username: change_username:
title: "Change Username" title: "Change Username"
@ -440,6 +441,7 @@ en:
change_avatar: change_avatar:
title: "Change your profile picture" title: "Change your profile picture"
gravatar: "<a href='//gravatar.com/emails' target='_blank'>Gravatar</a>, based on" 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" refresh_gravatar_title: "Refresh your Gravatar"
letter_based: "System assigned profile picture" letter_based: "System assigned profile picture"
uploaded_avatar: "Custom picture" uploaded_avatar: "Custom picture"
@ -994,6 +996,7 @@ en:
go_top: "top" go_top: "top"
go_bottom: "bottom" go_bottom: "bottom"
go: "go" go: "go"
jump_bottom: "jump to last post"
jump_bottom_with_number: "jump to post %{post_number}" jump_bottom_with_number: "jump to post %{post_number}"
total: total posts total: total posts
current: current post current: current post
@ -2070,6 +2073,8 @@ en:
impersonate: impersonate:
title: "Impersonate" title: "Impersonate"
help: "Use this tool to impersonate a user account for debugging purposes. You will have to log out once finished." 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: users:
title: 'Users' title: 'Users'

View file

@ -2466,3 +2466,6 @@ en:
error: "Error!" error: "Error!"
email_input: "Admin Email" email_input: "Admin Email"
submit_button: "Send 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."