From 8d3a70d57cae46cf5626470e2ba983aae810d85f Mon Sep 17 00:00:00 2001 From: Yuns Date: Tue, 9 Jul 2024 14:39:36 +0800 Subject: [PATCH] chore: new test for Trans with React.Key --- src/components/AboutText.tsx | 1 + src/locales/src/pages/index.page/en.po | 6 +++++- src/locales/src/pages/index.page/es.po | 6 +++++- src/locales/src/pages/index.page/pseudo.po | 6 +++++- src/locales/src/pages/index.page/sr.po | 6 +++++- 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/components/AboutText.tsx b/src/components/AboutText.tsx index 8368a5c..27e18dc 100644 --- a/src/components/AboutText.tsx +++ b/src/components/AboutText.tsx @@ -4,6 +4,7 @@ export function AboutText() { return (

Hello, world + Once again
Next.js is an open-source React front-end development web framework that diff --git a/src/locales/src/pages/index.page/en.po b/src/locales/src/pages/index.page/en.po index 7ae6d56..502f2b4 100644 --- a/src/locales/src/pages/index.page/en.po +++ b/src/locales/src/pages/index.page/en.po @@ -48,10 +48,14 @@ msgid "Index Page Description" msgstr "Index Page Description" #. js-lingui-explicit-id -#: src/components/AboutText.tsx:8 +#: src/components/AboutText.tsx:9 msgid "message.next-explanation" msgstr "Next.js is an open-source React front-end development web framework that enables functionality such as server-side rendering and generating static websites for React based web applications. It is a production-ready framework that allows developers to quickly create static and dynamic JAMstack websites and is used widely by many large companies." +#: src/components/AboutText.tsx:7 +msgid "Once again" +msgstr "Once again" + #: src/pages/index.page.tsx:67 #: src/pages/index.page.tsx:69 msgid "Plain text" diff --git a/src/locales/src/pages/index.page/es.po b/src/locales/src/pages/index.page/es.po index 71da500..f02776a 100644 --- a/src/locales/src/pages/index.page/es.po +++ b/src/locales/src/pages/index.page/es.po @@ -48,10 +48,14 @@ msgid "Index Page Description" msgstr "ES Index Page Description" #. js-lingui-explicit-id -#: src/components/AboutText.tsx:8 +#: src/components/AboutText.tsx:9 msgid "message.next-explanation" msgstr "ES Next.js is an open-source React front-end development web framework that enables functionality such as server-side rendering and generating static websites for React based web applications. It is a production-ready framework that allows developers to quickly create static and dynamic JAMstack websites and is used widely by many large companies." +#: src/components/AboutText.tsx:7 +msgid "Once again" +msgstr "" + #: src/pages/index.page.tsx:67 #: src/pages/index.page.tsx:69 msgid "Plain text" diff --git a/src/locales/src/pages/index.page/pseudo.po b/src/locales/src/pages/index.page/pseudo.po index 421ab09..c62aa56 100644 --- a/src/locales/src/pages/index.page/pseudo.po +++ b/src/locales/src/pages/index.page/pseudo.po @@ -48,10 +48,14 @@ msgid "Index Page Description" msgstr "" #. js-lingui-explicit-id -#: src/components/AboutText.tsx:8 +#: src/components/AboutText.tsx:9 msgid "message.next-explanation" msgstr "" +#: src/components/AboutText.tsx:7 +msgid "Once again" +msgstr "" + #: src/pages/index.page.tsx:67 #: src/pages/index.page.tsx:69 msgid "Plain text" diff --git a/src/locales/src/pages/index.page/sr.po b/src/locales/src/pages/index.page/sr.po index 1d2cfdd..9f4b6b7 100644 --- a/src/locales/src/pages/index.page/sr.po +++ b/src/locales/src/pages/index.page/sr.po @@ -48,10 +48,14 @@ msgid "Index Page Description" msgstr "" #. js-lingui-explicit-id -#: src/components/AboutText.tsx:8 +#: src/components/AboutText.tsx:9 msgid "message.next-explanation" msgstr "" +#: src/components/AboutText.tsx:7 +msgid "Once again" +msgstr "" + #: src/pages/index.page.tsx:67 #: src/pages/index.page.tsx:69 msgid "Plain text"