From f16594f7ebcae5ae07c1b566c1147eaf664223c6 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 30 May 2025 18:05:28 +0200 Subject: [PATCH] Refine and clarify texts --- .../Dialogs/PandocDialog.razor | 27 +++++++++---------- .../Dialogs/PandocDialog.razor.cs | 4 +-- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/app/MindWork AI Studio/Dialogs/PandocDialog.razor b/app/MindWork AI Studio/Dialogs/PandocDialog.razor index 39d588da..35911116 100644 --- a/app/MindWork AI Studio/Dialogs/PandocDialog.razor +++ b/app/MindWork AI Studio/Dialogs/PandocDialog.razor @@ -11,15 +11,15 @@ {
- AI Studio relies on the free and open-sourced third-party app Pandoc to process and retrieve data from local Office files (ex. Word) and later other text formats like LaTeX. + AI Studio uses the free and open-source third-party app Pandoc to process and retrieve data from local Office files (such as Word files) or to generate Office documents. - Unfortunately Pandoc's GPL license is not compatible with AI Studios licences, nonetheless software under GPL is generally free to use and free of charge as well. Therefore you have to accept Pandoc's GPL license before we can download and install Pandoc for free automatically for you (recommended). However you can download it yourself manually with the instructions below. + Unfortunately, Pandoc's GPL license isn't compatible with the AI Studios licenses. However, software under the GPL is free to use and free of charge. You'll need to accept the GPL license before we can download and install Pandoc for you automatically (recommended). Alternatively, you might download it yourself using the instructions below or install it otherwise, e.g., by using a package manager of your operating system.
- + @if (this.isLoadingLicence) { @@ -34,16 +34,16 @@ - Pandoc is distributed under the GNU General Public License v2 (GPL). By clicking "Accept GPL and Install", you agree to the terms of the GPL license and Pandoc will be installed automatically for you. Software under GPL is free of charge and free to use. + Pandoc is distributed under the GNU General Public License v2 (GPL). By clicking "Accept GPL and Install," you agree to the terms of the GPL license, and Pandoc will be installed automatically for you. Software under GPL is free of charge and free to use. - Accept GPL and install for free + Accept the GPL and start the installation - If you prefer to install Pandoc yourself, please follow one of these two guides. Installers are only available for Windows and macOS. + If you want to install Pandoc yourself, follow one of these two guides. The first guide uses an installer and is available for Windows and macOS. Alternatively, you might use a package manager of your operating system to install Pandoc. @@ -51,8 +51,7 @@ - Accept the terms of the GPL license and download the latest installer with the download button below. - Eventually you need to allow the download of the installer in the download window. + Accept the terms of the GPL license and download the latest installer with the download button below. Eventually, you need to allow the download of the installer in the download window. pandoc-@(LATEST_PANDOC_VERSION)-windows-x86_64.msi @@ -68,11 +67,11 @@ - Pandoc is distributed under the GNU General Public License v2 (GPL). By clicking "Accept GPL and download installer", you agree to the terms of the GPL license. Software under GPL is free of charge and free to use. + Pandoc is distributed under the GNU General Public License v2 (GPL). By clicking "Accept GPL and download installer," you agree to the terms of the GPL license. Software under GPL is free of charge and free to use. - Accept GPL and download installer + Accept the GPL and download the installer @@ -120,12 +119,12 @@ - Pandoc is distributed under the GNU General Public License v2 (GPL). By clicking "Accept GPL and archive", you agree to the terms of the GPL license. Software under GPL is free of charge and free to use. + Pandoc is distributed under the GNU General Public License v2 (GPL). By clicking "Accept GPL and archive," you agree to the terms of the GPL license. Software under GPL is free of charge and free to use. - Accept GPL and download archive + Accept the GPL and download the archive @@ -197,7 +196,7 @@ - Reject GPL licence + Reject the GPL licence } else @@ -213,7 +212,7 @@ case { CheckWasSuccessful: true, IsAvailable: false }: case { CheckWasSuccessful: false, IsAvailable: false }: - Proceed to installation + Proceed to the installation break; diff --git a/app/MindWork AI Studio/Dialogs/PandocDialog.razor.cs b/app/MindWork AI Studio/Dialogs/PandocDialog.razor.cs index eca6754f..002505c9 100644 --- a/app/MindWork AI Studio/Dialogs/PandocDialog.razor.cs +++ b/app/MindWork AI Studio/Dialogs/PandocDialog.razor.cs @@ -81,7 +81,7 @@ public partial class PandocDialog : ComponentBase private async Task RejectLicense() { - var message = "Pandoc is open-source and free of charge, but if you reject Pandoc's license, it can not be installed and some of AIStudios data retrieval features will be disabled (e.g. using Office files like Word). This decision can be revoked at any time. Are you sure you want to reject the license?"; + var message = "Pandoc is open-source and free, but if you reject its license, you can't install it and some MindWork AI Studio features will be limited (like the integration of Office files) or unavailable (like the generation of Office files). You can change your decision anytime. Are you sure you want to reject the license?"; var dialogParameters = new DialogParameters { { "Message", message }, @@ -116,7 +116,7 @@ public partial class PandocDialog : ComponentBase catch (Exception ex) { this.licenseText = "Error loading license text, please consider following the links to read the GPL."; - LOG.LogError("Error loading GPL license text:\n{ErrorMessage}", ex.Message); + LOG.LogError("Error loading GPL license text: {ErrorMessage}", ex.Message); } finally {