Skip to content

Commit

Permalink
Merge pull request #61 from Owlvernyte/fiezt/vietsub
Browse files Browse the repository at this point in the history
Vietsub
  • Loading branch information
fieztazica authored Oct 23, 2023
2 parents 9b2ed4f + e1c8c4e commit fda8782
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions app/(basic)/rooms/[id]/Game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function Game({ roomCode, accessToken, user }: GameProps) {
setMessages((a) => [
...a,
{
content: `${userDto.userName} joined.`,
content: `${userDto.userName} vừa tham gia phòng`,
...systemMsgProps,
},
])
Expand All @@ -203,7 +203,7 @@ function Game({ roomCode, accessToken, user }: GameProps) {
setMessages((a) => [
...a,
{
content: `${userDto.userName} left.`,
content: `${userDto.userName} đã rời phòng`,
...systemMsgProps,
},
])
Expand Down Expand Up @@ -380,7 +380,7 @@ function Game({ roomCode, accessToken, user }: GameProps) {
id={cell.id}
target={cell}
position={cell.coord}
title={'Cant move'}
title={'Không thể di chuyển'}
disabled
draggable={false}
/>
Expand All @@ -400,7 +400,7 @@ function Game({ roomCode, accessToken, user }: GameProps) {
id={cell.id}
target={cell}
position={cell.coord}
title={'Movable'}
title={'Có thể di chuyển'}
/>
</Cell>
)
Expand All @@ -412,7 +412,7 @@ function Game({ roomCode, accessToken, user }: GameProps) {
id={cell.id}
target={cell}
position={cell.coord}
title={'Cant move'}
title={'Không thể di chuyển'}
disabled
draggable={false}
/>
Expand Down
2 changes: 1 addition & 1 deletion app/(basic)/rooms/[id]/LeftArea/ChatBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function ChatBox({
required
name="message-content"
className="input input-bordered input-primary bg-bamboo-100 join-item w-full placeholder-dirt-300 placeholder-opacity-50"
placeholder="Type something..."
placeholder="Nhập vào gì đó..."
/>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/(basic)/rooms/[id]/RightArea/PlayerArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function PlayerArea({
<div className="bg-primary w-full h-full rounded-md shadow-lg p-2 flex flex-col items-center overflow-y-auto">
<div id={`player${playerIndex}`} className="self-start pl-4 py-2">
<PlayerInformation
username={userName ?? `Waiting for player`}
username={userName ?? `Trống`}
avatarSrc={avatarSrc ?? '/assets/avatars/avatar1.png'}
avatarSize={50}
imageWidth={70}
Expand Down

0 comments on commit fda8782

Please sign in to comment.