mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
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:
parent
12ecf366b0
commit
5aee5c0fb8
8 changed files with 25 additions and 12 deletions
|
|
@ -6,7 +6,7 @@
|
|||
import WindowMinimize from 'svelte-material-icons/WindowMinimize.svelte';
|
||||
import type { UploadAsset } from '$lib/models/upload-asset';
|
||||
import { notificationController, NotificationType } from './notification/notification';
|
||||
import { getBytesWithUnit } from '../../utils/byte-units';
|
||||
import { asByteUnitString } from '$lib/utils/byte-units';
|
||||
|
||||
let showDetail = true;
|
||||
|
||||
|
|
@ -116,7 +116,7 @@
|
|||
<input
|
||||
disabled
|
||||
class="bg-gray-100 border w-full p-1 rounded-md text-[10px] px-2"
|
||||
value={`[${getBytesWithUnit(uploadAsset.file.size)}] ${uploadAsset.file.name}`}
|
||||
value={`[${asByteUnitString(uploadAsset.file.size)}] ${uploadAsset.file.name}`}
|
||||
/>
|
||||
|
||||
<div class="w-full bg-gray-300 h-[15px] rounded-md mt-[5px] text-white relative">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue