mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: update labels to indicate that invite link will be generated (not copied) (#11077)
This commit is contained in:
parent
7b312b7bc6
commit
b6aaff74be
@ -2,6 +2,6 @@ import Component from "@ember/component";
|
||||
export default Component.extend({
|
||||
didInsertElement() {
|
||||
this._super(...arguments);
|
||||
$(this.element.querySelector("input")).select().focus();
|
||||
$(this.element.querySelector(".invite-link-input")).select().focus();
|
||||
},
|
||||
});
|
||||
|
@ -66,7 +66,7 @@ export default DiscourseRoute.extend({
|
||||
const panels = [
|
||||
{
|
||||
id: "invite-link",
|
||||
title: "user.invited.generate_link",
|
||||
title: "user.invited.invite_link.title",
|
||||
model: {
|
||||
inviteModel: this.currentUser,
|
||||
userInvitedShow: this.controllerFor("user-invited-show"),
|
||||
|
@ -1390,9 +1390,9 @@ en:
|
||||
link_groups: Groups
|
||||
link_expires_at: Expires
|
||||
create: "Send Invite"
|
||||
copy_link: "Copy Link"
|
||||
generate_link: "Copy Invite Link"
|
||||
link_generated: "Invite link generated successfully!"
|
||||
copy_link: "Show Link"
|
||||
generate_link: "Create Invite Link"
|
||||
link_generated: "Here's your invite link!"
|
||||
valid_for: "Invite link is only valid for this email address: %{email}"
|
||||
single_user: "Invite by email"
|
||||
multiple_user: "Invite by link"
|
||||
|
Loading…
Reference in New Issue
Block a user