Exemplo n.º 1
0
            public LocaleEntry([Localizable(false)] string id, string version, double coverity = 1d, long size = 0L)
            {
                Id          = id;
                Version     = version;
                Coverity    = coverity;
                Size        = size;
                IsSupported = LocaleHelper.IsSupported(id);

                CanBeUpdated = id != null && !Equals(coverity, 1d);

                var name = id == null ? AppStrings.Settings_Locale_Custom : new CultureInfo(id).NativeName.ToTitle();

                DisplayName = name;
            }