diff --git a/frontend/public/locales/de/translation.json b/frontend/public/locales/de/translation.json
index 8ae9013..60cf436 100644
--- a/frontend/public/locales/de/translation.json
+++ b/frontend/public/locales/de/translation.json
@@ -1489,6 +1489,16 @@
"labels": {
"recommended": "Empfohlen",
"notAvailable": "Nicht verfügbar"
+ },
+ "urlPreview": {
+ "title": "Beispiel-Sync-URL:",
+ "legend": {
+ "serverUrl": "Server-URL",
+ "webdavPath": "WebDAV-Pfad",
+ "bucketPrefix": "Bucket/Präfix",
+ "watchDirectory": "Überwachungsverzeichnis",
+ "exampleFile": "Beispieldatei"
+ }
}
}
}
diff --git a/frontend/public/locales/en/translation.json b/frontend/public/locales/en/translation.json
index bf7c2d0..20fd107 100644
--- a/frontend/public/locales/en/translation.json
+++ b/frontend/public/locales/en/translation.json
@@ -1489,6 +1489,16 @@
"labels": {
"recommended": "Recommended",
"notAvailable": "Not Available"
+ },
+ "urlPreview": {
+ "title": "Example sync URL:",
+ "legend": {
+ "serverUrl": "Server URL",
+ "webdavPath": "WebDAV Path",
+ "bucketPrefix": "Bucket/Prefix",
+ "watchDirectory": "Watch Directory",
+ "exampleFile": "Example File"
+ }
}
}
}
\ No newline at end of file
diff --git a/frontend/public/locales/es/translation.json b/frontend/public/locales/es/translation.json
index 32cbf55..dc5effa 100644
--- a/frontend/public/locales/es/translation.json
+++ b/frontend/public/locales/es/translation.json
@@ -1489,6 +1489,16 @@
"labels": {
"recommended": "Recomendado",
"notAvailable": "No Disponible"
+ },
+ "urlPreview": {
+ "title": "URL de sincronización de ejemplo:",
+ "legend": {
+ "serverUrl": "URL del servidor",
+ "webdavPath": "Ruta WebDAV",
+ "bucketPrefix": "Bucket/Prefijo",
+ "watchDirectory": "Directorio vigilado",
+ "exampleFile": "Archivo de ejemplo"
+ }
}
}
}
\ No newline at end of file
diff --git a/frontend/public/locales/fr/translation.json b/frontend/public/locales/fr/translation.json
index 8820afe..387188a 100644
--- a/frontend/public/locales/fr/translation.json
+++ b/frontend/public/locales/fr/translation.json
@@ -1489,6 +1489,16 @@
"labels": {
"recommended": "Recommandé",
"notAvailable": "Non disponible"
+ },
+ "urlPreview": {
+ "title": "Exemple d'URL de synchronisation :",
+ "legend": {
+ "serverUrl": "URL du serveur",
+ "webdavPath": "Chemin WebDAV",
+ "bucketPrefix": "Bucket/Préfixe",
+ "watchDirectory": "Répertoire surveillé",
+ "exampleFile": "Fichier exemple"
+ }
}
}
}
diff --git a/frontend/src/pages/SourcesPage.tsx b/frontend/src/pages/SourcesPage.tsx
index 24a5879..1c029ba 100644
--- a/frontend/src/pages/SourcesPage.tsx
+++ b/frontend/src/pages/SourcesPage.tsx
@@ -370,10 +370,12 @@ const SourcesPage: React.FC = () => {
const getLabelForType = (type: 'server' | 'path' | 'folder' | 'file') => {
switch (type) {
- case 'server': return 'Server URL';
- case 'path': return formData.source_type === 'webdav' ? 'WebDAV Path' : 'Bucket/Prefix';
- case 'folder': return 'Watch Directory';
- case 'file': return 'Example File';
+ case 'server': return t('sources.urlPreview.legend.serverUrl');
+ case 'path': return formData.source_type === 'webdav'
+ ? t('sources.urlPreview.legend.webdavPath')
+ : t('sources.urlPreview.legend.bucketPrefix');
+ case 'folder': return t('sources.urlPreview.legend.watchDirectory');
+ case 'file': return t('sources.urlPreview.legend.exampleFile');
default: return '';
}
};
@@ -392,7 +394,7 @@ const SourcesPage: React.FC = () => {
}}
>
- Example sync URL:
+ {t('sources.urlPreview.title')}