diff options
author | Matt Ward <matt.ward@microsoft.com> | 2019-11-25 20:01:22 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@microsoft.com> | 2019-11-25 20:01:22 +0300 |
commit | 193fbf1361a3c669044415580d1200ade119ae78 (patch) | |
tree | 5a10f2e40e4d566e0fd5f4909f58dd1b8f846314 /main/src/addins/MonoDevelop.PackageManagement | |
parent | b3242d2cfcaa4cdb6f502242958b0bb712e0853f (diff) |
[NuGet] Use ID instead of Id in user interface
Using ID allows Voice Over to announce it as I.D instead of a single
word. Note that some Voice Over voices, such as English UK still
announce the text incorrectly. Without changing the text to be "I.D."
there does not seem to be a way of fixing this in the IDE. System
Preferences on the Mac can be used to change the pronounciation for
certain words if required.
Fixes VSTS #1021636 - Accessibility: NuGet: Improper announcement for
the "ID" word.
Diffstat (limited to 'main/src/addins/MonoDevelop.PackageManagement')
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Gui/ManagePackagesDialog.UI.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Gui/ManagePackagesDialog.UI.cs index f32c2a0473..b2106e2e63 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Gui/ManagePackagesDialog.UI.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Gui/ManagePackagesDialog.UI.cs @@ -285,7 +285,7 @@ namespace MonoDevelop.PackageManagement var packageIdLabel = new Label (); packageIdLabel.Font = packageInfoBoldFont;
- packageIdLabel.Text = GettextCatalog.GetString ("Id"); + packageIdLabel.Text = GettextCatalog.GetString ("ID"); packageIdHBox.PackStart (packageIdLabel); packageId = new Label (); diff --git a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.NodeBuilders/PackageReferenceNodeDescriptor.cs b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.NodeBuilders/PackageReferenceNodeDescriptor.cs index 2b59b1b3a1..3106486c6e 100644 --- a/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.NodeBuilders/PackageReferenceNodeDescriptor.cs +++ b/main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.NodeBuilders/PackageReferenceNodeDescriptor.cs @@ -41,8 +41,8 @@ namespace MonoDevelop.PackageManagement.NodeBuilders }
[LocalizedCategory ("Package")]
- [LocalizedDisplayName ("Id")]
- [LocalizedDescription ("Package Id.")]
+ [LocalizedDisplayName ("ID")]
+ [LocalizedDescription ("Package ID.")]
public string Id {
get { return packageReferenceNode.Id; }
}
|