0
0
mirror of https://github.com/sp-tarkov/launcher.git synced 2025-02-12 16:50:43 -05:00

Fix display of mods

This commit is contained in:
Krinkels 2024-01-29 12:17:07 +03:00
parent 2b020c53a5
commit d6562c7920
2 changed files with 7 additions and 7 deletions

View File

@ -25,9 +25,9 @@
<!-- Active mods count and text -->
<Label VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16">
<Label.Content>
<MultiBinding StringFormat="{}{0} {1}">
<Binding Path="ModsCollection.ActiveMods.Count"/>
<MultiBinding StringFormat="{}{0}: {1}">
<Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="active_server_mods"/>
<Binding Path="ModsCollection.ActiveMods.Count"/>
</MultiBinding>
</Label.Content>
</Label>
@ -68,9 +68,9 @@
<!-- Inactive mods count and text -->
<Label VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="16">
<Label.Content>
<MultiBinding StringFormat="{}{0} {1}">
<Binding Path="ModsCollection.InactiveMods.Count"/>
<MultiBinding StringFormat="{}{0}: {1}">
<Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="inactive_server_mods"/>
<Binding Path="ModsCollection.InactiveMods.Count"/>
</MultiBinding>
</Label.Content>
</Label>
@ -102,4 +102,4 @@
</ItemsControl>
</ScrollViewer>
</Grid>
</UserControl>
</UserControl>

View File

@ -77,9 +77,9 @@
<!-- server mods count text -->
<Label Grid.Row="1" Grid.Column="1">
<Label.Content>
<MultiBinding StringFormat="{}{0} {1}">
<Binding Path="ModInfoCollection.ActiveMods.Count"/>
<MultiBinding StringFormat="{}{0}: {1}">
<Binding Source="{x:Static helpers:LocalizationProvider.Instance}" Path="active_server_mods"/>
<Binding Path="ModInfoCollection.ActiveMods.Count"/>
</MultiBinding>
</Label.Content>
</Label>