Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ NativeName

string System.Globalization.CultureData.NativeName
getpackage

Definition at line 584 of file CultureData.cs.

585 {
586 get
587 {
588 string text = _sNativeDisplayName;
589 if (text == null && !GlobalizationMode.Invariant)
590 {
592 {
593 text = GetLocaleInfoCore(LocaleStringData.NativeDisplayName);
594 if (string.IsNullOrEmpty(text))
595 {
597 }
598 string sName = _sName;
599 if (!(sName == "zh-CHS"))
600 {
601 if (sName == "zh-CHT")
602 {
603 text += " 舊版";
604 }
605 }
606 else
607 {
608 text += " 旧版";
609 }
610 }
611 else
612 {
613 text = GetLocaleInfoCore(LocaleStringData.NativeDisplayName);
614 if (string.IsNullOrEmpty(text))
615 {
617 }
618 }
620 }
621 return text;
622 }
623 }
int GetLocaleInfoCore(LocaleNumberData type)

Referenced by System.Globalization.CultureData.NlsGetLanguageDisplayName().