Fix count and status wording (Refs #121)
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
import Input from '$ui/components/primitives/Input.svelte';
|
||||
import Select from '$ui/components/primitives/Select.svelte';
|
||||
import { libraryLimit, saveLibraryContext } from '$ui/library-context.js';
|
||||
import { plural } from '$ui/plural.js';
|
||||
const editable = $derived(canOperate($page.data?.user?.role));
|
||||
|
||||
type ArtifactKind = 'script' | 'config' | 'plugin' | 'baseline';
|
||||
@@ -353,7 +354,7 @@
|
||||
</details>{/if}
|
||||
<section class="section">
|
||||
<div class="list-heading">
|
||||
<span>{visible.length} of {plugins.length} plugins</span
|
||||
<span>{visible.length} of {plugins.length} {plural(plugins.length, 'plugin')}</span
|
||||
>{#if visible.length && (search || game || status)}<Button
|
||||
variant="ghost"
|
||||
size="sm"
|
||||
|
||||
Reference in New Issue
Block a user