diff --git a/app/views/admins/user_search.html.haml b/app/views/admins/user_search.html.haml index c5329f771..7efb5d775 100644 --- a/app/views/admins/user_search.html.haml +++ b/app/views/admins/user_search.html.haml @@ -4,7 +4,7 @@ .span-24.prepend-4 %h3 - != t('.you_currently', :user_invitation => current_user.invitation_code.count, :link => link_to(t(".add_invites"), add_invites_path(current_user.invitation_code))) + != t('.you_currently', :count => current_user.invitation_code.count, :link => link_to(t(".add_invites"), add_invites_path(current_user.invitation_code))) = form_tag 'admin_inviter', :method => :get do = t('.email_to') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index 2830a5650..6a96c32e9 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -96,7 +96,10 @@ en: correlations: correlations_count: "Correlations with Sign In Count:" user_search: - you_currently: "you currently have %{user_invitation} invites left %{link}" + you_currently: + zero: "you currently have no invites left %{link}" + one: "you currently have one invite left %{link}" + other: "you currently have %{count} invites left %{link}" add_invites: "add invites" email_to: "Email to Invite" under_13: "Show users that are under 13 (COPPA)"