Update labels for context menu items to be just 'Create' & 'Invite' to keep the same consistency throughout the UI as other context menu items do not include the verb
This commit is contained in:
@@ -1953,7 +1953,7 @@ To manage your website, simply open the Umbraco back office and start adding con
|
||||
</body>
|
||||
</html>]]>
|
||||
</key>
|
||||
|
||||
<key alias="invite">Invite</key>
|
||||
</area>
|
||||
|
||||
<area alias="validation">
|
||||
|
||||
@@ -1946,6 +1946,7 @@ To manage your website, simply open the Umbraco back office and start adding con
|
||||
</body>
|
||||
</html>]]>
|
||||
</key>
|
||||
<key alias="invite">Invite</key>
|
||||
</area>
|
||||
<area alias="validation">
|
||||
<key alias="validation">Validation</key>
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace Umbraco.Web.Trees
|
||||
if (id == Constants.System.Root.ToInvariantString())
|
||||
{
|
||||
//Create User
|
||||
var createMenuItem = menu.Items.CreateMenuItem<ActionNew>(Services.TextService.Localize("user/createUser"));
|
||||
var createMenuItem = menu.Items.CreateMenuItem<ActionNew>(Services.TextService.Localize("actions/create"));
|
||||
createMenuItem.Icon = "add";
|
||||
createMenuItem.NavigateToRoute("users/users/overview?subview=users&create=true");
|
||||
menu.Items.Add(createMenuItem);
|
||||
@@ -69,7 +69,7 @@ namespace Umbraco.Web.Trees
|
||||
if (EmailSender.CanSendRequiredEmail)
|
||||
{
|
||||
//Invite User (Action import closest type of action to an invite user)
|
||||
var inviteMenuItem = menu.Items.CreateMenuItem<ActionImport>(Services.TextService.Localize("user/inviteUser"));
|
||||
var inviteMenuItem = menu.Items.CreateMenuItem<ActionImport>(Services.TextService.Localize("user/invite"));
|
||||
inviteMenuItem.Icon = "message-unopened";
|
||||
inviteMenuItem.NavigateToRoute("users/users/overview?subview=users&invite=true");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user