A11Y: add page title to account activation step (#23736)
This commit is contained in:
parent
fe15218d8f
commit
f5d4ddbff5
|
@ -1,7 +1,12 @@
|
|||
import PreloadStore from "discourse/lib/preload-store";
|
||||
import Route from "@ember/routing/route";
|
||||
import DiscourseRoute from "discourse/routes/discourse";
|
||||
import I18n from "I18n";
|
||||
|
||||
export default DiscourseRoute.extend({
|
||||
titleToken() {
|
||||
return I18n.t("create_account.activation_title");
|
||||
},
|
||||
|
||||
export default Route.extend({
|
||||
setupController(controller) {
|
||||
controller.set("accountCreated", PreloadStore.get("accountCreated"));
|
||||
},
|
||||
|
|
|
@ -2113,6 +2113,7 @@ en:
|
|||
title: "Create your account"
|
||||
failed: "Something went wrong, perhaps this email is already registered, try the forgot password link"
|
||||
associate: "Already have an account? <a href='%{associate_link}'>Log In</a> to link your %{provider} account."
|
||||
activation_title: "Activate your account"
|
||||
|
||||
forgot_password:
|
||||
title: "Password Reset"
|
||||
|
|
Loading…
Reference in New Issue