2025-02-06 20:54:03 -06:00
|
|
|
@using LANCommander.Launcher.Models
|
|
|
|
|
@inject ImportService ImportService
|
Add localization support to launcher
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.
2025-08-18 21:29:38 -05:00
|
|
|
@inject LocalizationService LocalizationService
|
2025-02-06 20:54:03 -06:00
|
|
|
|
|
|
|
|
<div class="import-progress">
|
|
|
|
|
<div class="import-progress-container">
|
|
|
|
|
<Flex Vertical>
|
|
|
|
|
<div class="import-progress-info">
|
|
|
|
|
<div class="import-progress-status">
|
|
|
|
|
@if (Total > 0)
|
|
|
|
|
{
|
Add localization support to launcher
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.
2025-08-18 21:29:38 -05:00
|
|
|
<Text>@LocalizationService.GetString("Importing", CurrentItem?.Name ?? "")</Text>
|
2025-02-06 20:54:03 -06:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
Add localization support to launcher
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.
2025-08-18 21:29:38 -05:00
|
|
|
<Text>@LocalizationService.GetString("StartingImport")</Text>
|
2025-02-06 20:54:03 -06:00
|
|
|
}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="import-progress-progress-bar">
|
|
|
|
|
<Progress
|
|
|
|
|
Percent="@((double)(Index * 100) / Total)"
|
|
|
|
|
Status="ProgressStatus.Active"
|
|
|
|
|
ShowInfo="false"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="import-progress-footer">
|
|
|
|
|
@Index / @Total
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Flex>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@code {
|
|
|
|
|
[Parameter] public int Index { get; set; }
|
|
|
|
|
[Parameter] public int Total { get; set; }
|
|
|
|
|
[Parameter] public ImportItem CurrentItem { get; set; }
|
|
|
|
|
}
|