Remove some references to webmaster
This commit is contained in:
parent
ef092045e0
commit
a32b751fed
5 changed files with 12 additions and 14 deletions
|
@ -111,13 +111,11 @@ Naming/InclusiveLanguage:
|
|||
- 'app/helpers/browse_tags_helper.rb'
|
||||
- 'app/views/api/capabilities/show.builder'
|
||||
- 'app/views/confirmations/_resend_success_flash.html.erb'
|
||||
- 'app/views/users/blocked.html.erb'
|
||||
- 'app/views/users/suspended.html.erb'
|
||||
- 'config/environments/production.rb'
|
||||
- 'config/initializers/canonical_rails.rb'
|
||||
- 'config/initializers/config.rb'
|
||||
- 'config/initializers/doorkeeper.rb'
|
||||
- 'test/integration/user_login_test.rb'
|
||||
|
||||
# Offense count: 8
|
||||
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
|
||||
<div class="message">
|
||||
<h1><%= t "users.new.no_auto_account_create" %></h1>
|
||||
<h2><%= t "users.new.contact_webmaster_html", :webmaster => "mailto:#{Settings.support_email}" %></h2>
|
||||
<h2><%= t "users.new.contact_support_html", :support => "mailto:#{Settings.support_email}" %></h2>
|
||||
</div>
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
<h1><%= t ".heading" %></h1>
|
||||
<% end %>
|
||||
|
||||
<%= t ".body_html", :webmaster => link_to(t(".webmaster"), "mailto:#{Settings.support_email}") %>
|
||||
<%= t ".body_html", :webmaster => link_to(t(".support"), "mailto:#{Settings.support_email}") %>
|
||||
|
|
|
@ -1662,7 +1662,7 @@ en:
|
|||
create account minute: Create an account. It only takes a minute.
|
||||
no account: Don't have an account?
|
||||
account not active: "Sorry, your account is not active yet.<br />Please use the link in the account confirmation email to activate your account, or <a href=\"%{reconfirm}\">request a new confirmation email</a>."
|
||||
account is suspended: Sorry, your account has been suspended due to suspicious activity.<br />Please contact the <a href="%{webmaster}">webmaster</a> if you wish to discuss this.
|
||||
account is suspended: Sorry, your account has been suspended due to suspicious activity.<br />Please contact <a href="%{webmaster}">support</a> if you wish to discuss this.
|
||||
auth failure: "Sorry, could not log in with those details."
|
||||
openid_logo_alt: "Log in with an OpenID"
|
||||
auth_providers:
|
||||
|
@ -2388,7 +2388,7 @@ en:
|
|||
new:
|
||||
title: "Sign Up"
|
||||
no_auto_account_create: "Unfortunately we are not currently able to create an account for you automatically."
|
||||
contact_webmaster_html: 'Please contact the <a href="%{webmaster}">webmaster</a> to arrange for an account to be created - we will try and deal with the request as quickly as possible.'
|
||||
contact_support_html: 'Please contact <a href="%{support}">support</a> to arrange for an account to be created - we will try and deal with the request as quickly as possible.'
|
||||
about:
|
||||
header: Free and editable
|
||||
html: |
|
||||
|
@ -2569,7 +2569,7 @@ en:
|
|||
suspended:
|
||||
title: Account Suspended
|
||||
heading: Account Suspended
|
||||
webmaster: webmaster
|
||||
support: support
|
||||
body_html: |
|
||||
<p>
|
||||
Sorry, your account has been automatically suspended due to
|
||||
|
@ -2577,7 +2577,7 @@ en:
|
|||
</p>
|
||||
<p>
|
||||
This decision will be reviewed by an administrator shortly, or
|
||||
you may contact the %{webmaster} if you wish to discuss this.
|
||||
you may contact %{webmaster} if you wish to discuss this.
|
||||
</p>
|
||||
auth_failure:
|
||||
connection_failed: Connection to authentication provider failed
|
||||
|
|
|
@ -114,7 +114,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "sessions/new"
|
||||
assert_select "span.username", false
|
||||
assert_select "div.flash.error", /your account has been suspended/ do
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "webmaster"
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -126,7 +126,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "sessions/new"
|
||||
assert_select "span.username", false
|
||||
assert_select "div.flash.error", /your account has been suspended/ do
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "webmaster"
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -138,7 +138,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "sessions/new"
|
||||
assert_select "span.username", false
|
||||
assert_select "div.flash.error", /your account has been suspended/ do
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "webmaster"
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -271,7 +271,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "sessions/new"
|
||||
assert_select "span.username", false
|
||||
assert_select "div.flash.error", /your account has been suspended/ do
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "webmaster"
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -283,7 +283,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "sessions/new"
|
||||
assert_select "span.username", false
|
||||
assert_select "div.flash.error", /your account has been suspended/ do
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "webmaster"
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -295,7 +295,7 @@ class UserLoginTest < ActionDispatch::IntegrationTest
|
|||
assert_template "sessions/new"
|
||||
assert_select "span.username", false
|
||||
assert_select "div.flash.error", /your account has been suspended/ do
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "webmaster"
|
||||
assert_select "a[href='mailto:openstreetmap@example.com']", "support"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue