fix(web): translations (#10021)

This commit is contained in:
Michel Heusschen 2024-06-07 13:23:13 +02:00 committed by GitHub
parent f2148ddf03
commit c8f2d994c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 73 additions and 36 deletions

View file

@ -61,12 +61,12 @@
[JobName.ThumbnailGeneration]: {
icon: mdiFileJpgBox,
title: getJobName(JobName.ThumbnailGeneration),
subtitle: $t('thumbnail_generation_job_description'),
subtitle: $t('admin.thumbnail_generation_job_description'),
},
[JobName.MetadataExtraction]: {
icon: mdiTable,
title: getJobName(JobName.MetadataExtraction),
subtitle: $t('metadata_extraction_job_description'),
subtitle: $t('admin.metadata_extraction_job_description'),
},
[JobName.Library]: {
icon: mdiLibraryShelves,
@ -78,7 +78,7 @@
[JobName.Sidecar]: {
title: getJobName(JobName.Sidecar),
icon: mdiFileXmlBox,
subtitle: $t('sidecar_job_description'),
subtitle: $t('admin.sidecar_job_description'),
allText: $t('sync').toUpperCase(),
missingText: $t('discover').toUpperCase(),
disabled: !$featureFlags.sidecar,
@ -86,13 +86,13 @@
[JobName.SmartSearch]: {
icon: mdiImageSearch,
title: getJobName(JobName.SmartSearch),
subtitle: $t('smart_search_job_description'),
subtitle: $t('admin.smart_search_job_description'),
disabled: !$featureFlags.smartSearch,
},
[JobName.DuplicateDetection]: {
icon: mdiContentDuplicate,
title: getJobName(JobName.DuplicateDetection),
subtitle: $t('duplicate_detection_job_description'),
subtitle: $t('admin.duplicate_detection_job_description'),
disabled: !$featureFlags.duplicateDetection,
},
[JobName.FaceDetection]: {
@ -114,7 +114,7 @@
[JobName.VideoConversion]: {
icon: mdiVideo,
title: getJobName(JobName.VideoConversion),
subtitle: $t('video_conversion_job_description'),
subtitle: $t('admin.video_conversion_job_description'),
},
[JobName.StorageTemplateMigration]: {
icon: mdiFolderMove,
@ -125,7 +125,7 @@
[JobName.Migration]: {
icon: mdiFolderMove,
title: getJobName(JobName.Migration),
subtitle: $t('migration_job_description'),
subtitle: $t('admin.migration_job_description'),
allowForceCommand: false,
},
};

View file

@ -5,6 +5,6 @@
Apply the current
<a href="{AppRoute.ADMIN_SETTINGS}?open=storageTemplate" class="text-immich-primary dark:text-immich-dark-primary"
>{$t('storage_template_settings')}</a
>{$t('admin.storage_template_settings')}</a
>
to previously uploaded assets

View file

@ -270,7 +270,7 @@
},
{
value: TranscodeHWAccel.Disabled,
text: $t('disabled'),
text: $t('admin.disabled'),
},
]}
isEdited={config.ffmpeg.accel !== savedConfig.ffmpeg.accel}

View file

@ -100,7 +100,7 @@
href="https://crontab.guru"
class="underline"
target="_blank"
rel="noreferrer">{$t('crontab_guru')}</a
rel="noreferrer">{$t('admin.crontab_guru')}</a
>
</p>
</svelte:fragment>