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:
Faisal Amir 2025-05-25 17:25:23 +07:00 committed by GitHub
parent 253f9f9501
commit 0b312f7a06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 1 deletions

View File

@ -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)}

View File

@ -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..."

View File

@ -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..."

View File

@ -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ì..."