Skip to content

Commit

Permalink
Fix error with i18next-scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
anagperal committed Jun 26, 2024
1 parent b4ddd68 commit 906e679
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""
Expand All @@ -32,6 +32,9 @@ msgstr ""
msgid "Search"
msgstr ""

msgid "Last updated: "
msgstr ""

msgid "Incident Management Team Builder"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion i18n/es.po
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -32,6 +32,9 @@ msgstr ""
msgid "Search"
msgstr ""

msgid "Last updated: "
msgstr ""

msgid "Incident Management Team Builder"
msgstr ""

Expand Down
4 changes: 3 additions & 1 deletion src/webapp/components/section/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export const Section: React.FC<SectionProps> = React.memo(
{title ? <Title $titleVariant={titleVariant}>{title}</Title> : null}
{lastUpdated ? (
<LastUpdatedContainer>
<LastUpdatedTitle>{i18n.t("Last updated: ")}</LastUpdatedTitle>
<LastUpdatedTitle>
{i18n.t("Last updated: ", { nsSeparator: false })}
</LastUpdatedTitle>
{lastUpdated}
</LastUpdatedContainer>
) : null}
Expand Down

0 comments on commit 906e679

Please sign in to comment.