split locales into directory, and load from there
This commit is contained in:
parent
afda844380
commit
e0b781fca6
5 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
.well.well-small
|
||||
%h3 Direkt zu ...
|
||||
%h3= t('home.start_nav.title')
|
||||
%ul.nav.nav-list
|
||||
%li.nav-header Foodcoop
|
||||
%li= link_to "Mitglieder", foodcoop_users_path
|
||||
|
@ -31,4 +31,4 @@
|
|||
- if @current_user.role_admin?
|
||||
%li.nav-header Administration
|
||||
%li= link_to "Neue Bestellgruppe", new_admin_ordergroup_path
|
||||
%li= link_to "Neues Mitglied", new_admin_user_path
|
||||
%li= link_to "Neues Mitglied", new_admin_user_path
|
||||
|
|
|
@ -29,8 +29,8 @@ module Foodsoft
|
|||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||
# config.time_zone = 'Central Time (US & Canada)'
|
||||
|
||||
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||
# The default locale is :en and all translations from config/locales/<locale>/*.rb.yml are auto loaded.
|
||||
config.i18n.load_path += Dir[Rails.root.join('config', 'locales', '**', '*.{rb,yml}')]
|
||||
config.i18n.default_locale = :de
|
||||
|
||||
# Configure the default encoding used in templates for Ruby 1.9.
|
||||
|
|
|
@ -8,6 +8,8 @@ en:
|
|||
home:
|
||||
index:
|
||||
title: Homepage
|
||||
start_nav:
|
||||
title: Directly to ...
|
||||
|
||||
group_orders:
|
||||
messages:
|
Loading…
Reference in a new issue