Changed some translations.

This commit is contained in:
Alessandro Cuoghi
2017-08-08 18:14:48 +02:00
committed by taitus
parent e5fb90f954
commit 322ecf4fd5
7 changed files with 69 additions and 15 deletions

View File

@@ -33,7 +33,7 @@
} }
} }
.communities-participants{ .communities-participant{
.comment-body{ .comment-body{
display: inline-block; display: inline-block;
float: left; float: left;

View File

@@ -1,3 +1,4 @@
<div class="communities-show">
<div class="jumbo light"> <div class="jumbo light">
<div class="row"> <div class="row">
<div class="small-12 column"> <div class="small-12 column">
@@ -7,6 +8,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="small-12 medium-9 column"> <div class="small-12 medium-9 column">
@@ -22,13 +24,12 @@
</div> </div>
</div> </div>
<div class="row column communities-participants"> <div class="row column communities-participant">
<ul class="tabs" data-tabs id="communities-show-tabs"> <ul class="tabs" data-tabs id="communities-show-tabs">
<li class="tabs-title is-active"> <li class="tabs-title is-active">
<%= link_to "#tab-participantes" do %> <%= link_to "#tab-participantes" do %>
<h3> <h3>
Participantes <%= t("community.tab.participant") %>
<!-- Sebas Check count of topics -->
<span class="js-comments-count">(<%= @participants.count %>)</span> <span class="js-comments-count">(<%= @participants.count %>)</span>
</h3> </h3>
<% end %> <% end %>

View File

@@ -1,10 +1,10 @@
<div class="row"> <div class="row">
<div class="small-12 column"> <div class="small-12 column">
<ul class="tabs" data-tabs id="proposals-tabs"> <ul class="tabs" data-tabs id="topics-tabs">
<li class="tabs-title is-active"> <li class="tabs-title is-active">
<%= link_to "#tab-comments" do %> <%= link_to "#tab-comments" do %>
<h3> <h3>
<%= t("topics.show.comments_tab") %> <%= t("community.topic.show.tab.comments_tab") %>
<span class="js-comments-count">(<%= @topic.comments_count %>)</span> <span class="js-comments-count">(<%= @topic.comments_count %>)</span>
</h3> </h3>
<% end %> <% end %>

View File

@@ -25,5 +25,5 @@
</div> </div>
<% end %> <% end %>
<% else %> <% else %>
Crea el primer tema de la comunidad!!! <h4><%= t("community.create_first_community_theme") %></h4>
<% end %> <% end %>

View File

@@ -2,7 +2,8 @@
<div class="small-12 medium-12 column"> <div class="small-12 medium-12 column">
<%= render "shared/back_link" %> <%= render "shared/back_link" %>
<br> <br>
<p>Comunidad de la propuesta: <strong><%= @community.proposal.title %></strong></p>
<p><%= t("community.topic.show.community_of_the_proposal") %> <strong><%= @community.proposal.title %></strong></p>
<h1><%= @topic.title %></h1> <h1><%= @topic.title %></h1>
<div class="topic-info"> <div class="topic-info">
<%= render '/shared/author_info', resource: @topic %> <%= render '/shared/author_info', resource: @topic %>
@@ -13,7 +14,7 @@
<span class="icon-comments"></span>&nbsp; <span class="icon-comments"></span>&nbsp;
</div> </div>
<div class="tabs-content" data-tabs-content="proposals-tabs" role="tablist"> <div class="tabs-content" data-tabs-content="topics-tabs" role="tablist">
<%= render "topics/filter_subnav" %> <%= render "topics/filter_subnav" %>
<div class="tabs-panel is-active" id="tab-comments"> <div class="tabs-panel is-active" id="tab-comments">
<%= render "topics/comments" %> <%= render "topics/comments" %>

View File

@@ -0,0 +1,41 @@
en:
community:
create_first_community_theme: Create the first community theme
join_the_community_of_users: Join the community of users, give your opinion.
tab:
participant: Participants
sidebar:
title: Community
description: Join the community of users, give your opinion.
button_to_access: Access the community
topic:
title: Participants
new_topic: Create topic
edit_topic: Edit theme
recommendations_title: Recommendations to create a theme
recommendation_one: Do not write the topic title or whole sentences in capital letters. On the internet that is considered shouting. And no one likes to be yelled at.
recommendation_two: Any topic or comment that implies an illegal action will be eliminated, also those that intend to sabotage the spaces of the subject, everything else is allowed.
recommendation_three: Enjoy this space, the voices that fill it, it's yours too
without_topics: Create the first community topic
show:
title: User community
description: Participate in the community of this proposal
participants: Participants
topic:
create: Create a theme
edit_button: Edit
form:
topic_title: Topic Title
topic_description_as_comment: Initial comment
new:
submit_button: Create theme
edit:
submit_button: Edit theme
show:
community_of_the_proposal: Community of the proposal
tab:
comments_tab: Comments

View File

@@ -1,5 +1,10 @@
es: es:
community: community:
create_first_community_theme: Crea el primer tema de la comunidad
join_the_community_of_users: Partecipa a la comunidad de usuarios, da tu opinión.
tab:
participant: Participantes
sidebar: sidebar:
title: Comunidad title: Comunidad
description: Partecipa a la comunidad de usuarios, da tu opinión. description: Partecipa a la comunidad de usuarios, da tu opinión.
@@ -11,10 +16,12 @@ es:
recommendation_one: No escribas el título del tema o frases enteras en mayúsculas. En internet eso se considera gritar. Y a nadie le gusta que le griten. recommendation_one: No escribas el título del tema o frases enteras en mayúsculas. En internet eso se considera gritar. Y a nadie le gusta que le griten.
recommendation_two: Cualquier tema o comentario que implique una acción ilegal será eliminada, también las que tengan la intención de sabotear los espacios del tema, todo lo demás está permitido. recommendation_two: Cualquier tema o comentario que implique una acción ilegal será eliminada, también las que tengan la intención de sabotear los espacios del tema, todo lo demás está permitido.
recommendation_three: Disfruta de este espacio, de las voces que lo llenan, también es tuyo recommendation_three: Disfruta de este espacio, de las voces que lo llenan, también es tuyo
without_topics: Crea el primer tema de la comunidad
show: show:
title: Comunidad de usuarios title: Comunidad de usuarios
description: Participa en la comunidad de esta propuesta description: Participa en la comunidad de esta propuesta
paricipants: Participantes
topic: topic:
create: Crear un tema create: Crear un tema
@@ -26,3 +33,7 @@ es:
submit_button: Crear tema submit_button: Crear tema
edit: edit:
submit_button: Editar tema submit_button: Editar tema
show:
community_of_the_proposal: Comunidad de la propuesta
tab:
comments_tab: Comentarios