mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 01:55:36 +01:00
feat(link): update LinkEditForm to use localized labels for Open Graph fields
- Replaced static labels in LinkEditForm with localized messages for ogTitle, ogDescription, and ogImageUrl. - Added a new label for imageUrl in the messages file to support localization.
This commit is contained in:
parent
dd2de94548
commit
0471c6b452
2 changed files with 4 additions and 3 deletions
|
|
@ -145,15 +145,15 @@ export function LinkEditForm({
|
|||
|
||||
{showAdvanced && (
|
||||
<Column gap="3">
|
||||
<FormField label="Title" name="ogTitle">
|
||||
<FormField label={formatMessage(labels.title)} name="ogTitle">
|
||||
<TextField autoComplete="off" />
|
||||
</FormField>
|
||||
|
||||
<FormField label="Description" name="ogDescription">
|
||||
<FormField label={formatMessage(labels.description)} name="ogDescription">
|
||||
<TextField autoComplete="off" />
|
||||
</FormField>
|
||||
|
||||
<FormField label="Image URL" name="ogImageUrl">
|
||||
<FormField label={formatMessage(labels.imageUrl)} name="ogImageUrl">
|
||||
<TextField autoComplete="off" />
|
||||
</FormField>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue