mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
🌍: 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:
parent
822914d521
commit
3838ff4617
11 changed files with 640 additions and 320 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue