Skip to content

Commit 3e3ca32

Browse files
Copilotgewarren
andcommitted
Fix writing style and culture ordering issues - change 'may' to 'might', fix zh cultures ordering
Co-authored-by: gewarren <[email protected]>
1 parent e31b1d1 commit 3e3ca32

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ CULTURE ISO ISO WIN DISPLAYNAME ENGLISHNAME
3232
ar ar ara ARA Arabic Arabic
3333
bg bg bul BGR Bulgarian Bulgarian
3434
ca ca cat CAT Catalan Catalan
35-
zh-Hans zh zho CHS Chinese (Simplified) Chinese (Simplified)
3635
cs cs ces CSY Czech Czech
3736
da da dan DAN Danish Danish
3837
de de deu DEU German German
@@ -41,6 +40,7 @@ en en eng ENU English English
4140
es es spa ESP Spanish Spanish
4241
fi fi fin FIN Finnish Finnish
4342
zh zh zho CHS Chinese Chinese
43+
zh-Hans zh zho CHS Chinese (Simplified) Chinese (Simplified)
4444
zh-Hant zh zho ZHH Chinese (Traditional) Chinese (Traditional)
4545
4646
*/

snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Module Module1
2929
'ar ar ara ARA Arabic Arabic
3030
'bg bg bul BGR Bulgarian Bulgarian
3131
'ca ca cat CAT Catalan Catalan
32-
'zh-Hans zh zho CHS Chinese (Simplified) Chinese (Simplified)
3332
'cs cs ces CSY Czech Czech
3433
'da da dan DAN Danish Danish
3534
'de de deu DEU German German
@@ -38,6 +37,7 @@ Module Module1
3837
'es es spa ESP Spanish Spanish
3938
'fi fi fin FIN Finnish Finnish
4039
'zh zh zho CHS Chinese Chinese
40+
'zh-Hans zh zho CHS Chinese (Simplified) Chinese (Simplified)
4141
'zh-Hant zh zho ZHH Chinese (Traditional) Chinese (Traditional)
4242

4343
End Module

xml/System.Globalization/CultureInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3378,7 +3378,7 @@ The following code example shows that CultureInfo.Clone also clones the <xref:Sy
33783378
The following code example displays several properties of the neutral cultures.
33793379
33803380
> [!NOTE]
3381-
> The `zh-Hans` and `zh-Hant` names represent the current standard for Chinese cultures. Older applications may reference the legacy `zh-CHS` and `zh-CHT` culture names, but these should be replaced with `zh-Hans` and `zh-Hant` respectively in modern applications.
3381+
> The `zh-Hans` and `zh-Hant` names represent the current standard for Chinese cultures. Older applications might reference the legacy `zh-CHS` and `zh-CHT` culture names, but these should be replaced with `zh-Hans` and `zh-Hant` respectively in modern applications.
33823382
33833383
:::code language="csharp" source="~/snippets/csharp/System.Globalization/CultureInfo/DisplayName/getcultures.cs" id="Snippet1":::
33843384
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CultureInfo.GetCultures/VB/getcultures.vb" id="Snippet1":::

0 commit comments

Comments
 (0)