浏览代码

fix issue with error text strings not appearing in configeditor

Jason Rivard 5 年之前
父节点
当前提交
d7bbf83c87
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      server/src/main/java/password/pwm/i18n/PwmLocaleBundle.java

+ 2 - 1
server/src/main/java/password/pwm/i18n/PwmLocaleBundle.java

@@ -93,7 +93,8 @@ public enum PwmLocaleBundle
         return Collections.unmodifiableSet( new HashSet<>( Arrays.asList(
                 this.getTheClass().getSimpleName(),
                 this.getTheClass().getName(),
-                "password.pwm." + this.getTheClass().getSimpleName()
+                "password.pwm." + this.getTheClass().getSimpleName(),
+                this.name()
         ) ) );
     }