Explorar el Código

fix issue with error text strings not appearing in configeditor

Jason Rivard hace 5 años
padre
commit
d7bbf83c87
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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()
         ) ) );
     }