LocalizedStrings
Ecng.Localization
The localized strings.
Properties
Localizer
public static ILocalizer Localizer { get; set; }
value = LocalizedStrings.Localizer
LocalizedStrings.Localizer = value
The localizer.
ScheduleValidityPeriod
public static string ScheduleValidityPeriod { get; }
value = LocalizedStrings.ScheduleValidityPeriod
SpecialDaysDesc
public static string SpecialDaysDesc { get; }
value = LocalizedStrings.SpecialDaysDesc
WorkingTimeTill
public static string WorkingTimeTill { get; }
value = LocalizedStrings.WorkingTimeTill
WorkScheduleDay
public static string WorkScheduleDay { get; }
value = LocalizedStrings.WorkScheduleDay
WorkScheduleDesc
public static string WorkScheduleDesc { get; }
value = LocalizedStrings.WorkScheduleDesc
Methods
Localize
public static string Localize(string enStr)
result = LocalizedStrings.Localize(enStr)
Localizes the string.
- enStr
- The string to localize on English.
Returns: The localized string.
LocalizeByKey
public static string LocalizeByKey(string key)
result = LocalizedStrings.LocalizeByKey(key)
Localizes the string.
- key
- The key of the string to localize.
Returns: The localized string.
Fields
ScheduleValidityPeriodKey
public const string ScheduleValidityPeriodKey
value = LocalizedStrings.ScheduleValidityPeriodKey
SpecialDaysDescKey
public const string SpecialDaysDescKey
value = LocalizedStrings.SpecialDaysDescKey
WorkingTimeTillKey
public const string WorkingTimeTillKey
value = LocalizedStrings.WorkingTimeTillKey
WorkScheduleDayKey
public const string WorkScheduleDayKey
value = LocalizedStrings.WorkScheduleDayKey
WorkScheduleDescKey
public const string WorkScheduleDescKey
value = LocalizedStrings.WorkScheduleDescKey