WIP: Webmail

This commit is contained in:
Antoine Nguyen
2025-05-01 18:00:00 +02:00
parent c56264e57d
commit af196f7333
37 changed files with 2910 additions and 14 deletions
+4
View File
@@ -1,5 +1,6 @@
import gettext from './gettext'
import { DateTime } from 'luxon'
import { filesize } from 'filesize'
const { $gettext } = gettext
@@ -17,5 +18,8 @@ export default {
clamp = clamp || '...'
return value.length > length ? value.slice(0, length) + clamp : value
}
app.config.globalProperties.$filesize = (value) => {
return filesize(value, { locale: gettext.current })
}
},
}