From e5c1f2313147b218a13f0c24045101b8a9ed1261 Mon Sep 17 00:00:00 2001 From: Thomas Blazek Date: Wed, 27 Nov 2013 11:05:36 +0100 Subject: [PATCH] Fixed Issue #88 Modul-show auf I18n umgestellt. --- app/views/moduls/_modul.html.erb | 6 +++--- config/locales/studien.de.yml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/views/moduls/_modul.html.erb b/app/views/moduls/_modul.html.erb index d448ba5..edaa5c6 100755 --- a/app/views/moduls/_modul.html.erb +++ b/app/views/moduls/_modul.html.erb @@ -5,7 +5,7 @@
-

Beschreibung

+

<%=I18n.t("modul.desc")%>

<%= raw(@modul.desc) %>

@@ -13,7 +13,7 @@
-

Modulgruppen

+

<%=I18n.t("modul.mgs")%>

    <% @modul.modulgruppen.each do |mg| %>
  • @@ -21,7 +21,7 @@
  • <% end %>
-

Lvas

+

<%=I18n.t("modul.lvas")%>

<% @modul.lvas.each_slice(3) do |row| %>
    <% row.each do |lv| %> diff --git a/config/locales/studien.de.yml b/config/locales/studien.de.yml index be0535a..b379a90 100644 --- a/config/locales/studien.de.yml +++ b/config/locales/studien.de.yml @@ -18,6 +18,9 @@ de: edit: "Modul bearbeiten" list: "Alle Module" add: "Neues Modul" + lvas: "LVAs" + mgs: "Modulgruppen" + desc: "Beschreibung" keine: beschreibung: "Keine Beschreibung vorhanden" beispiel: