fix(i18n): fixed jellyfin jobs

This commit is contained in:
Daniel Fendrich
2023-07-28 15:49:48 +02:00
parent da2d8fe35b
commit 7eed23637d
14 changed files with 24 additions and 24 deletions

View File

@@ -71,13 +71,13 @@ export const startJobs = (): void => {
) {
// Run recently added jellyfin sync every 5 minutes
scheduledJobs.push({
id: 'jellyfin-recently-added-sync',
id: 'jellyfin-recently-added-scan',
name: 'Jellyfin Recently Added Sync',
type: 'process',
interval: 'minutes',
cronSchedule: jobs['jellyfin-recently-added-sync'].schedule,
cronSchedule: jobs['jellyfin-recently-added-scan'].schedule,
job: schedule.scheduleJob(
jobs['jellyfin-recently-added-sync'].schedule,
jobs['jellyfin-recently-added-scan'].schedule,
() => {
logger.info('Starting scheduled job: Jellyfin Recently Added Sync', {
label: 'Jobs',
@@ -91,12 +91,12 @@ export const startJobs = (): void => {
// Run full jellyfin sync every 24 hours
scheduledJobs.push({
id: 'jellyfin-full-sync',
id: 'jellyfin-full-scan',
name: 'Jellyfin Full Library Sync',
type: 'process',
interval: 'hours',
cronSchedule: jobs['jellyfin-full-sync'].schedule,
job: schedule.scheduleJob(jobs['jellyfin-full-sync'].schedule, () => {
cronSchedule: jobs['jellyfin-full-scan'].schedule,
job: schedule.scheduleJob(jobs['jellyfin-full-scan'].schedule, () => {
logger.info('Starting scheduled job: Jellyfin Full Sync', {
label: 'Jobs',
});

View File

@@ -263,8 +263,8 @@ export type JobId =
| 'sonarr-scan'
| 'download-sync'
| 'download-sync-reset'
| 'jellyfin-recently-added-sync'
| 'jellyfin-full-sync'
| 'jellyfin-recently-added-scan'
| 'jellyfin-full-scan'
| 'image-cache-cleanup'
| 'availability-sync';
@@ -446,10 +446,10 @@ class Settings {
'download-sync-reset': {
schedule: '0 0 1 * * *',
},
'jellyfin-recently-added-sync': {
'jellyfin-recently-added-scan': {
schedule: '0 */5 * * * *',
},
'jellyfin-full-sync': {
'jellyfin-full-scan': {
schedule: '0 0 3 * * *',
},
'image-cache-cleanup': {

View File

@@ -55,8 +55,8 @@ const messages: { [messageName: string]: MessageDescriptor } = defineMessages({
'plex-recently-added-scan': 'Plex Recently Added Scan',
'plex-full-scan': 'Plex Full Library Scan',
'plex-watchlist-sync': 'Plex Watchlist Sync',
'jellyfin-recently-added-sync': 'Jellyfin Recently Added Scan',
'jellyfin-full-sync': 'Jellyfin Full Library Scan',
'jellyfin-recently-added-scan': 'Jellyfin Recently Added Scan',
'jellyfin-full-scan': 'Jellyfin Full Library Scan',
'availability-sync': 'Media Availability Sync',
'radarr-scan': 'Radarr Scan',
'sonarr-scan': 'Sonarr Scan',

View File

@@ -551,7 +551,7 @@
"components.Settings.SettingsJobsCache.runnow": "Executa-ho ara",
"components.Settings.SettingsJobsCache.plex-full-scan": "Exploració completa de la biblioteca plex",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Exploració completa de la biblioteca Jellyfin",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Exploració d'elements de Jellyfin afegits recentment",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Exploració d'elements de Jellyfin afegits recentment",
"components.Settings.SettingsJobsCache.nextexecution": "Pròxima execució",
"components.Settings.SettingsJobsCache.jobstarted": "S'ha iniciat {jobname}.",
"components.Settings.SettingsJobsCache.jobcancelled": "{jobname} s'ha cancel·lat.",

View File

@@ -655,7 +655,7 @@
"components.Settings.SettingsJobsCache.imagecacheDescription": "Wenn diese Funktion in den Einstellungen aktiviert ist, wird Jellyseerr Bilder aus vorkonfigurierten externen Quellen cachen und ausliefern. Bilder im Cache werden in deinem Config Ordner abgelegt. Die findest die Dateien unter <code>{appDataPath}/cache/images</code>.",
"components.Settings.SettingsJobsCache.imagecachecount": "Bilder im Cache",
"components.Settings.SettingsJobsCache.imagecachesize": "Gesamtgröße des Cache",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Scan der zuletzt hinzugefügten Jellyfin Medien",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Scan der zuletzt hinzugefügten Jellyfin Medien",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Vollständiger Jellyfin Bibliotheken Scan",
"components.Settings.SettingsJobsCache.jobScheduleEditFailed": "Beim Speichern des Auftrags ging etwas schief.",
"components.Settings.SettingsJobsCache.jobScheduleEditSaved": "Auftrag erfolgreich bearbeitet!",

View File

@@ -373,7 +373,7 @@
"components.Settings.SettingsJobsCache.plex-recently-added-scan": "Σάρωση Plex για μέσα που προστέθηκαν πρόσφατα",
"components.Settings.SettingsJobsCache.plex-full-scan": "Σάρωση πλήρους βιβλιοθήκης Plex",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Σάρωση πλήρους βιβλιοθήκης Jellyfin",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Σάρωση Jellyfin για μέσα που προστέθηκαν πρόσφατα",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Σάρωση Jellyfin για μέσα που προστέθηκαν πρόσφατα",
"components.Settings.SettingsJobsCache.nextexecution": "Επόμενη εκτέλεση",
"components.Settings.SettingsJobsCache.jobtype": "Είδος",
"components.Settings.SettingsJobsCache.jobstarted": "{jobname} ξεκίνησε.",

View File

@@ -782,8 +782,8 @@
"components.Settings.SettingsJobsCache.imagecacheDescription": "When enabled in settings, Jellyseerr will proxy and cache images from pre-configured external sources. Cached images are saved into your config folder. You can find the files in <code>{appDataPath}/cache/images</code>.",
"components.Settings.SettingsJobsCache.imagecachecount": "Images Cached",
"components.Settings.SettingsJobsCache.imagecachesize": "Total Cache Size",
"components.Settings.SettingsJobsCache.jellyfin-full-sync": "Jellyfin Full Library Scan",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-sync": "Jellyfin Recently Added Scan",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Jellyfin Full Library Scan",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Jellyfin Recently Added Scan",
"components.Settings.SettingsJobsCache.jobScheduleEditFailed": "Something went wrong while saving the job.",
"components.Settings.SettingsJobsCache.jobScheduleEditSaved": "Job edited successfully!",
"components.Settings.SettingsJobsCache.jobcancelled": "{jobname} canceled.",

View File

@@ -560,7 +560,7 @@
"components.Settings.SettingsJobsCache.editJobScheduleSelectorHours": "Cada {jobScheduleHours, plural, one {hora} other {{jobScheduleHours} horas}}",
"components.Settings.SettingsJobsCache.editJobScheduleSelectorMinutes": "Cada {jobScheduleMinutes, plural, one {minuto} other {{jobScheduleMinutes} minutos}}",
"components.Settings.SettingsJobsCache.flushcache": "Vaciar Caché",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Escaneo de Recien Añadidos de Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Escaneo de Recien Añadidos de Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Escaneo Completo de la Biblioteca de Jellyfin",
"components.Settings.SettingsJobsCache.jobScheduleEditFailed": "Algo fue mal al guardar la tarea programada.",
"components.Settings.SettingsJobsCache.jobScheduleEditSaved": "¡Tarea programada modificada con éxito!",

View File

@@ -650,7 +650,7 @@
"components.Settings.SettingsJobsCache.editJobScheduleSelectorHours": "Toutes les {jobScheduleHours, plural, one {heure} other {{jobScheduleHours} heures}}",
"components.Settings.SettingsJobsCache.editJobScheduleSelectorMinutes": "Toutes les {jobScheduleMinutes, plural, one {minute} other {{jobScheduleMinutes} minutes}}",
"components.Settings.SettingsJobsCache.flushcache": "Vider le cache",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Scanner les récents ajoutés sur Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Scanner les récents ajoutés sur Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Scanner toute la bibliothèque Jellyfin",
"components.Settings.SettingsJobsCache.image-cache-cleanup": "Vider le cache des images",
"components.Settings.SettingsJobsCache.imagecache": "Cache des images",

View File

@@ -447,7 +447,7 @@
"components.Settings.SettingsJobsCache.plex-recently-added-scan": "Plex \"nemrégiben hozzáadott\" beolvasása",
"components.Settings.SettingsJobsCache.plex-full-scan": "Plex összes könyvtárának beolvasása",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Jellyfin összes könyvtárának beolvasása",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Jellyfin \"nemrégiben hozzáadott\" beolvasása",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Jellyfin \"nemrégiben hozzáadott\" beolvasása",
"components.Settings.SettingsJobsCache.nextexecution": "Következő végrehajtás",
"components.Settings.SettingsJobsCache.jobtype": "Típus",
"components.Settings.SettingsJobsCache.jobstarted": "{jobname} elindult.",

View File

@@ -565,7 +565,7 @@
"components.Settings.SettingsJobsCache.plex-recently-added-scan": "Plex recent toegevoegde scan",
"components.Settings.SettingsJobsCache.plex-full-scan": "Plex volledige bibliotheekscan",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "volledige bibliotheekscan Jellyfin",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Jellyfin recent toegevoegde scan",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Jellyfin recent toegevoegde scan",
"components.Settings.Notifications.validationUrl": "Je moet een geldige URL opgeven",
"components.Settings.Notifications.botAvatarUrl": "URL bot-avatar",
"components.RequestList.RequestItem.requested": "Aangevraagd",

View File

@@ -565,7 +565,7 @@
"components.Settings.SettingsJobsCache.plex-recently-added-scan": "Sincronizar Adicionado Recentemente do Plex",
"components.Settings.SettingsJobsCache.plex-full-scan": "Sincronização Completa da Biblioteca Plex",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Sincronização Completa da Biblioteca Jellyfin",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Sincronizar Adicionado Recentemente do Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Sincronizar Adicionado Recentemente do Jellyfin",
"components.RequestList.RequestItem.requested": "Pedido",
"components.RequestList.RequestItem.modifieduserdate": "{date} por {user}",
"components.RequestList.RequestItem.modified": "Modificado",

View File

@@ -545,7 +545,7 @@
"components.Settings.SettingsJobsCache.plex-recently-added-scan": "Skanning av det senast tillagda i Plex",
"components.Settings.SettingsJobsCache.plex-full-scan": "Full Plex-biblioteksskanning",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Full Jellyfin-biblioteksskanning",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Skanning av det senast tillagda i Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Skanning av det senast tillagda i Jellyfin",
"components.Settings.SettingsJobsCache.download-sync-reset": "Hämta synkroniseringsåterställning",
"components.Settings.SettingsJobsCache.download-sync": "Ladda ner synkronisering",
"components.Settings.SettingsAbout.preferredmethod": "Föredraget",

View File

@@ -650,7 +650,7 @@
"components.Settings.SettingsJobsCache.editJobScheduleSelectorHours": "Кожен {jobScheduleHours, plural, one {година} other {{jobScheduleHours} години(ів)}}",
"components.Settings.SettingsJobsCache.editJobScheduleSelectorMinutes": "Кожну {jobScheduleMinutes, plural, one {хвилину} other {{jobScheduleMinutes} хвилин(и)}}",
"components.Settings.SettingsJobsCache.flushcache": "Очистити кеш",
"components.Settings.SettingsJobsCache.jelly-recently-added-scan": "Нещодавно додане сканування Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-recently-added-scan": "Нещодавно додане сканування Jellyfin",
"components.Settings.SettingsJobsCache.jellyfin-full-scan": "Сканування повної бібліотеки Jellyfin",
"components.Settings.SettingsJobsCache.image-cache-cleanup": "Очищення кешу зображень",
"components.Settings.SettingsJobsCache.imagecache": "Кеш зображень",