- | <%= t('org_admin.questions.themes_label')%> |
+ <%= _('Themes')%> |
<% i = 1%>
<% themes_q.each do |t|%>
<%= t.title %>
@@ -123,10 +123,10 @@
<% if (@edit && question.section.modifiable) || question.section.phase.template.customization_of.present? %>
<%= hidden_field_tag :question_id, question.id, class: "question_id" %>
- <%= link_to t("org_admin.questions.question_edit_button"), '# ', class: "btn btn-primary edit_question_button"%>
+ <%= link_to _('Edit question'), '# ', class: "btn btn-primary edit_question_button"%>
<% if !question.section.published? %>
- <%= link_to t("org_admin.questions.question_delete_button"), admin_destroy_question_path(question_id: question.id),
- confirm: t("org_admin.questions.delete_message", question_text: question.text ), method: :delete, class: "btn btn-primary"%>
+ <%= link_to _('Delete question'), admin_destroy_question_path(question_id: question.id),
+ confirm: _('You are about to delete '%{question_text}'. Are you sure?') % { :question_text => question.text }, method: :delete, class: "btn btn-primary"%>
<% end %>
<% elsif !@edit && question.modifiable %>
@@ -135,7 +135,7 @@
<% end %>
|