]> git.openstreetmap.org Git - rails.git/commit
Added & cleaned up messages relating to a given user not existing
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 6 Jun 2009 13:15:53 +0000 (13:15 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 6 Jun 2009 13:15:53 +0000 (13:15 +0000)
commitdb51d7f3dd3dfdceeb9f0f583e21d1f4e962f57c
tree9a6b3ed82bdf654e361c9a42aeac37727c011099
parentf7985046696958688b8a220a91c4b96ce16d4b65
Added & cleaned up messages relating to a given user not existing

The following pages now have a <title> that can be set in localizations:

 * /user/USER_DOES_NOT_EXIST
 * /user/USER_DOES_NOT_EXIST/diary
 * /user/USER_DOES_NOT_EXIST/traces
 * /message/*/ID_DOES_NOT_EXIST

In addition I've cleaned up the i18n message keys of all the
''no_such_user.rhtml'' pages involved. They now all use
title/heading/body for the <title>, <h2> and <p> respectively. And the
message key {{user}} instead of {{name}}.
18 files changed:
app/controllers/diary_entry_controller.rb
app/controllers/message_controller.rb
app/controllers/trace_controller.rb
app/controllers/user_controller.rb
app/views/diary_entry/no_such_user.rhtml
app/views/message/no_such_user.rhtml
app/views/trace/no_such_user.rhtml
app/views/user/no_such_user.rhtml
config/locales/de.yml
config/locales/en.yml
config/locales/he.yml
config/locales/is.yml
config/locales/it.yml
config/locales/nl.yml
config/locales/pl.yml
config/locales/ru.yml
config/locales/sl.yml
config/locales/zh-CN.yml