diff --git a/public/locales/en/about.json b/public/locales/en/about.json index a2a5a41d3..5e20fdf5a 100644 --- a/public/locales/en/about.json +++ b/public/locales/en/about.json @@ -1,4 +1,5 @@ { + "bw": "This text about this GUI, not BestWaifu!", "description": "Better ChatGPT is an amazing open-source web app that allows you to play with OpenAI's ChatGPT API for free!", "sourceCode": "Checkout the <0>source code on GitHub and give it a ⭐️!", "initiative": { diff --git a/public/locales/ru/about.json b/public/locales/ru/about.json index a84fa2de8..53263732d 100644 --- a/public/locales/ru/about.json +++ b/public/locales/ru/about.json @@ -1,4 +1,5 @@ { + "bw": "Данный текст о графическом интерфейсе, не о BestWaifu!", "description": "Better ChatGPT - это потрясающее открытое веб-приложение, позволяющее вам бесплатно использовать API ChatGPT от OpenAI!", "sourceCode": "Ознакомьтесь с <0>исходным кодом на GitHub и поставьте ему ⭐️!", "initiative": { diff --git a/src/components/AboutMenu/AboutMenu.tsx b/src/components/AboutMenu/AboutMenu.tsx index de13c3317..b0f6725cf 100644 --- a/src/components/AboutMenu/AboutMenu.tsx +++ b/src/components/AboutMenu/AboutMenu.tsx @@ -28,6 +28,7 @@ const AboutMenu = () => { >
+

{t('bw', { ns: 'about' })} BestWaifu

{t('description', { ns: 'about' })}

{ + const { t } = useTranslation(); + return ( + + + BestWaifu + + ); +}; + +export default BestWaifu; diff --git a/src/components/Menu/MenuOptions/MenuOptions.tsx b/src/components/Menu/MenuOptions/MenuOptions.tsx index c547f9829..172747981 100644 --- a/src/components/Menu/MenuOptions/MenuOptions.tsx +++ b/src/components/Menu/MenuOptions/MenuOptions.tsx @@ -3,6 +3,7 @@ import useStore from '@store/store'; import Api from './Api'; import Me from './Me'; +import BestWaifu from './BestWaifu'; import AboutMenu from '@components/AboutMenu'; import ImportExportChat from '@components/ImportExportChat'; import SettingsMenu from '@components/SettingsMenu'; @@ -25,6 +26,7 @@ const MenuOptions = () => { > {countTotalTokens && } {googleClientId && } +