Class AchievementSyncMissingLocale
A language the storefront holds achievement text in that the project's string table collection has no table for, so a pull cannot file that text until the author adds the language — and, when the project has no locale for it either (under the storefront's code or an alias of it), the locale too.
Inherited Members
Namespace: Serenity.Achievements.Application.Sync
Assembly: Serenity.Achievements.Application.dll
Syntax
public sealed class AchievementSyncMissingLocale
Constructors
AchievementSyncMissingLocale(string, string, string)
Creates a missing language.
Declaration
public AchievementSyncMissingLocale(string localeCode, string displayName, string existingProjectLocaleCode = "")
Parameters
| Type | Name | Description |
|---|---|---|
| string | localeCode | The Unity locale code of the language, as the storefront's records carry it. |
| string | displayName | The language's name as the storefront knows it, for example |
| string | existingProjectLocaleCode | The code the project already registers a locale for this language under — an alias of
|
Properties
DisplayName
Declaration
public string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string | The language's name, or its locale code when the connector names none. |
ExistingProjectLocaleCode
Declaration
public string ExistingProjectLocaleCode { get; }
Property Value
| Type | Description |
|---|---|
| string | The code the project registers its locale for this language under, or empty when it has no locale for it. |
HasExistingProjectLocale
Declaration
public bool HasExistingProjectLocale { get; }
Property Value
| Type | Description |
|---|---|
| bool | Whether the project already has a locale for this language, so only a table is missing and no locale may be made. |
LocaleCode
Declaration
public string LocaleCode { get; }
Property Value
| Type | Description |
|---|---|
| string | The locale code the storefront's texts are filed under. |
ProjectLocaleCode
Declaration
public string ProjectLocaleCode { get; }
Property Value
| Type | Description |
|---|---|
| string | The locale code the project files this language under once it is added: its own locale when it has one. |