Skip to content

Commit ced00b4

Browse files
authored
Removes en-us to improve documentation localization (#9325)
1 parent d18bf1c commit ced00b4

12 files changed

Lines changed: 25 additions & 25 deletions

File tree

.github/ISSUE_TEMPLATE/NUGETORG_ISSUE.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ body:
1010
1111
The more detail you provide, the more likely it will be for us to be able to identify what is going on and how to solve it!
1212
13-
### For issues connecting to NuGet.org, please refer to [this guide](https://docs.microsoft.com/en-us/nuget/nuget-org/nuget-org-faq#nuget.org-not-accessible).
13+
### For issues connecting to NuGet.org, please refer to [this guide](https://docs.microsoft.com/nuget/nuget-org/nuget-org-faq#nuget.org-not-accessible).
1414
15-
### For issues regarding your NuGet.org account, please refer to [this guide](https://docs.microsoft.com/en-us/nuget/nuget-org/nuget-org-faq#nuget.org-account-management).
15+
### For issues regarding your NuGet.org account, please refer to [this guide](https://docs.microsoft.com/nuget/nuget-org/nuget-org-faq#nuget.org-account-management).
1616
- type: dropdown
1717
id: impact
1818
attributes:

src/NuGetGallery.Services/ServicesStrings.resx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -897,7 +897,7 @@ If you would like to update the linked Microsoft account you can do so from the
897897
Policy violations: {0}</value>
898898
</data>
899899
<data name="SecurityPolicy_RequirePackagePrefixReserved" xml:space="preserve">
900-
<value>You have not published a package with this prefix in the past. This means other users may be able to push packages starting with the same prefix. Contact [email protected] to reserve the prefix. Go to https://docs.microsoft.com/en-us/nuget/reference/id-prefix-reservation to learn more about Package ID prefix reservation.</value>
900+
<value>You have not published a package with this prefix in the past. This means other users may be able to push packages starting with the same prefix. Contact [email protected] to reserve the prefix. Go to https://docs.microsoft.com/nuget/reference/id-prefix-reservation to learn more about Package ID prefix reservation.</value>
901901
</data>
902902
<data name="SecurityPolicy_CopyrightNotCompliant" xml:space="preserve">
903903
<value>The package metadata contains a non-compliant copyright element.</value>

src/NuGetGallery/App_Code/ViewHelpers.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
<p class="error-action">Get me out of here! <a href="@url.Home()">Go home</a></p>
121121
<p class="error-action">Wondering if NuGet is down? <a href="https://status.nuget.org/">Check our status</a></p>
122122
<p class="error-action">Looking for a package? <a href="@url.PackageList()">Try searching</a></p>
123-
<p class="error-action">Package you're looking for doesn't exist? <a href="https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package">Make one</a></p>
123+
<p class="error-action">Package you're looking for doesn't exist? <a href="https://docs.microsoft.com/nuget/quickstart/create-and-publish-a-package">Make one</a></p>
124124
<p class="error-action">Pretty sure we messed up? <a href="https://github.com/NuGet/NuGetGallery/issues">File a bug</a></p>
125125
<p class="error-action">Can't get enough NuGet? <a href="https://twitter.com/nuget">Follow us</a></p>
126126
</div>

src/NuGetGallery/Strings.resx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<root>
33
<!--
44
Microsoft ResX Schema
@@ -515,10 +515,10 @@ For more information, please contact '{2}'.</value>
515515
<value>The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.</value>
516516
</data>
517517
<data name="UploadPackage_IdNamespaceConflict" xml:space="preserve">
518-
<value>This package ID has been reserved. Please request access to upload to this reserved namespace from the owner of the reserved prefix, or re-upload the package with a different ID. Go to https://docs.microsoft.com/en-us/nuget/reference/id-prefix-reservation learn more about Package ID prefix reservation.</value>
518+
<value>This package ID has been reserved. Please request access to upload to this reserved namespace from the owner of the reserved prefix, or re-upload the package with a different ID. Go to https://docs.microsoft.com/nuget/reference/id-prefix-reservation learn more about Package ID prefix reservation.</value>
519519
</data>
520520
<data name="UploadPackage_IdNamespaceConflictHtml" xml:space="preserve">
521-
<value>This package ID has been reserved. Please request access to upload to this reserved namespace from the owner of the reserved prefix, or re-upload the package with a different ID. &lt;a href="https://docs.microsoft.com/en-us/nuget/reference/id-prefix-reservation"&gt;Learn more about Package ID prefix reservation&lt;/a&gt;.</value>
521+
<value>This package ID has been reserved. Please request access to upload to this reserved namespace from the owner of the reserved prefix, or re-upload the package with a different ID. &lt;a href="https://docs.microsoft.com/nuget/reference/id-prefix-reservation"&gt;Learn more about Package ID prefix reservation&lt;/a&gt;.</value>
522522
</data>
523523
<data name="PreviewReadMe_ConversionFailed" xml:space="preserve">
524524
<value>Conversion of Markdown to HTML failed with '{0}'.</value>
@@ -539,10 +539,10 @@ For more information, please contact '{2}'.</value>
539539
<value>The Documentation URL must be a raw Markdown file hosted on GitHub.</value>
540540
</data>
541541
<data name="UploadPackage_MissingReadmeHtml" xml:space="preserve">
542-
<value>&lt;strong&gt;Readme&lt;/strong&gt; missing.&lt;a href="https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices#readme"&gt; See how to include a readme file within the package&lt;/a&gt;, or add it as you upload.</value>
542+
<value>&lt;strong&gt;Readme&lt;/strong&gt; missing.&lt;a href="https://learn.microsoft.com/nuget/create-packages/package-authoring-best-practices#readme"&gt; See how to include a readme file within the package&lt;/a&gt;, or add it as you upload.</value>
543543
</data>
544544
<data name="UploadPackage_MissingReadme" xml:space="preserve">
545-
<value>Readme missing. Go to https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices#readme learn How to include a readme file within the package.</value>
545+
<value>Readme missing. Go to https://learn.microsoft.com/nuget/create-packages/package-authoring-best-practices#readme learn How to include a readme file within the package.</value>
546546
</data>
547547
<data name="ReservedNamespace_OwnerAdded" xml:space="preserve">
548548
<value>The user '{0}' is now an owner of the prefix '{1}'.</value>
@@ -909,7 +909,7 @@ If you would like to update the linked Microsoft account you can do so from the
909909
Policy violations: {0}</value>
910910
</data>
911911
<data name="SecurityPolicy_RequirePackagePrefixReserved" xml:space="preserve">
912-
<value>You have not published a package with this prefix in the past. This means other users may be able to push packages starting with the same prefix. Contact [email protected] to reserve the prefix. Go to https://docs.microsoft.com/en-us/nuget/reference/id-prefix-reservation to learn more about Package ID prefix reservation.</value>
912+
<value>You have not published a package with this prefix in the past. This means other users may be able to push packages starting with the same prefix. Contact [email protected] to reserve the prefix. Go to https://docs.microsoft.com/nuget/reference/id-prefix-reservation to learn more about Package ID prefix reservation.</value>
913913
</data>
914914
<data name="SecurityPolicy_CopyrightNotCompliant" xml:space="preserve">
915915
<value>The package metadata contains a non-compliant copyright element.</value>

src/NuGetGallery/Views/Packages/DisplayPackage.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
CommandPrefix = "PM> ",
111111
InstallPackageCommands = new [] { string.Format("NuGet\\Install-Package {0} -Version {1}", Model.Id, Model.Version) },
112112
AlertLevel = AlertLevel.Info,
113-
AlertMessage = "This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of <a href='https://docs.microsoft.com/en-us/nuget/reference/ps-reference/ps-ref-install-package'>Install-Package</a>."
113+
AlertMessage = "This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of <a href='https://docs.microsoft.com/nuget/reference/ps-reference/ps-ref-install-package'>Install-Package</a>."
114114

115115
},
116116

@@ -126,7 +126,7 @@
126126
: string.Format("<PackageReference Include=\"{0}\" Version=\"{1}\" />", Model.Id, Model.Version) },
127127
AlertLevel = AlertLevel.Info,
128128
AlertMessage = string.Format("For projects that support <a href=\"{0}\">PackageReference</a>, copy this XML node into the project file to reference the package.",
129-
"https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files"),
129+
"https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files"),
130130
CopyLabel = "Copy the PackageReference XML node",
131131
},
132132

@@ -274,7 +274,7 @@
274274
@ViewHelpers.ImageFallback(Url.Absolute("~/Content/gallery/img/reserved-indicator-25x25.png"))
275275
data-content="@Strings.ReservedNamespace_ReservedIndicatorTooltip" tabindex="0"
276276
alt="@Strings.ReservedNamespace_ReservedIndicatorTooltip"/>
277-
<a href="https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation" class="prefix-reserve-label">
277+
<a href="https://docs.microsoft.com/nuget/nuget-org/id-prefix-reservation" class="prefix-reserve-label">
278278
Prefix Reserved
279279
</a>
280280
</span>

src/NuGetGallery/Views/Packages/ReportAbuse.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
</div>
8686
<div class="reason-error-revenge-porn" tabindex="0">
8787
<p>
88-
Please report this safety violation through the <a href="https://www.microsoft.com/en-us/concern/revengeporn" title="revenge porn portal">official portal</a>.
88+
Please report this safety violation through the <a href="https://www.microsoft.com/concern/revengeporn" title="revenge porn portal">official portal</a>.
8989
</p>
9090
</div>
9191
<div id="report-abuse-form">

src/NuGetGallery/Views/Pages/Home.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ else if (AskUserToEnable2FA)
8484
</div>
8585
<div class="row row-gap">
8686
<div class="col-sm-4">
87-
<a href="https://docs.microsoft.com/en-us/nuget/quickstart/use-a-package"
87+
<a href="https://docs.microsoft.com/nuget/quickstart/use-a-package"
8888
title="Learn about how to use NuGet packages">
8989
<img width="225" height="225" alt="Learn to use packages"
9090
src="~/Content/gallery/img/orange-circle.svg"
@@ -108,7 +108,7 @@ else if (AskUserToEnable2FA)
108108
</p>
109109
</div>
110110
<div class="col-sm-4">
111-
<a href="https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package"
111+
<a href="https://docs.microsoft.com/nuget/quickstart/create-and-publish-a-package"
112112
title="Learn how to create a NuGet package">
113113
<img width="225" height="225" alt="Learn to create packages"
114114
src="~/Content/gallery/img/blue-circle.svg"

src/NuGetGallery/Views/Shared/Gallery/Footer.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</div>
1616
<div class="col-sm-4">
1717
<span class="footer-heading">
18-
<a aria-label="Frequently Asked Questions" href="https://docs.microsoft.com/en-us/nuget/policies/nuget-faq">
18+
<a aria-label="Frequently Asked Questions" href="https://docs.microsoft.com/nuget/policies/nuget-faq">
1919
<abbr title="Frequently Asked Questions">FAQ</abbr>
2020
</a>
2121
</span>

src/NuGetGallery/Views/Shared/Gallery/Header.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
{
8787
@DisplayNavigationItem("Admin", Url.Admin())
8888
}
89-
@DisplayNavigationItem("Documentation", "https://docs.microsoft.com/en-us/nuget/")
89+
@DisplayNavigationItem("Documentation", "https://docs.microsoft.com/nuget/")
9090
@DisplayNavigationItem("Downloads", Url.Downloads())
9191
@DisplayNavigationItem("Blog", "https://blog.nuget.org/")
9292
</ul>

src/NuGetGallery/Views/Shared/_AccountCertificates.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
<div class="row" data-bind="ifnot: $data && $data.hasCertificates && $data.hasCertificates()">
7373
<div class="col-xs-12 clearfix">
74-
All your packages need to be signed by one of the registered certificates. <a href="https://docs.microsoft.com/en-us/nuget/reference/signed-packages-reference">Learn more about package signing.</a>
74+
All your packages need to be signed by one of the registered certificates. <a href="https://docs.microsoft.com/nuget/reference/signed-packages-reference">Learn more about package signing.</a>
7575
<br /> <br />
7676
</div>
7777
</div>

0 commit comments

Comments
 (0)