- '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.
<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>
<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}") %>
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:
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: |
suspended:
title: Account Suspended
heading: Account Suspended
- webmaster: webmaster
+ support: support
body_html: |
<p>
Sorry, your account has been automatically suspended due to
</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
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
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
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
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
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
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