mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-12-01 02:17:50 +01:00
Wrap intl in span identifying translation
This commit is contained in:
68 files changed
+1076
-510
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { DateTimeFormat, intl } from "src/locale";
|
||||
import { DateTimeFormat, T } from "src/locale";
|
||||
|
||||
interface Props {
|
||||
domains: string[];
|
||||
@@ -34,7 +34,7 @@ export function DomainsFormatter({ domains, createdOn }: Props) {
|
||||
</div>
|
||||
{createdOn ? (
|
||||
<div className="text-secondary mt-1">
|
||||
{intl.formatMessage({ id: "created-on" }, { date: DateTimeFormat(createdOn) })}
|
||||
<T id="created-on" data={{ date: DateTimeFormat(createdOn) }} />
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user