Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MrQuackDuck committed Dec 14, 2024
1 parent 39ef90e commit b8035b9
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/assets/locale/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Design & Stil",
"ESC_CLOSE": "[Esc] Schließen",
"ROOM_OWNER": "Raumbesitzer",
"ERROR_CODE": "Fehlercode"
"ERROR_CODE": "Fehlercode",
"SENDING": "Senden..."
}
3 changes: 2 additions & 1 deletion src/assets/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Design & Style",
"ESC_CLOSE": "[Esc] Close",
"ROOM_OWNER": "Room owner",
"ERROR_CODE": "Error code"
"ERROR_CODE": "Error code",
"SENDING": "Sending..."
}
3 changes: 2 additions & 1 deletion src/assets/locale/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Diseño y Estilo",
"ESC_CLOSE": "[Esc] Cerrar",
"ROOM_OWNER": "Propietario de la sala",
"ERROR_CODE": "Código de error"
"ERROR_CODE": "Código de error",
"SENDING": "Enviando..."
}
3 changes: 2 additions & 1 deletion src/assets/locale/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Design et Style",
"ESC_CLOSE": "[Échap] Fermer",
"ROOM_OWNER": "Propriétaire de la salle",
"ERROR_CODE": "Code d'erreur"
"ERROR_CODE": "Code d'erreur",
"SENDING": "Envoi en cours..."
}
3 changes: 2 additions & 1 deletion src/assets/locale/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Projekt i Styl",
"ESC_CLOSE": "[Esc] Zamknij",
"ROOM_OWNER": "Właściciel pokoju",
"ERROR_CODE": "Kod błędu"
"ERROR_CODE": "Kod błędu",
"SENDING": "Wysyłanie..."
}
3 changes: 2 additions & 1 deletion src/assets/locale/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Дизайн и Стиль",
"ESC_CLOSE": "[Esc] Закрыть",
"ROOM_OWNER": "Владелец комнаты",
"ERROR_CODE": "Код ошибки"
"ERROR_CODE": "Код ошибки",
"SENDING": "Отправка..."
}
3 changes: 2 additions & 1 deletion src/assets/locale/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,6 @@
"DESIGN_AND_STYLE": "Дизайн та Стиль",
"ESC_CLOSE": "[Esc] Закрити",
"ROOM_OWNER": "Власник кімнати",
"ERROR_CODE": "Код помилки"
"ERROR_CODE": "Код помилки",
"SENDING": "Надсилання..."
}
2 changes: 1 addition & 1 deletion src/features/send-message/ui/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function ChatInput({ onSend, messageToReply, messageToReplyAuthor, className, en
autoFocus
ref={textAreaRef}
onKeyDown={handleKeyDown}
placeholder={variant == "default" ? t("WRITE_MESSAGE") : ""}
placeholder={variant == "default" ? (isSending ? t("SENDING") : t("WRITE_MESSAGE")) : ""}
className={cn(
`flex items-center w-full !max-h-72 rounded-md border border-input bg-background px-3 py-2.5 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed h-11 pl-8 pr-20 resize-none
ring-0 focus-visible:ring-0 focus-visible:ring-offset-0`,
Expand Down

0 comments on commit b8035b9

Please sign in to comment.