mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
chore(LoginForm.tsx): remove extra whitespace (#619)
chore(Translation.tsx): add default return statement for getTranslations function chore(Eng.tsx): fix indentation, remove escaped apostrophe, and remove trailing whitespace chore(Zh.tsx): fix indentation, remove escaped apostrophe, and remove trailing whitespace
This commit is contained in:
parent
47e5493744
commit
c17c1488ca
4 changed files with 144 additions and 143 deletions
|
|
@ -8,6 +8,7 @@ export const getTranslations = (langCode: string) => {
|
|||
if (langCode === 'en') return English;
|
||||
if (langCode === 'cn') return Chinese;
|
||||
// === add conditionals here for additional languages here === //
|
||||
return English; // default to English
|
||||
};
|
||||
|
||||
// input: language code in string & phrase key in string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue