feat(web): More localisation (#1441)

* File size localisation

* Localisation for sidebar tooltips

* Localisation for active/waiting jobs

* Localisation for selected item counts

* Prettier

* Ignore Jest coverage directory for Prettier
This commit is contained in:
Kiel Hurley
2023-01-28 18:57:25 +13:00
committed by GitHub
parent 12ecf366b0
commit 5aee5c0fb8
8 changed files with 25 additions and 12 deletions

View File

@@ -145,6 +145,8 @@
assetInteractionStore.clearMultiselect();
isShowCreateSharedLinkModal = false;
};
const locale = navigator.language;
</script>
<section>
@@ -156,7 +158,7 @@
>
<svelte:fragment slot="leading">
<p class="font-medium text-immich-primary dark:text-immich-dark-primary">
Selected {$selectedAssets.size}
Selected {$selectedAssets.size.toLocaleString(locale)}
</p>
</svelte:fragment>
<svelte:fragment slot="trailing">