From: Tom Hughes Date: Fri, 5 Jun 2009 14:59:13 +0000 (+0000) Subject: Translate the title of the user diary view. X-Git-Tag: live~7184 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1bd3a83add3f0bb447d8e6c9fb4c1ba2ec36cf32 Translate the title of the user diary view. --- diff --git a/app/views/diary_entry/view.rhtml b/app/views/diary_entry/view.rhtml index 85fe71ae4..fd266f80b 100644 --- a/app/views/diary_entry/view.rhtml +++ b/app/views/diary_entry/view.rhtml @@ -1,4 +1,4 @@ -

<%= h(@entry.user.display_name) %>'s diary

+

<%= t 'diary_entry.view.user_title', :user => h(@entry.user.display_name) %>

<%= render :partial => 'diary_entry', :object => @entry %> diff --git a/config/locales/de.yml b/config/locales/de.yml index 4eb49e1c7..5d5dd1fca 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -243,6 +243,7 @@ de: marker_text: Ort des Eintrags view: title: "Benutzer-Blogs | {{user}}" + user_title: "{{user}}s Blog" leave_a_comment: "Schreibe einen Kommentar" save_button: "Speichern" no_such_entry: diff --git a/config/locales/en.yml b/config/locales/en.yml index bac5e7444..d9b0eea42 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -243,6 +243,7 @@ en: marker_text: Diary entry location view: title: "Users' diaries | {{user}}" + user_title: "{{user}}'s diary" leave_a_comment: "Leave a comment" save_button: "Save" no_such_entry: diff --git a/config/locales/he.yml b/config/locales/he.yml index fda01d594..ace12c0d8 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -243,6 +243,7 @@ he: marker_text: Diary entry location view: title: "Users' diaries | {{user}}" + user_title: "{{user}}'s diary" leave_a_comment: "Leave a comment" save_button: "Save" no_such_entry: diff --git a/config/locales/is.yml b/config/locales/is.yml index f3858dfe4..be78208fb 100644 --- a/config/locales/is.yml +++ b/config/locales/is.yml @@ -243,6 +243,7 @@ is: marker_text: Diary entry location view: title: "Blogg | {{user}}" + user_title: "Blogg {{user}}" leave_a_comment: "Bæta við athugasemd" save_button: "Vista" no_such_entry: diff --git a/config/locales/it.yml b/config/locales/it.yml index 2a8497ace..ca0141fe5 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -243,6 +243,7 @@ it: marker_text: Luogo della voce del diario view: title: "Diari degli utenti | {{user}}" + user_title: "Diario dell'utente {{user}}" leave_a_comment: "Lascia un commento" save_button: "Salva" no_such_entry: diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 38c421970..6b8d686d0 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -243,6 +243,7 @@ nl: marker_text: Locatie van het artikel view: title: "Gebruikersdagboeken | {{user}}" + user_title: "Dagboek van {{user}}" leave_a_comment: "Commentaar achterlaten" save_button: "Opslaan" no_such_entry: diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 16c9bfc99..bed30f111 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -241,6 +241,7 @@ pl: marker_text: Umiejscowienie wpisu dziennika view: title: "Wpisy użytkowników | {{user}}" + user_title: "Dziennik dla {{user}}" leave_a_comment: "Zostaw komentarz" save_button: "Zapisz" no_such_entry: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 799b2047b..0f715980b 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -243,6 +243,7 @@ ru: marker_text: Место написания заметки view: title: "Дневник пользователя | {{user}}" + user_title: "Дневник {{user}}" leave_a_comment: "Оставить комментарий" save_button: "Сохранить" no_such_entry: diff --git a/config/locales/sl.yml b/config/locales/sl.yml index e53c1032d..4f914d9c8 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -243,6 +243,7 @@ sl: marker_text: Lokacija, na katero se nanaša zapis view: title: "Dnevnik uporabnika {{user}}" + user_title: "Dnavnik uporabnika {{user}}" leave_a_comment: "Napiši komentar" save_button: "Shrani" no_such_entry: diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml index d792aced9..613016e4a 100644 --- a/config/locales/zh-CN.yml +++ b/config/locales/zh-CN.yml @@ -241,6 +241,7 @@ marker_text: Diary entry location view: title: "Users' diaries | {{user}}" + user_title: "{{user}}'s diary" leave_a_comment: "留下评论" save_button: "保存" no_such_entry: