From 29c9c6100346a5ef72af2362c3569f264cfae2f0 Mon Sep 17 00:00:00 2001 From: iisaev Date: Thu, 22 Oct 2026 19:14:57 +0200 Subject: [PATCH] Card status fits Russian text; collections gallery in the UI language --- scenes/components/mod_card.tscn | 4 ++-- src/UI/CollectionsGallery.cs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/scenes/components/mod_card.tscn b/scenes/components/mod_card.tscn index 740ad7b..d6c918d 100644 --- a/scenes/components/mod_card.tscn +++ b/scenes/components/mod_card.tscn @@ -83,7 +83,7 @@ mouse_filter = 2 [node name="MetaRow" type="HBoxContainer" parent="VBox/Body/Box"] custom_minimum_size = Vector2(0, 28) layout_mode = 2 -theme_override_constants/separation = 6 +theme_override_constants/separation = 4 [node name="Status" type="Label" parent="VBox/Body/Box/MetaRow"] layout_mode = 2 @@ -96,7 +96,7 @@ theme_override_font_sizes/font_size = 11 vertical_alignment = 1 [node name="VersionHost" type="Control" parent="VBox/Body/Box/MetaRow"] -custom_minimum_size = Vector2(102, 28) +custom_minimum_size = Vector2(94, 28) layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 4 diff --git a/src/UI/CollectionsGallery.cs b/src/UI/CollectionsGallery.cs index be397de..388da01 100644 --- a/src/UI/CollectionsGallery.cs +++ b/src/UI/CollectionsGallery.cs @@ -117,7 +117,8 @@ namespace Mods.ModManager DisabledModsStore.Load(), catalog, _sessionInstalled, - CollectionText.Resolve); + CollectionText.Resolve, + TranslationServer.GetLocale()); _summaries.Clear(); _plans.Clear(); @@ -436,7 +437,7 @@ namespace Mods.ModManager DisabledModsStore.Load(), catalog, _sessionInstalled, - null, + TranslationServer.GetLocale(), CollectionText.Resolve); return ModCollectionPlan.Build(graph, catalog); }