Commit
2d80432538154d277dfc3da70a653f6e3a2f10e9
Exists in
master
and in
29 other branches
add_member_task_reject_details, admin_visible_profile, article-list-template, community_notifications, contact_admin_translation, event_fixes, fix_comments_pagination, fix_rails4_organization_ratings, fix_sign_up_form, follow_step_fix, forum_topic_creation, mirror_block_improvements, multi_env_on_remote_user, new_security, noosfero_spb_ci, organization_ratings_improvements, organization_ratings_link_to_profile_stable-spb-1.3, organization_ratings_translations_fix, profile_api_improvements, ratings_minor_fixes, remote_user_fix, send_email_to_admins, stable-spb-1.3, stable-spb-1.3-fixes, stable-spb-1.4, stable-spb-1.5, suggest_rejected_value, web_steps_improvements, xss_terminate_custom_options
fix default title of frieds block
(ActionItem2859)
| @@ -9,7 +9,7 @@ class FriendsBlock < PeopleBlockBase |
| @@ -9,7 +9,7 @@ class FriendsBlock < PeopleBlockBase |
9
| end |
9
| end |
10
| |
10
| |
11
| def default_title |
11
| def default_title |
12
| - _('{#} Friends') |
12
| + n_('{#} friend', '{#} friends', profile_count) |
13
| end |
13
| end |
14
| |
14
| |
15
| def profiles |
15
| def profiles |
| @@ -12,7 +12,7 @@ class MembersBlock < PeopleBlockBase |
| @@ -12,7 +12,7 @@ class MembersBlock < PeopleBlockBase |
12
| end |
12
| end |
13
| |
13
| |
14
| def default_title |
14
| def default_title |
15
| - title = role ? role.name : 'Members' |
15
| + title = role ? role.name : n_('members') |
16
| _('{#} %s') % title |
16
| _('{#} %s') % title |
17
| end |
17
| end |
18
| |
18
| |