Skip to content

Commit

Permalink
Updating prompt text for Remove-AzureService
Browse files Browse the repository at this point in the history
  • Loading branch information
loudej committed Feb 10, 2012
1 parent dffce22 commit 8215c45
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
Expand Up @@ -46,7 +46,7 @@ public bool RemoveAzureServiceProcess(string rootName, string inSubscription)
string serviceName;
ServiceSettings settings = base.GetDefaultSettings(rootName, null, null, null, null, inSubscription, out serviceName);
subscriptionId = new GlobalComponents(GlobalPathInfo.GlobalSettingsDirectory).GetSubscriptionId(settings.Subscription);
if (!ShouldProcess(serviceName))
if (!ShouldProcess("", string.Format(Resources.RemoveServiceWarning, serviceName), Resources.ShouldProcessCaption))
{
return false;
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -617,4 +617,10 @@
<data name="ServiceSettings_ValidateStorageAccountName_InvalidName" xml:space="preserve">
<value>The storage account name '{0}' is invalid. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.</value>
</data>
<data name="RemoveServiceWarning" xml:space="preserve">
<value>Are you sure you want to remove service \"{0}\"?</value>
</data>
<data name="ShouldProcessCaption" xml:space="preserve">
<value>Confirm</value>
</data>
</root>

0 comments on commit 8215c45

Please sign in to comment.