refactor(webui): i18n in UpObject
parent
0f17538307
commit
6169dd25a3
|
@ -124,9 +124,9 @@
|
|||
notify.emit(
|
||||
"notification",
|
||||
new UpNotification(
|
||||
`Opening ${
|
||||
inferredIds[0] || address
|
||||
} in a default native application...`,
|
||||
$i18n.t("Opening {{identity}} in a default native application...", {
|
||||
identity: inferredIds[0] || address,
|
||||
}),
|
||||
),
|
||||
);
|
||||
api
|
||||
|
@ -151,7 +151,7 @@
|
|||
notify.emit(
|
||||
"notification",
|
||||
new UpNotification(
|
||||
`Failed to open in native application! (${err})`,
|
||||
$i18n.t("Failed to open in native application! ({{err}})", { err }),
|
||||
"error",
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue