Merge remote-tracking branch 'upstream/pull/4523'
This commit is contained in:
commit
d8cca976c0
12 changed files with 133 additions and 30 deletions
|
@ -576,6 +576,12 @@ en:
|
|||
comment: Comment
|
||||
newer_comments: "Newer Comments"
|
||||
older_comments: "Older Comments"
|
||||
subscribe:
|
||||
heading: Subscribe to the following diary entry discussion?
|
||||
button: Subscribe to discussion
|
||||
unsubscribe:
|
||||
heading: Unsubscribe from the following diary entry discussion?
|
||||
button: Unsubscribe from discussion
|
||||
doorkeeper:
|
||||
errors:
|
||||
messages:
|
||||
|
@ -1571,6 +1577,8 @@ en:
|
|||
header_html: "%{from_user} has commented on the OpenStreetMap diary entry with the subject %{subject}:"
|
||||
footer: "You can also read the comment at %{readurl} and you can comment at %{commenturl} or send a message to the author at %{replyurl}"
|
||||
footer_html: "You can also read the comment at %{readurl} and you can comment at %{commenturl} or send a message to the author at %{replyurl}"
|
||||
footer_unsubscribe: "You can unsubscribe from the discussion at %{unsubscribeurl}"
|
||||
footer_unsubscribe_html: "You can unsubscribe from the discussion at %{unsubscribeurl}"
|
||||
message_notification:
|
||||
subject: "[OpenStreetMap] %{message_title}"
|
||||
hi: "Hi %{to_user},"
|
||||
|
|
|
@ -244,8 +244,8 @@ OpenStreetMap::Application.routes.draw do
|
|||
post "/user/:display_name/diary/:id/unhide" => "diary_entries#unhide", :id => /\d+/, :as => :unhide_diary_entry
|
||||
post "/user/:display_name/diary/:id/hidecomment/:comment" => "diary_entries#hidecomment", :id => /\d+/, :comment => /\d+/, :as => :hide_diary_comment
|
||||
post "/user/:display_name/diary/:id/unhidecomment/:comment" => "diary_entries#unhidecomment", :id => /\d+/, :comment => /\d+/, :as => :unhide_diary_comment
|
||||
post "/user/:display_name/diary/:id/subscribe" => "diary_entries#subscribe", :as => :diary_entry_subscribe, :id => /\d+/
|
||||
post "/user/:display_name/diary/:id/unsubscribe" => "diary_entries#unsubscribe", :as => :diary_entry_unsubscribe, :id => /\d+/
|
||||
match "/user/:display_name/diary/:id/subscribe" => "diary_entries#subscribe", :via => [:get, :post], :as => :diary_entry_subscribe, :id => /\d+/
|
||||
match "/user/:display_name/diary/:id/unsubscribe" => "diary_entries#unsubscribe", :via => [:get, :post], :as => :diary_entry_unsubscribe, :id => /\d+/
|
||||
|
||||
# user pages
|
||||
resources :users, :path => "user", :param => :display_name, :only => [:show, :destroy]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue