success: "Confirmed your account, thanks for signing up!"
already active: "This account has already been confirmed."
unknown token: "That confirmation code has expired or does not exist."
- resend_html: "If you need us to resend the confirmation email, %{reconfirm_link}."
- click_here: click here
+ if_need_resend: "If you need us to resend the confirmation email, click the button below."
+ resend_button: Resend the confirmation email
confirm_resend:
failure: "User %{name} not found."
confirm_email:
confirmation_sent: We've sent a new confirmation note to %{email} and as soon as you confirm your account you'll be able to get mapping.
whitelist: If you use an antispam system which sends confirmation requests then please make sure you whitelist %{sender} as we are unable to reply to any confirmation requests.
messages:
- inbox:
- title: "Inbox"
- messages: "You have %{new_messages} and %{old_messages}"
- new_messages:
- one: "%{count} new message"
- other: "%{count} new messages"
- old_messages:
- one: "%{count} old message"
- other: "%{count} old messages"
- no_messages_yet_html: "You have no messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
- people_mapping_nearby: "people mapping nearby"
- messages_table:
- from: "From"
- to: "To"
- subject: "Subject"
- date: "Date"
- actions: "Actions"
- message_summary:
- unread_button: "Mark as unread"
- read_button: "Mark as read"
- destroy_button: "Delete"
- unmute_button: "Move to Inbox"
new:
title: "Send message"
send_message_to_html: "Send a new message to %{name}"
title: "No such message"
heading: "No such message"
body: "Sorry there is no message with that id."
- outbox:
- title: "Outbox"
- messages:
- one: "You have %{count} sent message"
- other: "You have %{count} sent messages"
- no_sent_messages_html: "You have no sent messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
- people_mapping_nearby: "people mapping nearby"
- muted:
- title: "Muted Messages"
- messages:
- one: "%{count} muted message"
- other: "You have %{count} muted messages"
reply:
wrong_user: "You are logged in as '%{user}' but the message you have asked to reply to was not sent to that user. Please log in as the correct user in order to reply."
show:
destroy_button: "Delete"
back: "Back"
wrong_user: "You are logged in as '%{user}' but the message you have asked to read was not sent by or to that user. Please log in as the correct user in order to read it."
- sent_message_summary:
- destroy_button: "Delete"
- heading:
- my_inbox: "My Inbox"
- my_outbox: "My Outbox"
- muted_messages: "Muted messages"
mark:
as_read: "Message marked as read"
as_unread: "Message marked as unread"
error: "The message could not be moved to the Inbox."
destroy:
destroyed: "Message deleted"
+ mailboxes:
+ heading:
+ my_inbox: "My Inbox"
+ my_outbox: "My Outbox"
+ muted_messages: "Muted messages"
+ messages_table:
+ from: "From"
+ to: "To"
+ subject: "Subject"
+ date: "Date"
+ actions: "Actions"
+ message:
+ unread_button: "Mark as unread"
+ read_button: "Mark as read"
+ destroy_button: "Delete"
+ unmute_button: "Move to Inbox"
+ inboxes:
+ show:
+ title: "Inbox"
+ messages: "You have %{new_messages} and %{old_messages}"
+ new_messages:
+ one: "%{count} new message"
+ other: "%{count} new messages"
+ old_messages:
+ one: "%{count} old message"
+ other: "%{count} old messages"
+ no_messages_yet_html: "You have no messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
+ people_mapping_nearby: "people mapping nearby"
+ muted_inboxes:
+ show:
+ title: "Muted Messages"
+ messages:
+ one: "%{count} muted message"
+ other: "You have %{count} muted messages"
+ outboxes:
+ show:
+ title: "Outbox"
+ messages:
+ one: "You have %{count} sent message"
+ other: "You have %{count} sent messages"
+ no_sent_messages_html: "You have no sent messages yet. Why not get in touch with some of the %{people_mapping_nearby_link}?"
+ people_mapping_nearby: "people mapping nearby"
+ message:
+ destroy_button: "Delete"
passwords:
new:
title: "Lost password"
report: Report this User
go_public:
flash success: "All your edits are now public, and you are now allowed to edit."
+ issued_blocks:
+ show:
+ title: "Blocks by %{name}"
+ heading_html: "List of Blocks by %{name}"
+ empty: "%{name} has not made any blocks yet."
+ received_blocks:
+ show:
+ title: "Blocks on %{name}"
+ heading_html: "List of Blocks on %{name}"
+ empty: "%{name} has not been blocked yet."
+ edit:
+ title: "Revoking all blocks on %{block_on}"
+ heading_html: "Revoking all blocks on %{block_on}"
+ empty: "%{name} has no active blocks."
+ confirm: "Are you sure you wish to revoke %{active_blocks}?"
+ active_blocks:
+ one: "%{count} active block"
+ other: "%{count} active blocks"
+ revoke: "Revoke!"
+ destroy:
+ flash: "All active blocks have been revoked."
lists:
show:
title: Users
title: "User blocks"
heading: "List of user blocks"
empty: "No blocks have been made yet."
- revoke_all:
- title: "Revoking all blocks on %{block_on}"
- heading_html: "Revoking all blocks on %{block_on}"
- empty: "%{name} has no active blocks."
- confirm: "Are you sure you wish to revoke %{active_blocks}?"
- active_blocks:
- one: "%{count} active block"
- other: "%{count} active blocks"
- revoke: "Revoke!"
- flash: "All active blocks have been revoked."
helper:
time_future_html: "Ends in %{time}."
until_login: "Active until the user logs in."
read_html: "read at %{time}"
time_in_future_title: "%{time_absolute}; in %{time_relative}"
time_in_past_title: "%{time_absolute}; %{time_relative}"
- blocks_on:
- title: "Blocks on %{name}"
- heading_html: "List of Blocks on %{name}"
- empty: "%{name} has not been blocked yet."
- blocks_by:
- title: "Blocks by %{name}"
- heading_html: "List of Blocks by %{name}"
- empty: "%{name} has not made any blocks yet."
show:
title: "%{block_on} blocked by %{block_by}"
heading_html: "%{block_on} blocked by %{block_by}"
post "/user/new" => "users#create"
get "/user/terms" => "users#terms"
post "/user/save" => "users#save"
- get "/user/:display_name/confirm/resend" => "confirmations#confirm_resend", :as => :user_confirm_resend
+ post "/user/:display_name/confirm/resend" => "confirmations#confirm_resend", :as => :user_confirm_resend
match "/user/:display_name/confirm" => "confirmations#confirm", :via => [:get, :post]
match "/user/confirm" => "confirmations#confirm", :via => [:get, :post]
match "/user/confirm-email" => "confirmations#confirm_email", :via => [:get, :post]
# user pages
resources :users, :path => "user", :param => :display_name, :only => [:show, :destroy] do
resource :role, :controller => "user_roles", :path => "roles/:role", :only => [:create, :destroy]
+ scope :module => :users do
+ resource :issued_blocks, :path => "blocks_by", :only => :show
+ resource :received_blocks, :path => "blocks", :only => [:show, :edit, :destroy]
+ end
end
get "/user/:display_name/account", :to => redirect(:path => "/account/edit")
post "/user/:display_name/set_status" => "users#set_status", :as => :set_status_user
get "/export/embed" => "export#embed"
# messages
- resources :messages, :only => [:create, :show, :destroy] do
+ resources :messages, :id => /\d+/, :only => [:create, :show, :destroy] do
post :mark
patch :unmute
match :reply, :via => [:get, :post]
- collection do
- get :inbox
- get :muted
- get :outbox
- end
+ end
+ namespace :messages, :path => "/messages" do
+ resource :inbox, :only => :show
+ resource :muted_inbox, :path => "muted", :only => :show
+ resource :outbox, :only => :show
end
get "/user/:display_name/inbox", :to => redirect(:path => "/messages/inbox")
get "/user/:display_name/outbox", :to => redirect(:path => "/messages/outbox")
resources :user_mutes, :only => [:index]
# banning pages
- get "/user/:display_name/blocks" => "user_blocks#blocks_on", :as => "user_blocks_on"
- get "/user/:display_name/blocks_by" => "user_blocks#blocks_by", :as => "user_blocks_by"
- get "/blocks/new/:display_name" => "user_blocks#new", :as => "new_user_block"
- resources :user_blocks, :except => :new
- match "/user/:display_name/blocks/revoke_all" => "user_blocks#revoke_all", :via => [:get, :post], :as => "revoke_all_user_blocks"
+ resources :user_blocks, :path_names => { :new => "new/:display_name" }
# issues and reports
resources :issues do