Skip to content

Commit 5e603f9

Browse files
Localized profile name usage (#670)
1 parent 21780ad commit 5e603f9

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

app/MindWork AI Studio/Components/ProfileFormSelection.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
@foreach (var profile in this.SettingsManager.ConfigurationData.Profiles.GetAllProfiles())
77
{
88
<MudSelectItem Value="profile">
9-
@profile.Name
9+
@profile.GetSafeName()
1010
</MudSelectItem>
1111
}
1212
</MudSelect>

app/MindWork AI Studio/Settings/ConfigurationSelectDataFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public static IEnumerable<ConfigurationSelectData<SentenceStructure>> GetSentenc
201201
public static IEnumerable<ConfigurationSelectData<string>> GetProfilesData(IEnumerable<Profile> profiles)
202202
{
203203
foreach (var profile in profiles.GetAllProfiles())
204-
yield return new(profile.Name, profile.Id);
204+
yield return new(profile.GetSafeName(), profile.Id);
205205
}
206206

207207
public static IEnumerable<ConfigurationSelectData<string>> GetTranscriptionProvidersData(IEnumerable<TranscriptionProvider> transcriptionProviders)

app/MindWork AI Studio/packages.lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
},
3838
"Microsoft.NET.ILLink.Tasks": {
3939
"type": "Direct",
40-
"requested": "[9.0.12, )",
41-
"resolved": "9.0.12",
42-
"contentHash": "StA3kyImQHqDo8A8ZHaSxgASbEuT5UIqgeCvK5SzUPj//xE1QSys421J9pEs4cYuIVwq7CJvWSKxtyH7aPr1LA=="
40+
"requested": "[9.0.13, )",
41+
"resolved": "9.0.13",
42+
"contentHash": "f7t15I9ZXV7fNk3FIzPAlkJNG1A1tkSeDpRh+TFWEToGGqA+uj6uqU15I8YOkkYICNY2tqOVm2CMe6ScPFPwEg=="
4343
},
4444
"MudBlazor": {
4545
"type": "Direct",

app/MindWork AI Studio/wwwroot/changelog/v26.2.2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Improved the system language detection for locale values such as `C` and variants like `de_DE.UTF-8`, enabling AI Studio to apply the matching UI language more reliably.
1414
- Fixed an issue where leftover enterprise configuration plugins could remain active after organizational assignment changes during longer absences (for example, vacation), which could lead to configuration conflicts.
1515
- Fixed an issue where manually saving chats in workspace manual-storage mode could appear unreliable during response streaming. The save button is now disabled while streaming to prevent partial saves.
16+
- Fixed an issue where in some places "No profile" was displayed instead of the localized text.
1617
- Fixed a bug in the Responses API of our OpenAI provider implementation where streamed whitespace chunks were discarded. We thank Oliver Kunc `OliverKunc` for his first contribution in resolving this issue. We appreciate your help, Oliver.
1718
- Upgraded to .NET 9.0.13 & Rust 1.93.1.
1819
- Upgraded dependencies.

0 commit comments

Comments
 (0)