]> git.openstreetmap.org Git - rails.git/commitdiff
* The Back link in block/id/edit wasn't translatable
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 1 Oct 2009 20:24:36 +0000 (20:24 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 1 Oct 2009 20:24:36 +0000 (20:24 +0000)
 * New text for back links to make them more understandable

app/views/user_blocks/new.html.erb
config/locales/en.yml

index cea6e14ac16d4281a351edf23da54a297afde143..d4fd7da00c941b8701ce2e97c0d6b20ffebfc78d 100644 (file)
@@ -25,4 +25,4 @@
   </p>
 <% end %>
 
-<%= link_to 'Back', user_blocks_path %>
+<%= link_to t('user_block.new.back'), user_blocks_path %>
index 874f44f1a42706c5f2924484aa69a9dd0a467a60..1ca3460f4a4312300c470b851108218d18a12e35 100644 (file)
@@ -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."