# HG changeset patch # User bsw # Date 1340920859 -7200 # Node ID 77aeeb16b7c7bc65fa0980badf8217d21ff64ce1 # Parent e571c73a21d9dc8c280e5ce0e44ae0896c1c369e Corrected text for unit/area view at member page diff -r e571c73a21d9 -r 77aeeb16b7c7 app/main/index/_member_home.lua --- a/app/main/index/_member_home.lua Thu Jun 28 23:59:08 2012 +0200 +++ b/app/main/index/_member_home.lua Fri Jun 29 00:00:59 2012 +0200 @@ -90,9 +90,17 @@ local more_area_text if area_count == 0 and more_area_count == 1 then - more_area_text = _("You are not participating in the only area of the unit") + if app.session.member_id == member.id then + more_area_text = _("You are not participating in the only area of the unit") + else + more_area_text = _("Member is not participating in the only area of the unit") + end elseif area_count == 0 and more_area_count > 0 then - more_area_text = _("You are not participating in any of the #{count} areas in this unit", { count = more_area_count }) + if app.session.member_id == member.id then + more_area_text = _("You are not participating in any of the #{count} areas in this unit", { count = more_area_count }) + else + more_area_text = _("Member is not participating in any of the #{count} areas in this unit", { count = more_area_count }) + end elseif area_count > 0 and more_area_count == 1 then more_area_text = _("One more area in this unit") elseif area_count > 0 and more_area_count > 0 then