diff --git a/src/_locales/en/messages.json b/src/_locales/en/messages.json index 78f6ed8..3782abc 100644 --- a/src/_locales/en/messages.json +++ b/src/_locales/en/messages.json @@ -22,5 +22,8 @@ }, "no": { "message": "No" + }, + "error": { + "message": "Error" } } diff --git a/src/js/components/ErrorRenderer.tsx b/src/js/components/ErrorRenderer.tsx index d2746d2..7d974e3 100644 --- a/src/js/components/ErrorRenderer.tsx +++ b/src/js/components/ErrorRenderer.tsx @@ -1,9 +1,10 @@ import React from "react"; export function ErrorRenderer({ error }: {error: Error}) { + const t = chrome.i18n.getMessage; return (