Skip to content

Commit f4f0686

Browse files
fix label of actions which requires additional interactions.
1 parent a32d0c1 commit f4f0686

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-appservice-java/src/main/resources/META-INF/azure-intellij-plugin-appservice-java.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,26 +32,26 @@
3232
<actions>
3333
<!-- WebApp Start -->
3434
<action id="Actions.WebDeployAction" class="com.microsoft.azure.toolkit.intellij.legacy.webapp.action.DeployWebAppAction"
35-
text="Deploy to Azure Web Apps" description="Deploy to Azure Web Apps"
35+
text="Deploy to Azure Web Apps..." description="Deploy selected module to Azure WebApp"
3636
icon="/icons/WebApp/Deploy.svg">
3737
</action>
3838
<action id="Actions.WebAppOnLinux" class="com.microsoft.azure.toolkit.intellij.legacy.webapp.action.WebAppOnLinuxAction"
39-
text="Run on Web App for Containers" description="Run on Web App for Containers"
39+
text="Run on Web App for Containers..." description="Run on Web App for Containers"
4040
icon="/icons/DockerSupport/RunOnWebApp.svg">
4141
</action>
4242
<!-- WebApp End -->
4343
<!-- Functions Start -->
4444
<action id="Actions.RunFunction" class="com.microsoft.azure.toolkit.intellij.legacy.function.action.RunFunctionAction"
45-
text="Run Function" description="Run function project locally"
45+
text="Run Function..." description="Run function project locally"
4646
icon="/icons/FunctionApp/Run.svg">
4747
</action>
4848
<action id="Actions.DeployFunction" class="com.microsoft.azure.toolkit.intellij.legacy.function.action.DeployFunctionAppAction"
49-
text="Deploy to Azure Functions" description="Deploy Java Function to Azure"
49+
text="Deploy to Azure Functions..." description="Deploy selected module to Azure Functions"
5050
icon="/icons/FunctionApp/Deploy.svg">
5151
</action>
5252
<action id="page.new" class="com.microsoft.azure.toolkit.intellij.legacy.function.action.CreateFunctionAction"
5353
text="Azure Function Class"
54-
description="Create New Azure Function Class">
54+
description="Create new Azure Function class">
5555
<add-to-group group-id="NewGroup" anchor="before" relative-to-action="NewFile"/>
5656
</action>
5757
<!-- Functions End -->

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-springcloud/src/main/resources/META-INF/azure-intellij-plugin-springcloud.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</extensions>
1515
<actions>
1616
<action id="Actions.DeploySpringCloud" class="com.microsoft.azure.toolkit.intellij.springcloud.deplolyment.DeploySpringCloudAppAction"
17-
text="Deploy to Azure Spring Apps" description="Deploy Spring app to azure"
17+
text="Deploy to Azure Spring Apps..." description="Deploy selected module to Azure Spring Apps"
1818
icon="/icons/SpringCloud/Deploy.svg">
1919
</action>
2020
</actions>

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/ResourceConnectionActionsContributor.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void registerActions(AzureActionManager am) {
8282
.withLabel("Hide 'Azure' Node")
8383
.withIcon(AzureIcons.Common.HIDE.getIconPath())
8484
.withHandler((module, e) -> {
85-
if(module.getProject().isDisposed()){
85+
if (module.getProject().isDisposed()) {
8686
return;
8787
}
8888
final PropertiesComponent properties = PropertiesComponent.getInstance(module.getProject());
@@ -93,7 +93,7 @@ public void registerActions(AzureActionManager am) {
9393
.register(am);
9494

9595
new Action<>(CONNECT_TO_MODULE)
96-
.withLabel("Connect to Azure Resource")
96+
.withLabel("Connect Azure Resource...")
9797
.withIcon(AzureIcons.Connector.CONNECT.getIconPath())
9898
.withHandler((module, e) -> AzureTaskManager.getInstance().runLater(() -> ModuleConnectorAction.connectModuleToAzureResource(module.getModule())))
9999
.withShortcut(am.getIDEDefaultShortcuts().refresh())
@@ -127,7 +127,7 @@ public void registerActions(AzureActionManager am) {
127127
.register(am);
128128

129129
new Action<>(FIX_CONNECTION)
130-
.withLabel("Edit Connection")
130+
.withLabel("Edit Connection...")
131131
.withIcon(AzureIcons.Action.EDIT.getIconPath())
132132
.visibleWhen(m -> m instanceof Connection<?, ?>)
133133
.withHandler((c, e) -> fixResourceConnection(c, ((AnActionEvent) e).getProject()))

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/java/com/microsoft/azure/toolkit/intellij/connector/projectexplorer/AbstractAzureFacetNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public T getMyValue() {
149149
public AbstractAzureFacetNode<?> toExceptionNode(Throwable e, @Nonnull Project project) { // `static` to make it available for AzureFacetRootNode
150150
e = ExceptionUtils.getRootCause(e);
151151
if (e instanceof AzureToolkitAuthenticationException) {
152-
final Action<Object> signin = AzureActionManager.getInstance().getAction(Action.AUTHENTICATE).bind(project).withLabel("Sign in to manage connected resource");
152+
final Action<Object> signin = AzureActionManager.getInstance().getAction(Action.AUTHENTICATE).bind(project).withLabel("Sign in to manage connected resource...");
153153
return new ActionNode<>(project, signin);
154154
} else {
155155
return new ExceptionNode(project, e);

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-resource-connector-lib/src/main/resources/META-INF/azure-intellij-resource-connector-lib.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<action
3939
id="AzureToolkit.ConnectToAzureResource"
4040
class="com.microsoft.azure.toolkit.intellij.connector.ModuleConnectorAction"
41-
text="Connect to Azure Resource"
41+
text="Connect Azure Resource..."
4242
icon="/icons/connector/connect.svg"
4343
description="To consume azure resources in your project"/>
4444
<action class="com.microsoft.azure.toolkit.intellij.connector.actions.OpenResourceConnectionExplorerAction" id="AzureToolkit.OpenResourceConnectionExplorerAction"

0 commit comments

Comments
 (0)