From 784319bb61aa906ca9aa4e63559f617f0403760b Mon Sep 17 00:00:00 2001 From: Sai Date: Wed, 12 Mar 2014 14:56:35 +0100 Subject: [PATCH 01/15] Typos --- app/views/home/index.html.erb | 5 ++--- config/locales/de.yml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 50c915a..01cb0a1 100755 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,6 +1,5 @@
-

<%= I18n.t('home.willkommen') %>

-

<%= I18n.t('home.hallobeiderfet') %>

+

<%= I18n.t('home.willkommen') %>

- <%if I18n.locale == :en %> + +
diff --git a/config/locales/de.yml b/config/locales/de.yml index fd7e12d..310d8d8 100755 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -12,6 +12,7 @@ de: back: "Zurück" sure_del: "Sicher endgültig löschen?" home: + sprache: "Deutsch" kontakt: "Kontakt" mtitle: "Menu" login: "FET Login" diff --git a/config/locales/en.yml b/config/locales/en.yml index 716e6a7..b09a833 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -8,6 +8,7 @@ en: edit: "Edit" home: + sprache: "English" mtitle: "Menu" hallobeiderfet: "This is the page of Fachschaft Elektrotechnik at TU Wien" home: "Home" From 1ffbfe63067d2ae4f870d7fa321f614d56c4c823 Mon Sep 17 00:00:00 2001 From: Thomas Blazek Date: Fri, 11 Apr 2014 12:52:54 +0200 Subject: [PATCH 05/15] Added en.png For all locales, a flag by the same name should be present. --- Gemfile.lock | 1 - app/views/layouts/menu.html.erb | 2 +- public/flaggen/png/en.png | Bin 0 -> 599 bytes 3 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 public/flaggen/png/en.png diff --git a/Gemfile.lock b/Gemfile.lock index f01eff7..5267261 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -258,7 +258,6 @@ DEPENDENCIES paper_trail (>= 2.7.0)! paperclip (~> 3.4.0) rails (= 3.2.13) - remotipart! rmagick rolify rspec-rails diff --git a/app/views/layouts/menu.html.erb b/app/views/layouts/menu.html.erb index 36066d2..b647dcf 100644 --- a/app/views/layouts/menu.html.erb +++ b/app/views/layouts/menu.html.erb @@ -25,7 +25,7 @@