From ca1c5d7db4b172198427761a03758047594c6db4 Mon Sep 17 00:00:00 2001 From: Benjamin Meichsner Date: Sat, 15 May 2010 11:11:09 +0200 Subject: [PATCH] Start with I18n implementation. --- app/views/home/index.html.haml | 2 +- config/locales/de.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index 1d451125..23190ce5 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -1,4 +1,4 @@ -%h1 Startseite +%h1= t('.title') #start_nav = render :partial => 'start_nav' diff --git a/config/locales/de.yml b/config/locales/de.yml index 9466a80e..fe474f1a 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -2,6 +2,9 @@ # by Clemens Kofler (clemens@railway.at) de: + home: + index: + title: Startseite date: formats: default: "%d.%m.%Y"