mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
finish translations
This commit is contained in:
@@ -8,12 +8,17 @@ interface Props {
|
||||
username: string;
|
||||
}
|
||||
|
||||
export function TokenRevealModal({ onClose, token,username }: Props) {
|
||||
export function TokenRevealModal({ onClose, token, username }: Props) {
|
||||
return (
|
||||
<Modal
|
||||
visible={true}
|
||||
onClose={onClose}
|
||||
title={`${username}'s Token`}
|
||||
title={
|
||||
<Text
|
||||
id={"app.special.modals.token_reveal"}
|
||||
fields={{ name: username }}
|
||||
/>
|
||||
}
|
||||
actions={[
|
||||
{
|
||||
onClick: onClose,
|
||||
|
||||
@@ -39,7 +39,7 @@ export function CreateBotModal({ onClose, onCreate }: Props) {
|
||||
<Modal
|
||||
visible={true}
|
||||
onClose={onClose}
|
||||
title="Create a new Bot"
|
||||
title={<Text id="app.special.popovers.create_bot.title" />}
|
||||
actions={[
|
||||
{
|
||||
confirmation: true,
|
||||
@@ -72,7 +72,7 @@ export function CreateBotModal({ onClose, onCreate }: Props) {
|
||||
/>
|
||||
{error && (
|
||||
<Overline type="error" error={error}>
|
||||
Failed to create a bot!
|
||||
<Text id="app.special.popovers.create_bot.error" />
|
||||
</Overline>
|
||||
)}
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user