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

@@ -80,7 +80,7 @@ public partial class Information : MSGComponentBase
Tools.Rust.LinuxPackageType.FLATPAK => T("Flatpak installation, updates are handled outside of AI Studio"),
_ => this.RuntimeInfo.InstallationKind switch
{
Tools.Rust.InstallationKind.MANAGED => T("managed; updates are handled outside of AI Studio; contact whoever installed it and ask about updates"),
Tools.Rust.InstallationKind.MANAGED => TA("managed; updates are handled outside of AI Studio; contact whoever installed it and ask about updates"),
Tools.Rust.InstallationKind.UNSUPPORTED_LOCATION => T("current installation location does not support automatic updates"),
Tools.Rust.InstallationKind.DEVELOPMENT => T("development build, no support for automatic updates"),
_ => T("standard; automatic updates supported")
@@ -756,27 +756,27 @@ public partial class Information : MSGComponentBase
var parameters = new DialogParameters<UpdateInstructionsDialog>();
if (this.updatePolicyMode is UpdatePolicyMode.ENTERPRISE_DISABLED)
{
parameters.Add(x => x.Message, T("Updates are managed by your organization. Contact your IT department if you have questions about updating AI Studio."));
parameters.Add(x => x.Message, TA("Updates are managed by your organization. Contact your IT department if you have questions about updating AI Studio."));
}
else if (this.updatePolicyMode is UpdatePolicyMode.FLATPAK)
{
parameters.Add(x => x.Message, T("AI Studio cannot update itself when installed as a Flatpak. A Flathub listing is planned. Until then, you can find the latest release on GitHub."));
parameters.Add(x => x.Message, TA("AI Studio cannot update itself when installed as a Flatpak. A Flathub listing is planned. Until then, you can find the latest release on GitHub."));
parameters.Add(x => x.ReleaseUrl, "https://github.com/MindWorkAI/AI-Studio/releases/latest");
}
else if (this.updatePolicyMode is UpdatePolicyMode.MANAGED_INSTALLATION)
{
// No release link here: the app cannot tell how this installation receives updates,
// and installing a second copy from GitHub next to it is exactly what we want to avoid.
parameters.Add(x => x.Message, T("This installation cannot update itself. Contact the person or organization that installed AI Studio for information about new versions."));
parameters.Add(x => x.Message, TA("This installation cannot update itself. Contact the person or organization that installed AI Studio for information about new versions."));
}
else if (this.updatePolicyMode is UpdatePolicyMode.UNSUPPORTED_INSTALLATION_LOCATION)
{
parameters.Add(x => x.Message, T("AI Studio cannot update itself from its current installation location. Installing an update would leave a second installation behind instead of replacing this one. To get a new version, download the latest release and install it over your current installation."));
parameters.Add(x => x.Message, TA("AI Studio cannot update itself from its current installation location. Installing an update would leave a second installation behind instead of replacing this one. To get a new version, download the latest release and install it over your current installation."));
parameters.Add(x => x.ReleaseUrl, "https://github.com/MindWorkAI/AI-Studio/releases/latest");
}
else if (this.updatePolicyMode is UpdatePolicyMode.DEVELOPMENT)
{
parameters.Add(x => x.Message, T("You are running a development build of AI Studio, which never updates itself. Pull the latest changes and rebuild the app instead."));
parameters.Add(x => x.Message, TA("You are running a development build of AI Studio, which never updates itself. Pull the latest changes and rebuild the app instead."));
}
else
return;