chore: translation (#5097)
* chore: translation * Update web-app/src/locales/id/common.json Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
This commit is contained in:
parent
253f9f9501
commit
0b312f7a06
@ -22,6 +22,7 @@ import {
|
|||||||
import { useTheme } from '@/hooks/useTheme'
|
import { useTheme } from '@/hooks/useTheme'
|
||||||
import { teamEmoji } from '@/utils/teamEmoji'
|
import { teamEmoji } from '@/utils/teamEmoji'
|
||||||
import { AvatarEmoji } from '@/containers/AvatarEmoji'
|
import { AvatarEmoji } from '@/containers/AvatarEmoji'
|
||||||
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
interface AddEditAssistantProps {
|
interface AddEditAssistantProps {
|
||||||
open: boolean
|
open: boolean
|
||||||
@ -207,6 +208,8 @@ export default function AddEditAssistant({
|
|||||||
resetForm()
|
resetForm()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const { t } = useTranslation()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
@ -253,7 +256,9 @@ export default function AddEditAssistant({
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="space-y-2 w-full">
|
<div className="space-y-2 w-full">
|
||||||
<label className="text-sm mb-2 inline-block">Name</label>
|
<label className="text-sm mb-2 inline-block">
|
||||||
|
{t(`common.name`)}
|
||||||
|
</label>
|
||||||
<Input
|
<Input
|
||||||
value={name}
|
value={name}
|
||||||
onChange={(e) => setName(e.target.value)}
|
onChange={(e) => setName(e.target.value)}
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
"language": "Language",
|
"language": "Language",
|
||||||
"reset": "Reset",
|
"reset": "Reset",
|
||||||
"search": "Search",
|
"search": "Search",
|
||||||
|
"name": "Name",
|
||||||
|
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"chatInput": "Ask me anything..."
|
"chatInput": "Ask me anything..."
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
"language": "Bahasa",
|
"language": "Bahasa",
|
||||||
"reset": "Atur Ulang",
|
"reset": "Atur Ulang",
|
||||||
"search": "Cari",
|
"search": "Cari",
|
||||||
|
"name": "Nama",
|
||||||
|
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"chatInput": "Tanya apa saja..."
|
"chatInput": "Tanya apa saja..."
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
"language": "Ngôn ngữ",
|
"language": "Ngôn ngữ",
|
||||||
"reset": "Đặt lại",
|
"reset": "Đặt lại",
|
||||||
"search": "Tìm kiếm",
|
"search": "Tìm kiếm",
|
||||||
|
"name": "Tên",
|
||||||
|
|
||||||
"placeholder": {
|
"placeholder": {
|
||||||
"chatInput": "Hỏi tôi bất cứ điều gì..."
|
"chatInput": "Hỏi tôi bất cứ điều gì..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user