Commit Graph

4730 Commits

Author SHA1 Message Date
Weblate
cbf28f4503 chore(i18n): translate terms
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Romain Eggermont <rom.eggermont@gmail.com>
Co-authored-by: SaddFox <filip.rutar@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ur/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-01 17:47:14 -05:00
Weblate
a399de0554 chore(i18n): translate terms
Co-authored-by: ByKripsy <bykripsy@gmail.com>
Co-authored-by: ChokunPlayZ <chokun.swc555@gmail.com>
Co-authored-by: Elias Sjögreen <eliassjogreen1@gmail.com>
Co-authored-by: Elias Wennerlund <elias06wennerlund@gmail.com>
Co-authored-by: Fernando <ferferga.fer@gmail.com>
Co-authored-by: Fredrik Lindqvist <landrash@gmail.com>
Co-authored-by: Kirill <Kirill.veshtort@gmail.com>
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Meem Khan <meem.khaan@gmail.com>
Co-authored-by: Retrial <giwrgosmant@gmail.com>
Co-authored-by: Romain Eggermont <rom.eggermont@gmail.com>
Co-authored-by: Ryan Faiz Sanie <ryanfaiz2005@gmail.com>
Co-authored-by: SaddFox <filip.rutar@gmail.com>
Co-authored-by: Thomas Schwery <thomas@inf3.ch>
Co-authored-by: Tor Smedberg <tor.smedberg@gmail.com>
Co-authored-by: Tycho Brouwer <tychobrouwer33@gmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: lyaschuchenko <lyaschuchenko@gmail.com>
Co-authored-by: salvatore rizzu <rizzusalvatore95@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/el/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/id/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/it/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ru/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/th/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ur/
Translation: Jellyfin Vue/Jellyfin Vue
2024-01-01 17:29:54 -05:00
Fernando Fernández
e49d32908b fix: untranslated date strings and reword string
The "ago" part doesn't match perfectly in all languages, so we should let date-fns handle it for us

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 13:53:06 +01:00
Fernando Fernández
fe9b6be5dd perf: better compose computed properties in time
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 13:53:06 +01:00
Fernando Fernández
054d354bff perf: allow usedatefns to be garbage collected
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 13:53:06 +01:00
Weblate
14e5b527f3 chore(i18n): translate terms
Co-authored-by: Alehaaaa <alehamartinva@gmail.com>
Co-authored-by: Fredrik Lindqvist <landrash@gmail.com>
Co-authored-by: Larvitar <chrycm1995@gmail.com>
Co-authored-by: Ryan Faiz Sanie <ryanfaiz2005@gmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: gebohh <gebohh@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/es/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/id/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-31 20:01:05 -05:00
Fernando Fernández
826c367442
fix: windows builds (#2182)
Workaround sourced from https://github.com/vitejs/vite/issues/15153

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-01-01 01:39:30 +01:00
renovate[bot]
2210d8e6f6
chore(deps): update dependency eslint-plugin-jsdoc to v47 (#2180) 2023-12-31 20:06:17 +00:00
renovate[bot]
03e8f4a691
chore(deps): update dependency marked to v11.1.1 (#2179) 2023-12-31 20:53:56 +01:00
Fernando Fernández
5cd0af7a93
refactor(splashscreen): emit splashcreen code with rollup instead of embedding in index.html (#2181)
This will ease the maintenance burden of that code by allowing us to use the same tooling we use for the rest of the code (type-checking, eslint, etc) while also allowing us to use npm dependencies (like destr in this case), which could be
helpful in the future.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 20:34:37 +01:00
Fernando Fernández
00c2c754a1
refactor: disable manualchunks
It seems to not be stable. See commented issues for reference

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:39:36 +01:00
Fernando Fernández
757e357ad6
refactor: minor tunes
* Added suggested options to tsconfig.json by Vite docs:
  https://vitejs.dev/guide/features.html#typescript-compiler-options
* Ignore inline comments capitalization
* Add jsonc/auto rule to automatically inherit eslint rules for JSON files
* Improve dpdm run parameters

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
dcf18dc729
fix: circular dependencies in router middleware
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
6069c4a114
refactor: use uuid's validate function for testing uuids
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
dc0b7be006
refactor: remove circular dependencies in composables
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
d9a57c1f22
refactor: store imports to avoid circular deps
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
3339cdf07f
chore: add dpdm
Useful dependency for showcasing circular dependencies and other kinds of dependency graphs

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:49 +01:00
Fernando Fernández
84842a472b
chore(i18n): remove unused translation resources
Weblate will take care automatically of the future unused resources

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 19:38:43 +01:00
Fernando Fernández
60e385bea3 refactor(i18n): finish eslint i18n config
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
05d800396f refactor(i18n): use flattened keys in source code
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
2426a4c547 refactor(i18n): strict type checking for SettingsPage component
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
f4db8b86f7 refactor(i18n): sort keys and initial pass of missing keys
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
dae1fdfdc2 fix(i18n): upgrade @intlify/eslint-plugin-vue-i18n to next tag
There are incompatibilities with eslint due to an old eslint dependency
in this plugin. Upgrading allow us to use the no-unused-keys rule properly

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
172991b8f4 refactor(i18n): flat locale resources
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
170c001053 refactor(i18n): remove raw text in source code
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-31 18:15:54 +01:00
Fernando Fernández
d0a619f838 chore: set i18n ally to flat style 2023-12-31 18:15:54 +01:00
Fernando Fernández
eb27cc9107 refactor: dynamic usage of t for vue-i18n-extract to work better 2023-12-31 18:15:54 +01:00
Weblate
3b1bdf7e41 chore(i18n): translate terms
Co-authored-by: Daniel Öster <dalathegreat@gmail.com>
Co-authored-by: Oskari Lavinto <olavinto@protonmail.com>
Co-authored-by: ToastKiste21 <evIcOnId@protonmail.com>
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Co-authored-by: hoanghuy309 <hoanghuy309@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/fi/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/sv/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/vi/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-30 18:55:32 -05:00
Fernando Fernández
0c02199959
refactor: swiper (#2178)
Minor cleanup of all the swiper's code

There is an issue in swiper (https://github.com/nolimits4web/swiper/issues/7151) that affects the index calculation and the display of progress bars. Waiting for upstream fix.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 19:43:16 +00:00
Fernando Fernández
a7f7f3e178
perf: remove throttling from virtual grid (#2177)
Unnecessary due to the performance improvements introduced in Vue 3.4

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 19:08:35 +01:00
Fernando Fernández
be808a3a26
chore(types): fix datefns imports
After the update to datefns v3.0, these paths had to be updated

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 18:34:16 +01:00
Fernando Fernández
e6f9ce3001
chore: remove deprecated defineModel config
In Vue 3.4, defineModel is promoted to stable, so the option was deprecated and it's supported by default

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 18:01:39 +01:00
renovate[bot]
3d52c67ea2
chore(deps): update npm development dependencies (#2168) 2023-12-30 17:26:30 +01:00
renovate[bot]
51ce2c1df7
chore(deps): update npm development dependencies (major) (#2172) 2023-12-30 17:18:30 +01:00
renovate[bot]
f3c7804f61
chore(deps): update npm dependencies (#2175) 2023-12-30 17:13:55 +01:00
renovate[bot]
e8b0967bb7
chore(deps): update dependency date-fns to v3 (#2170) 2023-12-30 16:07:31 +00:00
Fernando Fernández
09c30b3aff
chore: don't treat cargo.lock as a binary file
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-30 16:50:56 +01:00
renovate[bot]
fc006f194b
chore(deps): update cargo dependencies (#2173) 2023-12-30 15:39:38 +00:00
renovate[bot]
6f98c304ae
chore(deps): update actions/setup-node action to v4.0.1 (#2169) 2023-12-30 16:31:27 +01:00
renovate[bot]
cebdb24cf1 chore(deps): update npm dependencies 2023-12-20 09:58:18 +00:00
Weblate
3c32968b9d chore(i18n): translate terms
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Co-authored-by: Sepp Jeremiah Morris <Seppdroidgaming@gmx.us>
Co-authored-by: queeup <queeup@zoho.com>
Co-authored-by: stanol <stanol777@gmail.com>
Co-authored-by: 皇甫朝云 <hfzy2014@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2023-12-16 14:02:33 -05:00
Fernando Fernández
ad19e26d46
ci: use javascript-typescript instead of javascript in CodeQL
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 16:47:37 +01:00
renovate[bot]
c94638ed95
chore(deps): update npm development dependencies 2023-12-16 16:47:37 +01:00
Fernando Fernández
dd6ba99bee
ci: update to artifacts v4
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 16:47:32 +01:00
renovate[bot]
71f504c990
chore(deps): update ci dependencies 2023-12-16 14:54:18 +01:00
Fernando Fernández
d4705522d5
ci: add merge queue support (#2167)
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 14:54:13 +01:00
Fernando Fernández
6416e7a76c fix: remove old and complete todo comments
* Vue 3.3.12 fixed the v-bind issue
* The pattern matching proposal was there from pre-Vue 3 era.
It will mark devices as deprecated for no sensible improvement, a switch
clause it's more than fine.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 13:47:31 +01:00
renovate[bot]
4bb4bb7e06 chore(deps): update npm dependencies 2023-12-16 13:47:31 +01:00
Fernando Fernández
52676faee8 chore: move some vue-router imports to vue-router/auto
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 13:33:34 +01:00
Fernando Fernández
deacdccd93 style: disable import/order to use VSCode's ordering instead
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2023-12-16 13:33:34 +01:00