Uplink catalog localization (#12931)

* Add loc support

* New icons and translated weapon

* Explosives

* Finished ammo

* Utils

* Fixes

* Implants and bundles

* Removed sink from surplus

* Tools

* Start working on armor

* Finished armor

* Misc

* Finished uplink
This commit is contained in:
Alex Evgrashin
2022-12-20 04:52:59 +01:00
committed by GitHub
parent d3e2d3ce3c
commit 6293c6f359
18 changed files with 402 additions and 86 deletions

View File

@@ -99,8 +99,8 @@ public sealed partial class StoreMenu : DefaultWindow
if (!listing.Categories.Contains(CurrentCategory))
return;
string listingName = new (listing.Name);
string listingDesc = new (listing.Description);
var listingName = Loc.GetString(listing.Name);
var listingDesc = Loc.GetString(listing.Description);
var listingPrice = listing.Cost;
var canBuy = CanBuyListing(Balance, listingPrice);