mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-04 12:56:02 +00:00
* feat: add i18n support with language selector on login page Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: complete i18n implementation for all webui components Co-Authored-By: Junyan Qin <Chin> <rockchinq@gmail.com> * feat: complete all hardcoded text * feat: dynamic label i18n * fix: lint errors * fix: lint errors * delete sh fils * fix: edit model dialog title --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Junyan Qin <Chin> <rockchinq@gmail.com>
27 lines
563 B
TypeScript
27 lines
563 B
TypeScript
import './global.css';
|
|
import type { Metadata } from 'next';
|
|
import { Toaster } from '@/components/ui/sonner';
|
|
import I18nProvider from '@/i18n/I18nProvider';
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'LangBot',
|
|
description: 'LangBot 是大模型原生即时通信机器人平台',
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html>
|
|
<body className={``}>
|
|
<I18nProvider>
|
|
{children}
|
|
<Toaster />
|
|
</I18nProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|