From a2b6740fed3f91fd3c99a1c0e9feeee7ac4c5f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Fri, 20 Sep 2013 13:21:08 +0200 Subject: [PATCH] pluralize admins.user_search.you_currently --- app/views/admins/user_search.html.haml | 2 +- config/locales/diaspora/en.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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)"