Bring the likes back. Ditch the pins.

Revert "swap pin for heart [ci skip]"

This reverts commit 488e064e11.

Conflicts:

	app/views/templates/likes_info.jst

Revert "reference pin icon in mobile view [ci skip]"

This reverts commit 9377dd30f4.

Revert "first pass at strickly user level rename from like => pin. still need to update assets"

This reverts commit d06ccb9ba9.

Conflicts:

	config/locales/diaspora/en.yml

add heart icon back
This commit is contained in:
danielgrippi 2012-02-13 16:48:00 -08:00
parent 5f4ebc94bb
commit ab76b0cd8e
11 changed files with 38 additions and 38 deletions

View file

@ -3,7 +3,7 @@
-# the COPYRIGHT file.
- if likes_count > 0
= image_tag('icons/pin.png')
= image_tag('icons/heart.png')
- if target_type == "Comment"
= link_to t('likes.likes.people_like_this_comment', :count => likes_count), comment_likes_path(target_id), :class => "expand_likes"
- else

View file

@ -369,13 +369,13 @@ en:
likes:
likes:
people_pin_this:
zero: "no pins"
one: "%{count} pin"
two: "%{count} pins"
few: "%{count} pins"
many: "%{count} pins"
other: "%{count} pins"
people_like_this:
zero: "no likes"
one: "%{count} like"
two: "%{count} likes"
few: "%{count} likes"
many: "%{count} likes"
other: "%{count} likes"
people_like_this_comment:
zero: "no likes"
one: "%{count} like"
@ -428,12 +428,12 @@ en:
many: "%{actors} have mentioned you in a %{post_link}."
other: "%{actors} have mentioned you in a %{post_link}."
liked:
zero: "%{actors} have pinned your %{post_link}."
one: "%{actors} has pinned your %{post_link}."
two: "%{actors} have pinned your %{post_link}."
few: "%{actors} have pinned your %{post_link}."
many: "%{actors} have pinned your %{post_link}."
other: "%{actors} have pinned your %{post_link}."
zero: "%{actors} have liked your %{post_link}."
one: "%{actors} has liked your %{post_link}."
two: "%{actors} have liked your %{post_link}."
few: "%{actors} have liked your %{post_link}."
many: "%{actors} have liked your %{post_link}."
other: "%{actors} have liked your %{post_link}."
reshared:
zero: "%{actors} have reshared your %{post_link}."
one: "%{actors} has reshared your %{post_link}."
@ -450,12 +450,12 @@ en:
many: "%{actors} commented on a deleted post."
other: "%{actors} commented on a deleted post."
liked_post_deleted:
zero: "%{actors} pinned your deleted post."
one: "%{actors} pinned your deleted post."
two: "%{actors} pinned your deleted post."
few: "%{actors} pinned your deleted post."
many: "%{actors} pinned your deleted post."
other: "%{actors} pinned your deleted post."
zero: "%{actors} liked your deleted post."
one: "%{actors} liked your deleted post."
two: "%{actors} liked your deleted post."
few: "%{actors} liked your deleted post."
many: "%{actors} liked your deleted post."
other: "%{actors} liked your deleted post."
reshared_post_deleted:
zero: "%{actors} reshared your deleted post."
one: "%{actors} reshared your deleted post."
@ -512,7 +512,7 @@ en:
private_message:
reply_to_or_view: "Reply to or view this conversation >"
liked:
liked: "%{name} pinned your post"
liked: "%{name} liked your post"
view_post: "View post >"
reshared:
reshared: "%{name} reshared your post"
@ -820,8 +820,8 @@ en:
ignore_user: "Ignore %{name}"
ignore_user_description: "Ignore and remove user from all aspects?"
hide_and_mute: "Hide and mute post"
pin: "Pin"
unpin: "Unpin"
like: "Like"
unlike: "Unlike"
dislike: "Dislike"
shared_with: "Shared with: %{aspect_names}"
nsfw: "This post has been flagged as NSFW by its author. %{link}"
@ -908,8 +908,8 @@ en:
contacts_title: "People whose posts you commented on"
like_stream:
title: "Pin Stream"
contacts_title: "People whose posts you pinned"
title: "Like Stream"
contacts_title: "People whose posts you like"
followed_tag:
title: "#Followed Tags"
@ -963,7 +963,7 @@ en:
mentioned: "...you are mentioned in a post?"
started_sharing: "...someone starts sharing with you?"
private_message: "...you receive a private message?"
liked: "...someone pins your post?"
liked: "...someone likes your post?"
reshared: "...someone reshares your post?"
change: "Change"
email_awaiting_confirmation: "We have sent you an activation link to %{unconfirmed_email}. Until you follow this link and activate the new address, we will continue to use your original address %{email}."

View file

@ -53,7 +53,7 @@ en:
many: "In <%= count %> aspects"
other: "In <%= count %> aspects"
show_more: "show more"
failed_to_like: "Failed to pin!"
failed_to_like: "Failed to like!"
failed_to_post_message: "Failed to post message!"
comments:
show: "show all comments"
@ -78,20 +78,20 @@ en:
hide: "Hide"
public: "Public"
limited: "Limited"
like: "Pin"
unlike: "Unpin"
like: "Like"
unlike: "Unlike"
reshare: "Reshare"
comment: "Comment"
original_post_deleted: "Original post deleted by author."
show_post: "Show post"
likes:
zero: "<%= count %> Pins"
one: "<%= count %> Pin"
two: "<%= count %> Pins"
few: "<%= count %> Pins"
many: "<%= count %> Pins"
other: "<%= count %> Pins"
zero: "<%= count %> Likes"
one: "<%= count %> Like"
two: "<%= count %> Likes"
few: "<%= count %> Likes"
many: "<%= count %> Likes"
other: "<%= count %> Likes"
reshares:
zero: "<%= count %> Reshares"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -2,7 +2,7 @@
<div class="comment">
<div class="media">
<span class="img">
<img alt="Heart" src="{{imageUrl "/images/icons/pin.png"}}" />
<img alt="Heart" src="{{imageUrl "/images/icons/heart.png"}}" />
</span>
<div class="bd">

View file

@ -429,9 +429,9 @@ footer {
}
.like_action {
background-image: url("/images/icons/pin_mobile_grey.png");
background-image: url("/images/icons/heart_mobile_grey.png");
&.active {
background-image: url("/images/icons/pin_mobile_red.png");
background-image: url("/images/icons/heart_mobile_red.png");
}
}