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 { teamEmoji } from '@/utils/teamEmoji'
|
||||
import { AvatarEmoji } from '@/containers/AvatarEmoji'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
interface AddEditAssistantProps {
|
||||
open: boolean
|
||||
@ -207,6 +208,8 @@ export default function AddEditAssistant({
|
||||
resetForm()
|
||||
}
|
||||
|
||||
const { t } = useTranslation()
|
||||
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent>
|
||||
@ -253,7 +256,9 @@ export default function AddEditAssistant({
|
||||
</div>
|
||||
|
||||
<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
|
||||
value={name}
|
||||
onChange={(e) => setName(e.target.value)}
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
"language": "Language",
|
||||
"reset": "Reset",
|
||||
"search": "Search",
|
||||
"name": "Name",
|
||||
|
||||
"placeholder": {
|
||||
"chatInput": "Ask me anything..."
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
"language": "Bahasa",
|
||||
"reset": "Atur Ulang",
|
||||
"search": "Cari",
|
||||
"name": "Nama",
|
||||
|
||||
"placeholder": {
|
||||
"chatInput": "Tanya apa saja..."
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
"language": "Ngôn ngữ",
|
||||
"reset": "Đặt lại",
|
||||
"search": "Tìm kiếm",
|
||||
"name": "Tên",
|
||||
|
||||
"placeholder": {
|
||||
"chatInput": "Hỏi tôi bất cứ điều gì..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user