Doc update, some i8n fix, Italian translation and a more realistic "chat.openai.com" login page (#634)

* Update user_auth_system.md

* Update Landing.tsx

* i8n bug fix & added Italian translation

---------

Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
This commit is contained in:
Marco Beretta 2023-07-14 03:43:08 +02:00 committed by GitHub
parent c7e57cd3a2
commit e3bf674cb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 109 additions and 19 deletions

View file

@ -1,5 +1,6 @@
import English from './languages/Eng';
import Chinese from './languages/Zh';
import Italy from './languages/It';
// === import additional language files here === //
// input: language code in string
@ -7,6 +8,7 @@ import Chinese from './languages/Zh';
export const getTranslations = (langCode: string) => {
if (langCode === 'en') return English;
if (langCode === 'cn') return Chinese;
if (langCode === 'it') return Italy;
// === add conditionals here for additional languages here === //
return English; // default to English
};