From 906e6793bcf90dcb03be8926e1762a9023db9953 Mon Sep 17 00:00:00 2001 From: Ana Garcia Date: Wed, 26 Jun 2024 15:34:13 +0200 Subject: [PATCH] Fix error with i18next-scanner --- i18n/en.pot | 7 +++++-- i18n/es.po | 5 ++++- src/webapp/components/section/Section.tsx | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/i18n/en.pot b/i18n/en.pot index 25faf61a..171de7da 100644 --- a/i18n/en.pot +++ b/i18n/en.pot @@ -5,8 +5,8 @@ msgstr "" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" -"POT-Creation-Date: 2024-06-25T09:02:09.519Z\n" -"PO-Revision-Date: 2024-06-25T09:02:09.519Z\n" +"POT-Creation-Date: 2024-06-26T13:33:38.517Z\n" +"PO-Revision-Date: 2024-06-26T13:33:38.517Z\n" msgid "Add new option" msgstr "" @@ -32,6 +32,9 @@ msgstr "" msgid "Search" msgstr "" +msgid "Last updated: " +msgstr "" + msgid "Incident Management Team Builder" msgstr "" diff --git a/i18n/es.po b/i18n/es.po index 3a1b16fb..3c53cb62 100644 --- a/i18n/es.po +++ b/i18n/es.po @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: i18next-conv\n" -"POT-Creation-Date: 2024-06-25T09:02:09.519Z\n" +"POT-Creation-Date: 2024-06-26T13:33:38.517Z\n" "PO-Revision-Date: 2018-10-25T09:02:35.143Z\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -32,6 +32,9 @@ msgstr "" msgid "Search" msgstr "" +msgid "Last updated: " +msgstr "" + msgid "Incident Management Team Builder" msgstr "" diff --git a/src/webapp/components/section/Section.tsx b/src/webapp/components/section/Section.tsx index 5da0311b..83f3fae6 100644 --- a/src/webapp/components/section/Section.tsx +++ b/src/webapp/components/section/Section.tsx @@ -30,7 +30,9 @@ export const Section: React.FC = React.memo( {title ? {title} : null} {lastUpdated ? ( - {i18n.t("Last updated: ")} + + {i18n.t("Last updated: ", { nsSeparator: false })} + {lastUpdated} ) : null}