From bc9c852e25a3213365e873a243c725301a0b1ce6 Mon Sep 17 00:00:00 2001 From: maxwell <maxwell@joindiaspora.com> Date: Wed, 20 Oct 2010 17:52:07 -0700 Subject: [PATCH] fixed translation showing en on person show page when the person had no posts --- app/views/people/show.html.haml | 2 +- config/locales/diaspora/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/people/show.html.haml b/app/views/people/show.html.haml index faa4e4bf54..a20026e4f1 100644 --- a/app/views/people/show.html.haml +++ b/app/views/people/show.html.haml @@ -37,5 +37,5 @@ = render type_partial(post), :post => post unless post.class == Album = will_paginate @posts - else - %h3=t('no posts to display!') + %h3= t('.no_posts') diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index ab6021d8f3..101080ef88 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -217,6 +217,7 @@ en: save: "save" are_you_sure: "Are you sure?" remove_friend: "remove friend" + no_posts: "no posts to display!" requests: new_request: add_a_new_friend_to: "Add a new friend to" -- GitLab