Skip to content

Commit

Permalink
Localize the output of the library count to make it more readable (#7305
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MarcelEeken committed Feb 21, 2024
1 parent 8f57bfb commit 06c1349
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import Icon from '$lib/components/elements/icon.svelte';
import LoadingSpinner from '$lib/components/shared-components/loading-spinner.svelte';
import { locale } from '$lib/stores/preferences.store';
import { getBytesWithUnit } from '$lib/utils/byte-units';
import { getContextMenuPosition } from '$lib/utils/context-menu';
import { handleError } from '$lib/utils/handle-error';
Expand Down Expand Up @@ -332,7 +333,7 @@
</td>
{:else}
<td class="w-1/6 text-ellipsis px-4 text-sm">
{totalCount[index]}
{totalCount[index].toLocaleString($locale)}
</td>
<td class="w-1/6 text-ellipsis px-4 text-sm">{diskUsage[index]} {diskUsageUnit[index]}</td>
{/if}
Expand Down

0 comments on commit 06c1349

Please sign in to comment.