From: Ævar Arnfjörð Bjarmason Date: Thu, 1 Oct 2009 20:24:36 +0000 (+0000) Subject: * The Back link in block/id/edit wasn't translatable X-Git-Tag: live~6604^2~10 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/df4267639d3cfe72c99b040c9b1c5502b9bae927 * The Back link in block/id/edit wasn't translatable * New text for back links to make them more understandable --- diff --git a/app/views/user_blocks/new.html.erb b/app/views/user_blocks/new.html.erb index cea6e14ac..d4fd7da00 100644 --- a/app/views/user_blocks/new.html.erb +++ b/app/views/user_blocks/new.html.erb @@ -25,4 +25,4 @@

<% end %> -<%= link_to 'Back', user_blocks_path %> +<%= link_to t('user_block.new.back'), user_blocks_path %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 874f44f1a..1ca3460f4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1042,14 +1042,15 @@ en: tried_contacting: "I have contacted the user and asked them to stop." tried_waiting: "I have given a reasonable amount of time for the user to respond to those communications." needs_view: "Does the user need to log in before this block will be cleared?" + back: "View all blocks" edit: title: "Editing block on {{name}}" heading: "Editing block on {{name}}" reason: "The reason why {{name}} is being blocked. Please be as calm and as reasonable as possible, giving as much detail as you can about the situation. Bear in mind that not all users understand the community jargon, so please try to use laymans terms." period: "How long, starting now, the user will be blocked from the API for." submit: "Update block" - show: "Show" - back: "Back" + show: "View this block" + back: "View all blocks" needs_view: "Does the user need to log in before this block will be cleared?" filter: not_a_moderator: "You need to be a moderator to perform that action."