mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 16:53:36 -05:00
improvement(plugins-page) Use more i18 components
This commit is contained in:
parent
cdc077ffa1
commit
c3f4ad8f8d
1 changed files with 3 additions and 2 deletions
|
@ -88,10 +88,11 @@ function PluginCard({ plugin }: CardProps) {
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.buttonRow}>
|
<div className={styles.buttonRow}>
|
||||||
<Button
|
<Button
|
||||||
|
error
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
plugins.remove(plugin.namespace, plugin.id)
|
plugins.remove(plugin.namespace, plugin.id)
|
||||||
}>
|
}>
|
||||||
<p>Delete</p>
|
<Text id="app.settings.pages.plugins.delete_plugin" />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,7 +105,7 @@ export const PluginsPage = observer(() => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.plugins}>
|
<div className={styles.plugins}>
|
||||||
<Tip error hideSeparator>
|
<Tip error hideSeparator>
|
||||||
Warning: This feature is still in development.
|
<Text id="app.settings.pages.plugins.wip" />
|
||||||
</Tip>
|
</Tip>
|
||||||
{plugins.list().map((plugin) => {
|
{plugins.list().map((plugin) => {
|
||||||
return <PluginCard key={plugin.id} plugin={plugin} />;
|
return <PluginCard key={plugin.id} plugin={plugin} />;
|
||||||
|
|
Loading…
Reference in a new issue