'sort by:'translatable

This commit is contained in:
MrZYX 2011-02-19 11:39:28 +01:00
parent 778afa2889
commit 124ac738ea
2 changed files with 10 additions and 9 deletions

View file

@ -5,7 +5,7 @@
= render 'shared/publisher', :aspect => aspect, :aspect_ids => aspect_ids = render 'shared/publisher', :aspect => aspect, :aspect_ids => aspect_ids
.prepend-11 .prepend-11
sort by: = t('.sort_by')
= link_to_if(params[:created_at], t('.activity'), aspects_path(:a_ids => params[:a_ids])) = link_to_if(params[:created_at], t('.activity'), aspects_path(:a_ids => params[:a_ids]))
| |
= link_to_unless(params[:created_at], t('.post_time'), aspects_path(:a_ids => params[:a_ids], :created_at => true )) = link_to_unless(params[:created_at], t('.post_time'), aspects_path(:a_ids => params[:a_ids], :created_at => true ))

View file

@ -32,8 +32,8 @@ en:
_comments: "Comments" _comments: "Comments"
_comment: "Comment" _comment: "Comment"
more: "More" more: "More"
next: 'next' next: "next"
previous: 'previous' previous: "previous"
contacts: contacts:
zero: "no contacts" zero: "no contacts"
one: "1 contact" one: "1 contact"
@ -47,7 +47,7 @@ en:
accepts: "Once %{name} accepts, you'll start seeing each other's posts on Diaspora" accepts: "Once %{name} accepts, you'll start seeing each other's posts on Diaspora"
add_new_aspect: "add to new aspect" add_new_aspect: "add to new aspect"
create: create:
failure: 'Failed to create contact' failure: "Failed to create contact"
new_requests: new_requests:
zero: "no new requests" zero: "no new requests"
one: "new request!" one: "new request!"
@ -111,7 +111,7 @@ en:
have_a_problem: "Have a problem? Find an answer here" have_a_problem: "Have a problem? Find an answer here"
your_aspects: "your aspects" your_aspects: "your aspects"
logged_in_as: "logged in as %{name}" logged_in_as: "logged in as %{name}"
toggle: 'toggle mobile site' toggle: "toggle mobile site"
shared: shared:
publisher: publisher:
mention_helper_text: "to mention someone, press '@' and start typing their name" mention_helper_text: "to mention someone, press '@' and start typing their name"
@ -170,8 +170,9 @@ en:
aspect_contacts: aspect_contacts:
done_editing: "done editing" done_editing: "done editing"
aspect_stream: aspect_stream:
activity: 'activity' sort_by: "sort by:"
post_time: 'post time' activity: "activity"
post_time: "post time"
show: show:
edit_aspect: "edit aspect" edit_aspect: "edit aspect"
no_contacts_message: no_contacts_message:
@ -224,8 +225,8 @@ en:
comment_on_post: "commented on your" comment_on_post: "commented on your"
also_commented: "also commented on your contact's" also_commented: "also commented on your contact's"
mentioned: "has mentioned you in their" mentioned: "has mentioned you in their"
post: 'post' post: "post"
deleted: 'deleted' deleted: "deleted"
index: index:
notifications: "Notifications" notifications: "Notifications"
mark_all_as_read: "Mark All as Read" mark_all_as_read: "Mark All as Read"