From c58148af355c3856810d894363d7c3be81463348 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Mon, 1 Jul 2024 00:29:10 +0200 Subject: [PATCH] feat(web): add more translations (#10700) * feat(web): add more translations * formatting --- .../admin-page/delete-confirm-dialogue.svelte | 2 +- .../settings/auth/auth-settings.svelte | 2 +- .../library-settings/library-settings.svelte | 2 +- .../settings/map-settings/map-settings.svelte | 17 +++++++----- .../supported-datetime-panel.svelte | 6 ++--- .../detail-panel-description.svelte | 2 +- .../asset-viewer/panorama-viewer.svelte | 3 ++- .../faces-page/person-side-panel.svelte | 14 +++++----- .../shared-components/status-box.svelte | 7 ++++- .../upload-asset-preview.svelte | 4 +-- .../shared-components/user-avatar.svelte | 3 ++- .../version-announcement-box.svelte | 2 +- .../user-settings-page/device-card.svelte | 2 +- web/src/lib/i18n/en.json | 26 ++++++++++++++++++- web/src/lib/stores/assets.store.ts | 6 +++-- web/src/lib/utils/file-uploader.ts | 15 ++++++----- .../[[assetId=id]]/+page.svelte | 4 +-- .../[[assetId=id]]/+page.svelte | 8 +++--- web/src/routes/+layout.svelte | 2 +- .../routes/admin/user-management/+page.svelte | 16 ++++-------- 20 files changed, 90 insertions(+), 53 deletions(-) diff --git a/web/src/lib/components/admin-page/delete-confirm-dialogue.svelte b/web/src/lib/components/admin-page/delete-confirm-dialogue.svelte index 6bc02046c5..e8490339a6 100644 --- a/web/src/lib/components/admin-page/delete-confirm-dialogue.svelte +++ b/web/src/lib/components/admin-page/delete-confirm-dialogue.svelte @@ -74,7 +74,7 @@
Are you sure you want to disable all login methods? Login will be completely disabled.
+{$t('admin.authentication_settings_disable_all')}
- Manage {$t('admin.map_reverse_geocoding')} settings
+ Asset's creation timestamp is used for the datetime information Sample time 2022-02-03T04:56:05.250 {$t('admin.storage_template_date_time_description')} {$t('admin.storage_template_date_time_sample', { values: { date: '2022-02-03T04:56:05.250' } })}
- Skipped
+ {$t('asset_skipped')}
{#if uploadAsset.message}
({uploadAsset.message})
{/if}
@@ -75,7 +75,7 @@
{:else if uploadAsset.state === UploadState.DONE}
- Uploaded
+ {$t('asset_uploaded')}
{#if uploadAsset.message}
({uploadAsset.message})
{/if}
diff --git a/web/src/lib/components/shared-components/user-avatar.svelte b/web/src/lib/components/shared-components/user-avatar.svelte
index 02f4ca93f2..0cb8ee9f77 100644
--- a/web/src/lib/components/shared-components/user-avatar.svelte
+++ b/web/src/lib/components/shared-components/user-avatar.svelte
@@ -5,6 +5,7 @@
@@ -57,7 +59,7 @@
DATE & TIME
+ {$t('date_and_time').toUpperCase()}