|
@@ -43,9 +42,9 @@
|
<% if section[:questions].present? %>
- <% (1..section[:questions].length).each do |question_no|%>
- -
- - <%= raw section[:questions][question_no][:data].text %>
+ <% (section[:questions].values.sort_by { |key| key[:data][:number] }).each do |question| %>
+
-
+ - <%= raw question[:data].text %>
<% end %>
diff --git a/config/locale/app.pot b/config/locale/app.pot
index 1e57dc4..cef3cb2 100644
--- a/config/locale/app.pot
+++ b/config/locale/app.pot
@@ -8,8 +8,8 @@
msgstr ""
"Project-Id-Version: app 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2017-05-26 15:50+0100\n"
-"PO-Revision-Date: 2017-05-26 15:50+0100\n"
+"POT-Creation-Date: 2017-05-31 12:56+0100\n"
+"PO-Revision-Date: 2017-05-31 12:56+0100\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"Language: \n"
@@ -501,7 +501,7 @@
msgid "Edit"
msgstr ""
-msgid "Edit Example of Answer"
+msgid "Edit Example Answer"
msgstr ""
msgid "Edit User Privileges"
@@ -567,12 +567,6 @@
msgid "Example Answer"
msgstr ""
-msgid "Example of Answer"
-msgstr ""
-
-msgid "Example of answer"
-msgstr ""
-
msgid "Export"
msgstr ""
@@ -1575,9 +1569,6 @@
msgid "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
msgstr ""
-msgid "by"
-msgstr ""
-
msgid "by "
msgstr ""
diff --git a/config/locale/de/app.po b/config/locale/de/app.po
index 7251de4..1da96cc 100644
--- a/config/locale/de/app.po
+++ b/config/locale/de/app.po
@@ -535,7 +535,7 @@
msgstr "Bearbeiten"
#, fuzzy
-msgid "Edit Example of Answer"
+msgid "Edit Example Answer"
msgstr "Beispielantwort"
msgid "Edit User Privileges"
@@ -603,13 +603,6 @@
msgid "Example Answer"
msgstr "Beispielantwort"
-#, fuzzy
-msgid "Example of Answer"
-msgstr "Beispielantwort"
-
-msgid "Example of answer"
-msgstr "Beispielantwort"
-
msgid "Export"
msgstr "Export"
@@ -1672,9 +1665,6 @@
msgid "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
msgstr "annährend %{space_used}% des verfügbaren Platzes wird verwendet (max. %{num_pages} Seiten)"
-msgid "by"
-msgstr ""
-
#, fuzzy
msgid "by "
msgstr " von "
diff --git a/config/locale/en_GB/app.po b/config/locale/en_GB/app.po
index 244d1d9..510f97c 100644
--- a/config/locale/en_GB/app.po
+++ b/config/locale/en_GB/app.po
@@ -519,7 +519,7 @@
msgstr "Edit"
#, fuzzy
-msgid "Edit Example of Answer"
+msgid "Edit Example Answer"
msgstr "Example of answer"
msgid "Edit User Privileges"
@@ -586,13 +586,6 @@
msgid "Example Answer"
msgstr "Example of answer"
-#, fuzzy
-msgid "Example of Answer"
-msgstr "Example of answer"
-
-msgid "Example of answer"
-msgstr "Example of answer"
-
msgid "Export"
msgstr "Export"
@@ -1626,9 +1619,6 @@
msgid "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
msgstr "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
-msgid "by"
-msgstr ""
-
#, fuzzy
msgid "by "
msgstr " by "
diff --git a/config/locale/en_US/app.po b/config/locale/en_US/app.po
index dbb07f4..af5a1be 100644
--- a/config/locale/en_US/app.po
+++ b/config/locale/en_US/app.po
@@ -519,7 +519,7 @@
msgstr "Edit"
#, fuzzy
-msgid "Edit Example of Answer"
+msgid "Edit Example Answer"
msgstr "Example of answer"
msgid "Edit User Privileges"
@@ -586,13 +586,6 @@
msgid "Example Answer"
msgstr "Example of answer"
-#, fuzzy
-msgid "Example of Answer"
-msgstr "Example of answer"
-
-msgid "Example of answer"
-msgstr "Example of answer"
-
msgid "Export"
msgstr "Export"
@@ -1626,9 +1619,6 @@
msgid "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
msgstr "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
-msgid "by"
-msgstr ""
-
#, fuzzy
msgid "by "
msgstr " by "
diff --git a/config/locale/es/app.po b/config/locale/es/app.po
index c7cfe48..c0cf399 100644
--- a/config/locale/es/app.po
+++ b/config/locale/es/app.po
@@ -531,7 +531,7 @@
msgstr "Editar"
#, fuzzy
-msgid "Edit Example of Answer"
+msgid "Edit Example Answer"
msgstr "Respuesta de ejemplo"
msgid "Edit User Privileges"
@@ -599,13 +599,6 @@
msgid "Example Answer"
msgstr "Respuesta de ejemplo"
-#, fuzzy
-msgid "Example of Answer"
-msgstr "Respuesta de ejemplo"
-
-msgid "Example of answer"
-msgstr "Respuesta de ejemplo"
-
msgid "Export"
msgstr "Exportar"
@@ -1657,9 +1650,6 @@
msgid "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
msgstr "aprox. %{space_used}% de disponibilidad del espacio usado (máx. %{num_pages} páginas)"
-msgid "by"
-msgstr ""
-
#, fuzzy
msgid "by "
msgstr " por "
diff --git a/config/locale/fr/app.po b/config/locale/fr/app.po
index fc41878..7879c76 100644
--- a/config/locale/fr/app.po
+++ b/config/locale/fr/app.po
@@ -529,7 +529,7 @@
msgstr "Modifier"
#, fuzzy
-msgid "Edit Example of Answer"
+msgid "Edit Example Answer"
msgstr "Exemple de réponse"
msgid "Edit User Privileges"
@@ -597,13 +597,6 @@
msgid "Example Answer"
msgstr "Exemple de réponse"
-#, fuzzy
-msgid "Example of Answer"
-msgstr "Exemple de réponse"
-
-msgid "Example of answer"
-msgstr "Exemple de réponse"
-
msgid "Export"
msgstr "Exporter"
@@ -1654,9 +1647,6 @@
msgid "approx. %{space_used}%% of available space used (max %{num_pages} pages)"
msgstr "env. %{space_used}% despace disponible utilisé (%{num_pages} pages maxi)"
-msgid "by"
-msgstr ""
-
#, fuzzy
msgid "by "
msgstr " par "
|