Fixed modified by localization, and added DateTimeFormat to localization
This commit is contained in:
@ -40,6 +40,8 @@
|
||||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
DateTimeFormat = Localizer["DateTimeFormat"];
|
||||
|
||||
_text = string.Empty;
|
||||
if (!String.IsNullOrEmpty(CreatedBy) || CreatedOn.HasValue)
|
||||
{
|
||||
@ -64,12 +66,12 @@
|
||||
|
||||
if (!String.IsNullOrEmpty(ModifiedBy))
|
||||
{
|
||||
_text += $" {Localizer["by"]} <b>{ModifiedBy}</b>";
|
||||
_text += $" {Localizer["By"]} <b>{ModifiedBy}</b>";
|
||||
}
|
||||
|
||||
if (ModifiedOn != null)
|
||||
{
|
||||
_text += $" {Localizer["on"]} <b>{ModifiedOn.Value.ToString(DateTimeFormat)}</b>";
|
||||
_text += $" {Localizer["On"]} <b>{ModifiedOn.Value.ToString(DateTimeFormat)}</b>";
|
||||
}
|
||||
|
||||
_text += "</p>";
|
||||
|
Reference in New Issue
Block a user