diff --git a/src/components/tiny/buttons.tsx b/src/components/tiny/buttons.tsx index fdde11f0..c27a3ba7 100644 --- a/src/components/tiny/buttons.tsx +++ b/src/components/tiny/buttons.tsx @@ -42,10 +42,10 @@ const ListButton = (href: string, text: string) => ; export const ToAdmin = ({ id }) => - ListButton(`/${id}/admin`, "Mine tilbakemeldinger" /* "trending_up" */); + ListButton(`/${id}/admin`, text.buttons.toAdmin /* "trending_up" */); export const ToQR = ({ id }) => - ListButton(`/${id}/code`, "QR-kode" /* "qr_code" */); + ListButton(`/${id}/code`, text.buttons.toQR /* "qr_code" */); export const ToPage = ({ id }) => - ListButton(`/${id}`, "Tilbakemeldingsside" /* "reply" */); \ No newline at end of file + ListButton(`/${id}`, text.buttons.toPage /* "reply" */); \ No newline at end of file diff --git a/src/text.ts b/src/text.ts index b2188889..8f74b001 100644 --- a/src/text.ts +++ b/src/text.ts @@ -52,12 +52,18 @@ export const buttons = strings({ en: { logout: "Log out", login: "Log in", - getStarted: "Get started!" + getStarted: "Get started!", + toAdmin: "Received feedback", + toQR: "My QR-code", + toPage: "My feeedback page" }, no: { logout: "Logg ut", login: "Logg inn", - getStarted: "Kom i gang!" + getStarted: "Kom i gang!", + toAdmin: "Mottatte tilbakemeldinger", + toQR: "Min QR-kode", + toPage: "Min tilbakemeldingsside" } });