diff --git a/SpineViewer/Utils/Localize/LocalizeAttribute.cs b/SpineViewer/Utils/Localize/LocalizeAttribute.cs index bbc1314..8bf5234 100644 --- a/SpineViewer/Utils/Localize/LocalizeAttribute.cs +++ b/SpineViewer/Utils/Localize/LocalizeAttribute.cs @@ -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}]";