Change property naming to be more consistent (#578)

This commit is contained in:
Archangel
2025-08-28 15:31:50 +02:00
parent da96cfbf79
commit 7e2e3db3fd
22 changed files with 105 additions and 106 deletions
@@ -175,9 +175,9 @@ public class ServerLocalisationService(
return rawLocalizedString;
}
var typeProps = args.GetType().GetProperties();
var typeProperties = args.GetType().GetProperties();
foreach (var propertyInfo in typeProps)
foreach (var propertyInfo in typeProperties)
{
var localizedName = $"{{{{{propertyInfo.GetJsonName()}}}}}";
if (rawLocalizedString.Contains(localizedName))