Rename Account module to Accounts
This commit is contained in:
parent
7286ad027c
commit
eec5cadf2a
4 changed files with 22 additions and 24 deletions
|
@ -1,4 +1,4 @@
|
||||||
module Account
|
module Accounts
|
||||||
class DeletionsController < ApplicationController
|
class DeletionsController < ApplicationController
|
||||||
layout "site"
|
layout "site"
|
||||||
|
|
|
@ -245,25 +245,6 @@ en:
|
||||||
entry:
|
entry:
|
||||||
comment: Comment
|
comment: Comment
|
||||||
full: Full note
|
full: Full note
|
||||||
account:
|
|
||||||
deletions:
|
|
||||||
show:
|
|
||||||
title: Delete My Account
|
|
||||||
warning: Warning! The account deletion process is final, and cannot be reversed.
|
|
||||||
delete_account: Delete Account
|
|
||||||
delete_introduction: "You can delete your OpenStreetMap account using the button below. Please note the following details:"
|
|
||||||
delete_profile: Your profile information, including your avatar, description and home location will be removed.
|
|
||||||
delete_display_name: Your display name will be removed, and can be reused by other accounts.
|
|
||||||
retain_caveats: "However, some information about you will be retained on OpenStreetMap, even after your account is deleted:"
|
|
||||||
retain_edits: Your edits to the map database, if any, will be retained.
|
|
||||||
retain_traces: Your uploaded traces, if any, will be retained.
|
|
||||||
retain_diary_entries: Your diary entries and diary comments, if any, will be retained but hidden from view.
|
|
||||||
retain_notes: Your map notes and note comments, if any, will be retained but hidden from view.
|
|
||||||
retain_changeset_discussions: Your changeset discussions, if any, will be retained.
|
|
||||||
retain_email: Your email address will be retained.
|
|
||||||
recent_editing_html: "As you have edited recently your account cannot currently be deleted. Deletion will be possible in %{time}."
|
|
||||||
confirm_delete: Are you sure?
|
|
||||||
cancel: Cancel
|
|
||||||
accounts:
|
accounts:
|
||||||
edit:
|
edit:
|
||||||
title: "Edit account"
|
title: "Edit account"
|
||||||
|
@ -305,6 +286,24 @@ en:
|
||||||
success: "User information updated successfully."
|
success: "User information updated successfully."
|
||||||
destroy:
|
destroy:
|
||||||
success: "Account Deleted."
|
success: "Account Deleted."
|
||||||
|
deletions:
|
||||||
|
show:
|
||||||
|
title: Delete My Account
|
||||||
|
warning: Warning! The account deletion process is final, and cannot be reversed.
|
||||||
|
delete_account: Delete Account
|
||||||
|
delete_introduction: "You can delete your OpenStreetMap account using the button below. Please note the following details:"
|
||||||
|
delete_profile: Your profile information, including your avatar, description and home location will be removed.
|
||||||
|
delete_display_name: Your display name will be removed, and can be reused by other accounts.
|
||||||
|
retain_caveats: "However, some information about you will be retained on OpenStreetMap, even after your account is deleted:"
|
||||||
|
retain_edits: Your edits to the map database, if any, will be retained.
|
||||||
|
retain_traces: Your uploaded traces, if any, will be retained.
|
||||||
|
retain_diary_entries: Your diary entries and diary comments, if any, will be retained but hidden from view.
|
||||||
|
retain_notes: Your map notes and note comments, if any, will be retained but hidden from view.
|
||||||
|
retain_changeset_discussions: Your changeset discussions, if any, will be retained.
|
||||||
|
retain_email: Your email address will be retained.
|
||||||
|
recent_editing_html: "As you have edited recently your account cannot currently be deleted. Deletion will be possible in %{time}."
|
||||||
|
confirm_delete: Are you sure?
|
||||||
|
cancel: Cancel
|
||||||
browse:
|
browse:
|
||||||
deleted_ago_by_html: "Deleted %{time_ago} by %{user}"
|
deleted_ago_by_html: "Deleted %{time_ago} by %{user}"
|
||||||
edited_ago_by_html: "Edited %{time_ago} by %{user}"
|
edited_ago_by_html: "Edited %{time_ago} by %{user}"
|
||||||
|
|
|
@ -279,11 +279,10 @@ OpenStreetMap::Application.routes.draw do
|
||||||
get "/user/:display_name/account", :to => redirect(:path => "/account/edit")
|
get "/user/:display_name/account", :to => redirect(:path => "/account/edit")
|
||||||
post "/user/:display_name/set_status" => "users#set_status", :as => :set_status_user
|
post "/user/:display_name/set_status" => "users#set_status", :as => :set_status_user
|
||||||
|
|
||||||
resource :account, :only => [:edit, :update, :destroy]
|
resource :account, :only => [:edit, :update, :destroy] do
|
||||||
|
resource :deletion, :module => :accounts, :only => :show
|
||||||
namespace :account do
|
|
||||||
resource :deletion, :only => [:show]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
resource :dashboard, :only => [:show]
|
resource :dashboard, :only => [:show]
|
||||||
resource :preferences, :only => [:show, :edit, :update]
|
resource :preferences, :only => [:show, :edit, :update]
|
||||||
resource :profile, :only => [:edit, :update]
|
resource :profile, :only => [:edit, :update]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue