Permalink
Browse files

Additional translations

  • Loading branch information...
1 parent 880d798 commit afdb0926b2987c9cb3282fe15d865c3bae988f46 @ArturG ArturG committed Mar 21, 2013
@@ -440,4 +440,8 @@ a.default_url {
border-top: 3px solid #000;
padding-top: 20px;
text-align: center;
+}
+
+.languages {
+ margin-bottom: 15px;
}
@@ -1,4 +1,11 @@
.translations
+ .languages
+ - if @idea.translated_ideas != nil
+ = t('.notification')
+ %br
+ - @idea.translated_ideas.each do |translation|
+ = link_to translation.language, idea_translated_idea_path(@idea.id, translation.id)
+ %br
= link_to t(".translate_button"), new_idea_translated_idea_path(@idea)
%br
= link_to t(".show_all"), idea_translated_ideas_path(@idea)
@@ -45,9 +45,9 @@
.body
- if @translated_idea.author == current_citizen or administrator_signed_in?
= link_to I18n.t("idea.links.edit_idea"), edit_translated_idea_path(@translated_idea)
- = link_to 'Fork', fork_idea_translated_idea_forked_ideas_path(params[:idea_id], params[:id])
- = link_to 'Fork List', idea_translated_idea_forked_ideas_path(params[:idea_id], params[:id])
- = link_to 'Pull Requests', pull_requests_idea_translated_idea_forked_ideas_path(params[:idea_id], params[:id])
+ = link_to t(".fork"), fork_idea_translated_idea_forked_ideas_path(params[:idea_id], params[:id])
+ = link_to t(".fork_list"), idea_translated_idea_forked_ideas_path(params[:idea_id], params[:id])
+ = link_to t(".pull_requests"), pull_requests_idea_translated_idea_forked_ideas_path(params[:idea_id], params[:id])
= render "ideas/share", idea: @idea
View
@@ -125,6 +125,7 @@ en:
translations:
translate_button: "Create a translation"
show_all: "All Translations"
+ notification: "The current initiative is translated in several languages:"
geolocation:
view_full_map: "View full map"
addresses: "Collection point addresses"
@@ -359,6 +360,8 @@ en:
suggest_experts: "Suggest an expert"
no_statements: "No statements yet"
comments: "Comments"
+ fork: "Fork"
+ pull_requests: "Pull Requests"
original:
original: "Original idea"
forked_ideas:
View
@@ -122,6 +122,7 @@ fi:
translations:
translate_button: "Luo käännös"
show_all: "Kaikki käännökset"
+ notification: "Nykyinen aloite on käännetty useille kielille:"
geolocation:
view_full_map: "Näytä koko kartta"
addresses: "Keräyspisteet osoitteineen"
@@ -456,6 +457,8 @@ fi:
suggest_experts: "Ehdota asiantuntijaa"
no_statements: "Ei vielä lausuntoja"
comments: "Kommentit"
+ fork: "Haarukka"
+ pull_requests: "Vedä pyynnöt"
original:
original: "Alkuperäinen idea"
forked_ideas:

0 comments on commit afdb092

Please sign in to comment.