mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-02 14:07:55 +00:00
Fix lint issues
This commit is contained in:
parent
74e5bdddd8
commit
a12f007110
@ -64,7 +64,7 @@ export const computeLocalize = (
|
|||||||
|
|
||||||
if (!translatedMessage) {
|
if (!translatedMessage) {
|
||||||
translatedMessage = new IntlMessageFormat(
|
translatedMessage = new IntlMessageFormat(
|
||||||
translatedValue.replace(/(\<.*\>)/g, "'$1'"),
|
translatedValue.replace(/[^'](<.*>)[^']/g, "'$1'"),
|
||||||
language,
|
language,
|
||||||
formats
|
formats
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user