mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
update strings and style
This commit is contained in:
parent
e92877158c
commit
8ea0615600
2 changed files with 4 additions and 3 deletions
|
@ -230,7 +230,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
|||
} else setEditMode(true);
|
||||
}}
|
||||
contrast>
|
||||
{editMode ? "Cancel" : "Edit"}
|
||||
{editMode ? <Text id="app.special.modals.actions.cancel" /> : "Edit"}
|
||||
</Button>
|
||||
</div>
|
||||
{!editMode && (
|
||||
|
@ -298,7 +298,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
|||
{editMode && (
|
||||
<>
|
||||
<Button accent onClick={save}>
|
||||
Save
|
||||
<Text id="app.special.modals.actions.save" />
|
||||
</Button>
|
||||
<Button
|
||||
error
|
||||
|
@ -307,7 +307,7 @@ function BotCard({ bot, onDelete, onUpdate }: Props) {
|
|||
await client.bots.delete(bot._id);
|
||||
onDelete();
|
||||
}}>
|
||||
Delete
|
||||
<Text id="app.special.modals.actions.delete" />
|
||||
</Button>
|
||||
</>
|
||||
)}
|
||||
|
|
|
@ -532,6 +532,7 @@
|
|||
border-radius: var(--border-radius);
|
||||
|
||||
h5 { margin-bottom: 1em }
|
||||
h3 { margin-bottom: 0 }
|
||||
}
|
||||
|
||||
.botSection {
|
||||
|
|
Loading…
Reference in a new issue