Adds localization across the launcher and includes English, German, Spanish, French, Italian, Japanese, Korean, Dutch, Portuguese, Ukranian, and Chinese. These localizations were generated by Claude 3.5 and need to be reviewed by a human for accuracy.
27 lines
688 B
Text
27 lines
688 B
Text
@inherits FeedbackComponent<string, string>
|
|
@inject LocalizationService LocalizationService
|
|
|
|
<Form Model="Model" OnFinish="Save">
|
|
<FormItem Label="@LocalizationService.GetString("NewName")">
|
|
<Input @bind-Value="@context.NewAlias" />
|
|
</FormItem>
|
|
</Form>
|
|
|
|
@code {
|
|
public ChangeAliasDialogModel Model { get; set; } = new ChangeAliasDialogModel();
|
|
|
|
public class ChangeAliasDialogModel
|
|
{
|
|
public string NewAlias { get; set; }
|
|
}
|
|
|
|
public override async Task OnFeedbackOkAsync(ModalClosingEventArgs args)
|
|
{
|
|
await base.OkCancelRefWithResult!.OnOk(Model.NewAlias);
|
|
}
|
|
|
|
async Task Save(EditContext editContext)
|
|
{
|
|
|
|
}
|
|
}
|