Skip to content

Commit

Permalink
Add translations to the answer section
Browse files Browse the repository at this point in the history
  • Loading branch information
ahukkanen committed Feb 8, 2024
1 parent 5d347cf commit 6db4b05
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ answers = linked_plans.map { |plan| translated_attribute(plan.answer) }.select {
<% if answers.any? %>
<div class="banner bg-silver-medium-light">
<div class="banner__content">
<h2 class="h3">Ehdotuksen vastaus</h2>
<h2 class="h3"><%= t(".title") %></h2>

<% answers.each do |answer| %>
<%== answer %>
Expand Down
2 changes: 2 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ en:
show_comments: Show proposal comments
show_on_map: Show proposal on map
print: Print proposal
project_answer:
title: Evaluation of the proposal
project_budget_button:
add_descriptive: Add proposal %{resource_name} to your vote
added_descriptive: Proposal %{resource_name} added to your vote
Expand Down
2 changes: 2 additions & 0 deletions config/locales/fi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ fi:
show_comments: Katso ehdotuksen kommentit
show_on_map: Katso ehdotus kartalla
print: Tulosta ehdotus
project_answer:
title: Ehdotuksen arviointi
project_budget_button:
add_descriptive: Lisää ehdotus %{resource_name} ääneesi
added_descriptive: Ehdotus %{resource_name} lisätty ääneesi
Expand Down
2 changes: 2 additions & 0 deletions config/locales/sv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ sv:
show_comments: Visa kommentarer om förslaget
show_on_map: Visa förslag på karta
print: Skriv ut förslag
project_answer:
title: Utvärdering av förslaget
project_budget_button:
add_descriptive: Lägg till förslag %{resource_name} i din röst
added_descriptive: Förslaget %{resource_name} har lagts till i din röst
Expand Down

0 comments on commit 6db4b05

Please sign in to comment.