fix: parse constructor parameter to field

This commit is contained in:
Myssal
2025-04-27 23:18:49 +07:00
parent 7635adf637
commit ff87030894

View File

@@ -47,7 +47,7 @@ namespace SpineViewer.Utils.Localize
public LocalizedDescriptionAttribute(Type resourceSource, string resourceKey)
{
_resourceManager = new ResourceManager(resourceSource);
_resourceKey = _resourceKey;
_resourceKey = resourceKey;
}
public override string Description => _resourceManager.GetString(_resourceKey) ?? $"[{_resourceKey}]";