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

Merge pull request 'fix-display-of-mods' (!39) from Krinkels/Launcher:fix-display-of-mods into 3.8.0

Reviewed-on: SPT-AKI/Launcher#39
This commit is contained in:
chomp 2024-01-29 10:17:56 +00:00
commit 1599cd4771
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>