Added the choice between formal and informal address to the whole app (#1200)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-13 10:16:56 +01:00
1 parent 382db4b8d0
commit c9a376f742
342 files changed
+14378 -1893

No files matched your search

@@ -5,7 +5,7 @@
@if (this.isInstallationInProgress)
{
<MudText Typo="Typo.h4" Class="mb-3">
@T("Please wait for the installation to complete...")
@TA("Please wait for the installation to complete...")
</MudText>
<MudProgressLinear Color="Color.Primary" Indeterminate="@true" Size="Size.Large" Rounded="@true"/>
}
@@ -16,7 +16,7 @@
@T("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">
@T("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.")
@TA("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>
@@ -36,7 +36,7 @@
<ExpansionPanel HeaderIcon="@AppIcons.INSTALL_AUTOMATIC" HeaderText="@T("Automatic installation")" IsExpanded="true">
<MudJustifiedText Typo="Typo.body1">
@T("""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.""")
@TA("""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.""")
</MudJustifiedText>
<MudButton OnClick="this.InstallPandocAsync" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@AppIcons.INSTALLATION">
@T("Accept the GPL and start the installation")
@@ -45,7 +45,7 @@
<ExpansionPanel HeaderIcon="@AppIcons.INSTALL_MANUAL" HeaderText="@T("Manual installation")" ExpandedChanged="this.WhenExpandingManualInstallation">
<MudJustifiedText Typo="Typo.body1" Class="mb-2">
@T("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.")
@TA("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">
@@ -53,7 +53,7 @@
<MudList T="string">
<MudListItem T="string" Class="mb-2">
<MudJustifiedText Typo="Typo.body1">
@T("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.")
@TA("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>
@@ -63,13 +63,13 @@
</MudListItem>
<MudListItem T="string">
<MudJustifiedText Typo="Typo.body1">
@T("Execute the installer and follow the instructions.")
@TA("Execute the installer and follow the instructions.")
</MudJustifiedText>
</MudListItem>
</MudList>
<MudJustifiedText Class="mb-3" Typo="Typo.body1">
@T("""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.""")
@TA("""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.""")
</MudJustifiedText>
<MudButton Href="@this.downloadUrlInstaller" Target="_blank" Color="Color.Primary" Class="mt-4" Variant="Variant.Filled" Size="Size.Medium" StartIcon="@AppIcons.DOWNLOAD">
@@ -77,17 +77,17 @@
</MudButton>
</ExpansionPanel>
<ExpansionPanel HeaderIcon="@AppIcons.DOWNLOAD_ARCHIVE" HeaderText="Download archive">
<ExpansionPanel HeaderIcon="@AppIcons.DOWNLOAD_ARCHIVE" HeaderText="@T("Download archive")">
<MudList T="string">
<MudListItem T="string" Class="mb-2">
<MudJustifiedText Typo="Typo.body1">
@T("Accept the terms of the GPL license and download the latest archive with the download button below.")
@TA("Accept the terms of the GPL license and download the latest archive with the download button below.")
</MudJustifiedText>
</MudListItem>
<MudListItem T="string" Class="mb-2">
<MudJustifiedText Typo="Typo.body1">
@T("Extract the archive to a folder of your choice, e.g.:")
@TA("Extract the archive to a folder of your choice, e.g.:")
</MudJustifiedText>
<CodeTabs @bind-SelectedIndex="this.selectedArchiveIndex">
<CodeBlock Title="Windows">C:\Users\%USERNAME%\pandoc</CodeBlock>
@@ -98,7 +98,7 @@
<MudListItem T="string" Class="mb-2">
<MudJustifiedText Typo="Typo.body1">
@T("Open the folder and copy the full path to the folder where your Pandoc executable file is into your clipboard:")
@TA("Open the folder and copy the full path to the folder where your Pandoc executable file is into your clipboard:")
</MudJustifiedText>
<CodeTabs @bind-SelectedIndex="this.selectedArchiveIndex">
<CodeBlock Title="Windows">C:\Users\%USERNAME%\pandoc\pandoc-@(LATEST_PANDOC_VERSION)</CodeBlock>
@@ -109,7 +109,7 @@
<MudListItem T="string">
<MudJustifiedText Typo="Typo.body1">
@T("Add the copied path to your system's or user's PATH environment variable, restart your terminal, and check the installation:")
@TA("Add the copied path to your system's or user's PATH environment variable, restart your terminal, and check the installation:")
</MudJustifiedText>
<CodeTabs @bind-SelectedIndex="this.selectedArchiveIndex">
<CodeBlock Title="Windows">> pandoc.exe --version<br/>> pandoc @(LATEST_PANDOC_VERSION)</CodeBlock>
@@ -121,7 +121,7 @@
<MudText Class="mb-3" Typo="Typo.caption">
<MudJustifiedText Typo="Typo.body1">
@T("""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.""")
@TA("""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.""")
</MudJustifiedText>
</MudText>
@@ -165,7 +165,7 @@
<MudStack Row="true" AlignItems="AlignItems.Center">
<MudIcon Style="font-size: 5.25rem;" Icon="@AppIcons.PANDOC_UNAVAILABLE" Color="Color.Error"/>
<MudJustifiedText Typo="Typo.body1">
@T("Pandoc is installed, but the version is too old and does not meet the requirements of MindWork AI Studio. AI Studio can help you install a newer version.")
@TA("Pandoc is installed, but the version is too old and does not meet the requirements of MindWork AI Studio. AI Studio can help you install a newer version.")
</MudJustifiedText>
</MudStack>
break;
@@ -174,7 +174,7 @@
<MudStack Row="true" AlignItems="AlignItems.Center">
<MudIcon Style="font-size: 5.25rem;" Icon="@AppIcons.PANDOC_UNAVAILABLE" Color="Color.Error"/>
<MudJustifiedText Typo="Typo.body1">
@T("Pandoc doesn't seem to be installed on this system. AI Studio can help you install the correct version.")
@TA("Pandoc doesn't seem to be installed on this system. AI Studio can help you install the correct version.")
</MudJustifiedText>
</MudStack>
break;