Browse Source

Replaced "Hate" with "Dislike" #117

Ralfp 12 years ago
parent
commit
f2b5d94cb8

+ 1 - 1
static/cranefly/css/cranefly.css

@@ -1157,7 +1157,7 @@ a.btn-link:hover,a.btn-link:active,a.btn-link:focus{opacity:0.9;filter:alpha(opa
 .post-votes-list .vote-user .vote-icon{background-color:#999999;border-radius:3px;padding:2px 3px;position:relative;bottom:1.75px;font-size:14px;}.post-votes-list .vote-user .vote-icon i{background-image:url("../img/glyphicons-halflings-white.png");}
 .post-votes-list .vote-user .vote-icon{background-color:#999999;border-radius:3px;padding:2px 3px;position:relative;bottom:1.75px;font-size:14px;}.post-votes-list .vote-user .vote-icon i{background-image:url("../img/glyphicons-halflings-white.png");}
 .post-votes-list a.vote-user:hover,.post-votes-list a.vote-user:active{color:#333333;text-decoration:none;}
 .post-votes-list a.vote-user:hover,.post-votes-list a.vote-user:active{color:#333333;text-decoration:none;}
 .post-votes-list .post-likes .vote-icon{background-color:#46a546;}
 .post-votes-list .post-likes .vote-icon{background-color:#46a546;}
-.post-votes-list .post-hates .vote-icon{background-color:#cf402e;}
+.post-votes-list .post-dislikes .vote-icon{background-color:#cf402e;}
 .post-changelog table td{vertical-align:middle;}.post-changelog table td .change-added,.post-changelog table td .change-removed,.post-changelog table td .change-none{display:block;font-size:28px;font-weight:bold;text-align:right;}.post-changelog table td .change-added.change-small,.post-changelog table td .change-removed.change-small,.post-changelog table td .change-none.change-small{font-size:14px;}
 .post-changelog table td{vertical-align:middle;}.post-changelog table td .change-added,.post-changelog table td .change-removed,.post-changelog table td .change-none{display:block;font-size:28px;font-weight:bold;text-align:right;}.post-changelog table td .change-added.change-small,.post-changelog table td .change-removed.change-small,.post-changelog table td .change-none.change-small{font-size:14px;}
 .post-changelog table td .change-neutral{color:#555555;}
 .post-changelog table td .change-neutral{color:#555555;}
 .post-changelog table td .change-added{color:#46a546;}
 .post-changelog table td .change-added{color:#46a546;}

+ 1 - 1
static/cranefly/css/cranefly/karmas.less

@@ -37,7 +37,7 @@
     }
     }
   }
   }
 
 
-  .post-hates {
+  .post-dislikes {
     .vote-icon {
     .vote-icon {
       background-color: @red;
       background-color: @red;
     }
     }

+ 4 - 4
templates/cranefly/threads/karmas.html

@@ -59,11 +59,11 @@
 
 
     <hr>
     <hr>
 
 
-    <div class="post-hates">
+    <div class="post-dislikes">
       <h2>{% trans count=downvotes|length, votes=downvotes|length|intcomma -%}
       <h2>{% trans count=downvotes|length, votes=downvotes|length|intcomma -%}
-        One hate
+        One dislike
         {%- pluralize -%}
         {%- pluralize -%}
-        {{ votes }} hates
+        {{ votes }} dislikes
         {%- endtrans %}</h2>
         {%- endtrans %}</h2>
       {% if downvotes %}
       {% if downvotes %}
       <table class="table table-striped">
       <table class="table table-striped">
@@ -84,7 +84,7 @@
         </tbody>
         </tbody>
       </table>
       </table>
       {% else %}
       {% else %}
-      <p class="lead">{% trans %}Nobody hated this post.{% endtrans %}</p>
+      <p class="lead">{% trans %}Nobody disliked this post.{% endtrans %}</p>
       {% endif %}
       {% endif %}
     </div>
     </div>
   </div>
   </div>

+ 2 - 2
templates/cranefly/threads/thread.html

@@ -240,10 +240,10 @@
                 {% if user.is_authenticated() and user.pk != post.user_id and acl.threads.can_downvote_posts(forum) %}
                 {% if user.is_authenticated() and user.pk != post.user_id and acl.threads.can_downvote_posts(forum) %}
                 <form action="{% url 'post_downvote' thread=thread.pk, slug=thread.slug, post=post.pk %}" class="form-inline form-downvote" method="post">
                 <form action="{% url 'post_downvote' thread=thread.pk, slug=thread.slug, post=post.pk %}" class="form-inline form-downvote" method="post">
                   <input type="hidden" name="{{ csrf_id }}" value="{{ csrf_token }}">
                   <input type="hidden" name="{{ csrf_id }}" value="{{ csrf_token }}">
-                  <button type="submit" class="btn btn-link post-hate"{% if post.karma_vote and post.karma_vote.score < 0 %} disabled="disabled"{% endif %}>{% trans %}Hate{% endtrans %}</button>
+                  <button type="submit" class="btn btn-link post-hate"{% if post.karma_vote and post.karma_vote.score < 0 %} disabled="disabled"{% endif %}>{% trans %}Dislike{% endtrans %}</button>
                 </form>
                 </form>
                 {% elif acl.threads.can_see_post_score(forum) == 2 %}
                 {% elif acl.threads.can_see_post_score(forum) == 2 %}
-                <span class="post-{% if post.downvotes %}hate{% else %}neutral{% endif %}">{% trans %}Hates{% endtrans %}</span>
+                <span class="post-{% if post.downvotes %}hate{% else %}neutral{% endif %}">{% trans %}Dislikes{% endtrans %}</span>
                 {% endif %}
                 {% endif %}
               </div>
               </div>
               {% if acl.threads.can_see_post_votes(forum) %}
               {% if acl.threads.can_see_post_votes(forum) %}