diff --git a/Libraries/Core/Services/CustomLocaleService.cs b/Libraries/Core/Services/CustomLocaleService.cs index b444cccc..832fdbb5 100644 --- a/Libraries/Core/Services/CustomLocaleService.cs +++ b/Libraries/Core/Services/CustomLocaleService.cs @@ -2,36 +2,35 @@ using Core.Utils; using SptCommon.Annotations; -namespace Core.Services +namespace Core.Services; + +[Injectable] +public class CustomLocaleService( + ISptLogger logger, + FileUtil fileUtil, + DatabaseService databaseService +) { - [Injectable] - public class CustomLocaleService( - ISptLogger logger, - FileUtil fileUtil, - DatabaseService databaseService - ) + + /// + /// Path should link to a folder containing every locale that should be added to the server locales + /// e.g. en.json for english, fr.json for french + /// Inside each JSON should be a Dictionary of the locale key and localised text + /// + /// A path to a folder that contains locales to add to SPT + public void AddServerLocales(string pathToServerLocales) { - /// - /// Path should link to a folder containing every locale that should be added to the server locales - /// e.g. en.json for english, fr.json for french - /// Inside each JSON should be a Dictionary of the locale key and localised text - /// - /// A path to a folder that contains locales to add to SPT - public void AdServerLocales(string pathToServerLocales) - { + } - } + /// + /// Path should link to a folder containing every locale that should be added to the game locales + /// e.g. en.json for english, fr.json for french + /// Inside each JSON should be a Dictionary of the locale key and localised text + /// + /// A path to a folder that contains locales to add to SPT + public void AddGameLocales(string pathToGameLocales) + { - /// - /// Path should link to a folder containing every locale that should be added to the game locales - /// e.g. en.json for english, fr.json for french - /// Inside each JSON should be a Dictionary of the locale key and localised text - /// - /// A path to a folder that contains locales to add to SPT - public void AddGameLocales(string pathToGameLocales) - { - - } } }