Refactor translates and indent.

This commit is contained in:
taitus
2017-08-30 16:42:53 +02:00
parent 9c7cd7d864
commit 47f897840a
3 changed files with 9 additions and 12 deletions

View File

@@ -35,15 +35,12 @@
<% end %>
<% else %>
<h3>
<%= t("community.show.create_first_community_topic.first_theme") %>
</h3>
<% if user_signed_in? %>
<%= t("community.show.create_first_community_topic.first_theme_not_logged_in") %>
<% else %>
<%= t("community.show.create_first_community_topic.sub_first_theme",
link: link_to(t("community.show.create_first_community_topic.sign_link",
org_name: setting['org_name']), new_user_session_path)).html_safe %>
<h3><%= t("community.show.create_first_community_topic.first_theme") %></h3>
<% if user_signed_in? %>
<%= t("community.show.create_first_community_topic.first_theme_not_logged_in") %>
<% else %>
<%= t("community.show.create_first_community_topic.sub_first_theme",
link: link_to(t("community.show.create_first_community_topic.sign_link",
org_name: setting['org_name']), new_user_session_path)).html_safe %>
<% end %>
<% end %>

View File

@@ -15,7 +15,7 @@ en:
first_theme_not_logged_in: No issue yet available, participate creating the first one. Click on the create new topic button.
first_theme: Create the first community topic
sub_first_theme: To create a theme you have to %{link}
sign_link: "access in %{org_name}"
sign_link: "access %{org_name}"
tab:
participants: Participants
sidebar:

View File

@@ -15,7 +15,7 @@ es:
first_theme_not_logged_in: Aún no hay ningun tema disponible, participa creando el primero. Haz click en el botón crear nuevo tema.
first_theme: Crea el primer tema de la comunidad
sub_first_theme: Para crear un tema tienes que %{link}
sign_link: "acceder en %{org_name}"
sign_link: "acceder a %{org_name}"
tab:
participants: Participantes
sidebar: