FIX: add missing translation keys

This commit is contained in:
Arpit Jalan 2015-05-26 18:46:55 +05:30
parent a797f7c664
commit d21944a0b6
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."