diff --git a/Oqtane.Client/Modules/Controls/AuditInfo.razor b/Oqtane.Client/Modules/Controls/AuditInfo.razor index d36e7f9a..21d6eb12 100644 --- a/Oqtane.Client/Modules/Controls/AuditInfo.razor +++ b/Oqtane.Client/Modules/Controls/AuditInfo.razor @@ -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"]} {ModifiedBy}"; + _text += $" {Localizer["By"]} {ModifiedBy}"; } if (ModifiedOn != null) { - _text += $" {Localizer["on"]} {ModifiedOn.Value.ToString(DateTimeFormat)}"; + _text += $" {Localizer["On"]} {ModifiedOn.Value.ToString(DateTimeFormat)}"; } _text += "

"; diff --git a/Oqtane.Client/Resources/Modules/Controls/AuditInfo.resx b/Oqtane.Client/Resources/Modules/Controls/AuditInfo.resx index eabb94a1..557ad302 100644 --- a/Oqtane.Client/Resources/Modules/Controls/AuditInfo.resx +++ b/Oqtane.Client/Resources/Modules/Controls/AuditInfo.resx @@ -132,4 +132,7 @@ Deleted + + MMM dd yyyy HH:mm:ss + \ No newline at end of file