🌍: Dutch translation, fix translation, style(Dropdown): added scroll (#1218)

* italian translation

* some translation fixes + dutch translation

* fix(Dropdown) more dynamic

* fix(Nl)

* fix(Nl)

* added comment in Nl.tsx
This commit is contained in:
Marco Beretta 2023-11-28 23:42:31 +01:00 committed by GitHub
parent 822914d521
commit 3838ff4617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 640 additions and 320 deletions

View file

@ -2,8 +2,11 @@ import type { ReactNode } from 'react';
import { EModelEndpoint } from 'librechat-data-provider';
import { icons } from './Menus/Endpoints/Icons';
import { useChatContext } from '~/Providers';
import { useLocalize } from '~/hooks';
export default function Landing({ Header }: { Header?: ReactNode }) {
const { conversation } = useChatContext();
const localize = useLocalize();
let { endpoint } = conversation ?? {};
if (
endpoint === EModelEndpoint.assistant ||
@ -22,7 +25,9 @@ export default function Landing({ Header }: { Header?: ReactNode }) {
{icons[endpoint ?? 'unknown']({ size: 41, className: 'h-2/3 w-2/3' })}
</div>
</div>
<div className="mb-5 text-2xl font-medium dark:text-white">How can I help you today?</div>
<div className="mb-5 text-2xl font-medium dark:text-white">
{localize('com_nav_welcome_message')}
</div>
</div>
</div>
);