]> git.openstreetmap.org Git - rails.git/commitdiff
Add <title> to /blocks and don't Camel Case headings
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 1 Oct 2009 19:27:15 +0000 (19:27 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 1 Oct 2009 19:27:15 +0000 (19:27 +0000)
app/views/user_blocks/index.html.erb
config/locales/en.yml

index c9ab16dadeca7ead6cbd4a54109683554fc72fb8..8d645f46589b7fe8d281da3c7492c57af7da97b6 100644 (file)
@@ -1,3 +1,4 @@
+<% @title = t('user_block.index.title') %>
 <h1><%= t('user_block.index.heading') %></h1>
 
 <%= render :partial => 'blocks', :locals => { :show_revoke_link => (@user and @user.moderator?), :show_user_name => true, :show_creator_name => true } %>
index fd6289962caaf3ff65bc7f586afa408149323edf..6d038a252a005763a8b6296b88fabe4d7f7f3e68 100644 (file)
@@ -1061,7 +1061,8 @@ en:
       only_creator_can_edit: "Only the moderator who created this block can edit it."
       success: "Block updated."
     index:
-      heading: "Listing User Blocks"
+      title: "User blocks"
+      heading: "List of user blocks"
     revoke:
       heading: "Revoking block on {{block_on}} by {{block_by}}"
       time_future: "This block will end in {{time}}."