Remove I18nService, migrate to renamed ServerLocalisationService (#433)

* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
This commit is contained in:
Jesse
2025-06-28 20:08:42 +02:00
committed by GitHub
parent 1c83014ed2
commit 5686f4a486
98 changed files with 771 additions and 706 deletions
@@ -24,7 +24,7 @@ public class LauncherController(
HttpServerHelper _httpServerHelper,
ProfileHelper _profileHelper,
DatabaseService _databaseService,
LocalisationService _localisationService,
ServerLocalisationService _serverLocalisationService,
ConfigServer _configServer
)
{
@@ -65,7 +65,10 @@ public class LauncherController(
var result = new Dictionary<string, string>();
foreach (var (profileKey, profile) in profileTemplates)
{
result.TryAdd(profileKey, _localisationService.GetText(profile.DescriptionLocaleKey));
result.TryAdd(
profileKey,
_serverLocalisationService.GetText(profile.DescriptionLocaleKey)
);
}
return result;