mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-07 16:36:52 +02:00
* Added separate localization & clean up * Added new methods docs * Added GetFoundCultures method * Clean up code * Removed some formating shit * Do better CultureInfo comparison * Oops * Review * Command fixes --------- Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com>
12 lines
275 B
C#
12 lines
275 B
C#
using System.Globalization;
|
|
|
|
namespace Robust.Shared.Utility;
|
|
|
|
public static class CultureInfoExtension
|
|
{
|
|
public static bool NameEquals(this CultureInfo cultureInfo, CultureInfo otherCultureInfo)
|
|
{
|
|
return cultureInfo.Name == otherCultureInfo.Name;
|
|
}
|
|
}
|