Add translations to the Dashboard

This commit is contained in:
nicolas.dorier
2024-10-14 14:11:00 +09:00
parent 73a9835a27
commit c35af2dc69
31 changed files with 331 additions and 153 deletions

View File

@@ -176,7 +176,7 @@ public partial class UIStoresController
vm.AvailableExchanges = sources;
var exchange = storeBlob.GetPreferredExchange(_defaultRules);
var chosenSource = sources.First(r => r.Id == exchange);
vm.Exchanges = UIUserStoresController.GetExchangesSelectList(_rateFactory, _defaultRules, storeBlob);
vm.Exchanges = _userStoresController.GetExchangesSelectList(storeBlob);
vm.PreferredExchange = vm.Exchanges.SelectedValue as string;
vm.PreferredResolvedExchange = chosenSource.Id;
vm.RateSource = chosenSource.Url;