From 388ce141f586d9b115f11017145643d6dcad2fd4 Mon Sep 17 00:00:00 2001 From: Chomp Date: Wed, 12 Feb 2025 21:56:59 +0000 Subject: [PATCH] Fixed typo --- .../Core/Services/CustomLocaleService.cs | 51 +++++++++---------- 1 file changed, 25 insertions(+), 26 deletions(-) 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) - { - - } } }