mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-23 19:04:10 +01:00
🌎: Italian translation update & refactor: translations (#1414)
* italian translation update * fix: removed some translations * refactor(Translation)
This commit is contained in:
parent
bce4f41fae
commit
8be2b6f380
5 changed files with 129 additions and 107 deletions
|
|
@ -57,8 +57,7 @@ if (!String.prototype.format) {
|
|||
// input: language code in string
|
||||
// returns an object of translated strings in the language
|
||||
export const getTranslations = (langCode: string) => {
|
||||
const language = languageMap[langCode] || English;
|
||||
return language;
|
||||
return languageMap[langCode] || English;
|
||||
};
|
||||
|
||||
// input: language code in string & phrase key in string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue