Revert "Fixed modified by localization, and added DateTimeFormat to localization"
This reverts commit 4a8bcc6f71
.
This commit is contained in:
parent
4a8bcc6f71
commit
dbb58541f2
|
@ -40,8 +40,6 @@
|
|||
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
DateTimeFormat = Localizer["DateTimeFormat"];
|
||||
|
||||
_text = string.Empty;
|
||||
if (!String.IsNullOrEmpty(CreatedBy) || CreatedOn.HasValue)
|
||||
{
|
||||
|
@ -66,12 +64,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>";
|
||||
|
|
|
@ -132,7 +132,4 @@
|
|||
<data name="Deleted" xml:space="preserve">
|
||||
<value>Deleted</value>
|
||||
</data>
|
||||
<data name="DateTimeFormat" xml:space="preserve">
|
||||
<value>MMM dd yyyy HH:mm:ss</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user