mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 22:32:56 +00:00
Refine and clarify texts
This commit is contained in:
parent
fb75480245
commit
f16594f7eb
@ -11,15 +11,15 @@
|
||||
{
|
||||
<div class="mb-4">
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-2">
|
||||
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.
|
||||
</MudJustifiedText>
|
||||
<MudJustifiedText Typo="Typo.body1">
|
||||
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.
|
||||
</MudJustifiedText>
|
||||
</div>
|
||||
|
||||
<MudExpansionPanels Class="mb-3" MultiExpansion="@false" Outlined="false" Elevation="0">
|
||||
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Verified" HeaderText="View GNU General Public License v2 (GPL)" MaxHeight="300" ExpandedChanged="this.WhenExpandingLicence">
|
||||
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Verified" HeaderText="View the GNU General Public License v2 (GPL)" MaxHeight="300" ExpandedChanged="this.WhenExpandingLicence">
|
||||
@if (this.isLoadingLicence)
|
||||
{
|
||||
<MudSkeleton/>
|
||||
@ -34,16 +34,16 @@
|
||||
|
||||
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.AutoFixHigh" HeaderText="Automatic installation" IsExpanded="true">
|
||||
<MudJustifiedText Typo="Typo.body1">
|
||||
Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. 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 <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. 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.
|
||||
</MudJustifiedText>
|
||||
<MudButton OnClick="InstallPandocAsync" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.InstallDesktop">
|
||||
Accept GPL and install for free
|
||||
Accept the GPL and start the installation
|
||||
</MudButton>
|
||||
</ExpansionPanel>
|
||||
|
||||
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Build" HeaderText="Manual installation" ExpandedChanged="this.WhenExpandingManualInstallation">
|
||||
<MudJustifiedText Typo="Typo.body1" Class="mb-2">
|
||||
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.
|
||||
</MudJustifiedText>
|
||||
|
||||
<MudExpansionPanels Outlined="false" Elevation="0">
|
||||
@ -51,8 +51,7 @@
|
||||
<MudList T="string">
|
||||
<MudListItem T="string" Class="mb-2">
|
||||
<MudJustifiedText Typo="Typo.body1">
|
||||
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.
|
||||
</MudJustifiedText>
|
||||
<CodeTabs @bind-SelectedIndex="this.selectedInstallerIndex">
|
||||
<CodeBlock Title="Windows">pandoc-@(LATEST_PANDOC_VERSION)-windows-x86_64.msi</CodeBlock>
|
||||
@ -68,11 +67,11 @@
|
||||
</MudList>
|
||||
|
||||
<MudJustifiedText Class="mb-3" Typo="Typo.body1">
|
||||
Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. 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 <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. 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.
|
||||
</MudJustifiedText>
|
||||
|
||||
<MudButton Href="@this.downloadUrlInstaller" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.Downloading">
|
||||
Accept GPL and download installer
|
||||
Accept the GPL and download the installer
|
||||
</MudButton>
|
||||
</ExpansionPanel>
|
||||
|
||||
@ -120,12 +119,12 @@
|
||||
|
||||
<MudText Class="mb-3" Typo="Typo.caption">
|
||||
<MudJustifiedText Typo="Typo.body1">
|
||||
Pandoc is distributed under the <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. 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 <MudLink Href="https://github.com/jgm/pandoc/blob/main/COPYING.md" Target="_blank">GNU General Public License v2 (GPL)</MudLink>. 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.
|
||||
</MudJustifiedText>
|
||||
</MudText>
|
||||
|
||||
<MudButton Href="@this.downloadUrlArchive" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@Icons.Material.Filled.Downloading">
|
||||
Accept GPL and download archive
|
||||
Accept the GPL and download the archive
|
||||
</MudButton>
|
||||
</ExpansionPanel>
|
||||
</MudExpansionPanels>
|
||||
@ -197,7 +196,7 @@
|
||||
</MudButton>
|
||||
|
||||
<MudButton Color="Color.Warning" OnClick="@this.RejectLicense" Variant="Variant.Filled" Size="Size.Medium">
|
||||
Reject GPL licence
|
||||
Reject the GPL licence
|
||||
</MudButton>
|
||||
}
|
||||
else
|
||||
@ -213,7 +212,7 @@
|
||||
case { CheckWasSuccessful: true, IsAvailable: false }:
|
||||
case { CheckWasSuccessful: false, IsAvailable: false }:
|
||||
<MudButton Color="Color.Primary" OnClick="@this.ProceedToInstallation" Variant="Variant.Filled" Size="Size.Medium">
|
||||
Proceed to installation
|
||||
Proceed to the installation
|
||||
</MudButton>
|
||||
break;
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user