From 71f9a5a26bd09b4f07912bfb74a3ef67a3e1f6f7 Mon Sep 17 00:00:00 2001 From: Phil-Ah Date: Wed, 22 Jun 2022 13:21:37 +0200 Subject: [PATCH] Enhance descriptions to differentiate between dumps with and w/o metadata. (#2074) Users should easily understand which kind of import they should choose depending on their dump-file. The export and import with metadata is not experimental any longer. Labels and help text should be short and concise. Co-authored-by: Eduard Heimbuch --- gradle/changelog/clarify_import_mode.yaml | 2 ++ scm-ui/ui-webapp/public/locales/de/repos.json | 24 +++++++++---------- scm-ui/ui-webapp/public/locales/en/repos.json | 20 ++++++++-------- 3 files changed, 24 insertions(+), 22 deletions(-) create mode 100644 gradle/changelog/clarify_import_mode.yaml diff --git a/gradle/changelog/clarify_import_mode.yaml b/gradle/changelog/clarify_import_mode.yaml new file mode 100644 index 0000000000..22d4c65123 --- /dev/null +++ b/gradle/changelog/clarify_import_mode.yaml @@ -0,0 +1,2 @@ +- type: changed + description: clarify options for import with and without metadata ([#2074](https://github.com/scm-manager/scm-manager/pull/2074)) diff --git a/scm-ui/ui-webapp/public/locales/de/repos.json b/scm-ui/ui-webapp/public/locales/de/repos.json index ddfb6a369a..a70c915dd8 100644 --- a/scm-ui/ui-webapp/public/locales/de/repos.json +++ b/scm-ui/ui-webapp/public/locales/de/repos.json @@ -78,19 +78,19 @@ "password": "Passwort", "compressed": { "label": "Komprimiert", - "helpText": "Anwählen, wenn die Datei komprimiert ist." + "helpText": "Nur wählen, wenn die Datei komprimiert ist." }, "bundle": { - "title": "Wählen Sie Ihre Datei aus", - "helpText": "Wählen Sie die Datei aus der das Repository importiert werden soll.", + "title": "Datei wählen", + "helpText": "Datei aus der das Repository importiert werden soll.", "password": { "title": "Passwort", - "helpText": "Wenn der importierte Dump verschlüsselt ist, muss das korrekte Passwort mitgeliefert werden." + "helpText": "Geben Sie das Passwort für verschlüsselte Dumps an." } }, "fullImport": { - "title": "SCM-Manager Repository Archiv", - "helpText": "Wählen Sie das Repository Archiv aus. Das Archiv muss von einer SCM-Manager Instanz exportiert worden sein.", + "title": "Dump mit SCM-Manager-Metadaten wählen", + "helpText": "Das Archiv muss von einer SCM-Manager-Instanz mit Metadaten exportiert worden sein.", "password": { "title": "Passwort", "helpText": "Wenn das importierte Repository Archiv verschlüsselt ist, muss das korrekte Passwort mitgeliefert werden." @@ -107,12 +107,12 @@ "helpText": "Das Repository wird über eine URL importiert." }, "bundle": { - "label": "Import aus Dump", - "helpText": "Das Repository wird aus einem Datei Dump importiert." + "label": "Import aus Dump ohne Metadaten", + "helpText": "Repository aus einem Datei-Dump ohne SCM-Manager-spezifische Metadaten importieren." }, "fullImport": { - "label": "Import aus Archiv mit Metadaten (Experimentell)", - "helpText": "Das Repository inkl. der Metadaten wird aus einem archivierten Dump importiert. Das Import Archiv muss von einem anderen SCM-Manager generiert worden sein." + "label": "Import aus SCM-Manager-Dump mit Metadaten", + "helpText": "Der Dump muss von einer SCM-Manager-Instanz mit Metadaten erstellt worden sein." } }, "navigationWarning": "Es wird dringend empfohlen auf dieser Seite zu warten bis der Import abgeschlossen ist. Beim Verlassen der Seite könnte der Import abbrechen. Seite trotzdem verlassen?" @@ -316,8 +316,8 @@ "helpText": "Export Datei vor dem Download komprimieren. Reduziert die Downloadgröße." }, "fullExport": { - "label": "Mit Metadaten (Experimentell)", - "helpText": "Zusätzlich zum Repository Dump werden Metadaten zum Repository und zur SCM-Instanz exportiert. Installierte Plugins sollten nach Möglichkeit in der neuesten Version installiert sein. Gespeicherte Passwörter funktionieren nicht bei einem Import in andere SCM-Manager Instanzen. Dieses Feature ist noch experimentell. Es sollte (noch) nicht für Backups genutzt werden!" + "label": "Mit Metadaten", + "helpText": "Zusätzlich zum Repository Dump werden Metadaten zum Repository und zur SCM-Instanz exportiert. Installierte Plugins sollten in der neuesten Version installiert sein. Gespeicherte Passwörter funktionieren nicht bei einem Import in andere SCM-Manager Instanzen." }, "encrypt": { "label": "Verschlüsseln", diff --git a/scm-ui/ui-webapp/public/locales/en/repos.json b/scm-ui/ui-webapp/public/locales/en/repos.json index 0cfb998e17..cc2a428945 100644 --- a/scm-ui/ui-webapp/public/locales/en/repos.json +++ b/scm-ui/ui-webapp/public/locales/en/repos.json @@ -78,14 +78,14 @@ "password": "Password", "compressed": { "label": "Compressed", - "helpText": "Check if your dump file is compressed." + "helpText": "Check only if your dump file is compressed." }, "bundle": { "title": "Dump File", - "helpText": "Select your dump file from which the repository should be imported.", + "helpText": "Select dump file from which the repository should be imported.", "password": { "title": "Password", - "helpText": "If the imported dump have to be decrypted the correct password must be provided." + "helpText": "Provide a password for encrypted dumps" } }, "fullImport": { @@ -107,12 +107,12 @@ "helpText": "The Repository will be imported via the provided URL." }, "bundle": { - "label": "Import from dump", - "helpText": "The repository will be imported from a dump file." + "label": "Import from dump without metadata", + "helpText": "The repository will be imported from a dump file without SCM-Manager specific metadata." }, "fullImport": { - "label": "Import from archive with metadata (experimental)", - "helpText": "The repository will be imported with metadata. The archive containing the data must be generated by an SCM-Manager instance." + "label": "Import from SCM-Manager dump with metadata", + "helpText": "The dump containing the data must be generated by a SCM-Manager instance and include specific metadata." } }, "navigationWarning": "It is strongly recommend that you stay on this page until the import is finished. Leaving this page could abort your import. Leave page anyway?" @@ -316,8 +316,8 @@ "helpText": "Compress the export dump size to reduce the download size." }, "fullExport": { - "label": "With metadata (Experimental)", - "helpText": "In addition to the repository dump, metadata about the repository and SCM instance is exported. If possible, ensure that installed plugins are up to date. However, stored passwords will not work if this is imported in other instances of SCM-Manager. This feature is still experimental. Do not use this as a backup mechanism (yet)!" + "label": "With metadata", + "helpText": "In addition to the repository dump, metadata about the repository and SCM instance is exported. Ensure that installed plugins are up to date. Stored passwords will not work if this is imported in other instances of SCM-Manager." }, "encrypt": { "label": "Encrypt", @@ -325,7 +325,7 @@ }, "password": { "label": "Password", - "helpText": "If a password is set, it will be used the encrypt the export file." + "helpText": "Enter the password for encrypted files." }, "createExportButton": "Create new Export", "downloadExportButton": "Download Export",