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
@@ -20,7 +20,7 @@ public class BuildController(
EventOutputHolder _eventOutputHolder,
DatabaseService _databaseService,
ProfileHelper _profileHelper,
LocalisationService _localisationService,
ServerLocalisationService _serverLocalisationService,
ItemHelper _itemHelper,
SaveServer _saveServer,
ICloner _cloner
@@ -266,6 +266,8 @@ public class BuildController(
}
// Not found in weapons,equipment or magazines, not good
_logger.Error(_localisationService.GetText("build-unable_to_delete_preset", idToRemove));
_logger.Error(
_serverLocalisationService.GetText("build-unable_to_delete_preset", idToRemove)
);
}
}