Lortseam 4 jaren geleden
bovenliggende
commit
e1e1d1a6f7
1 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen
  1. 10 0
      lib/src/main/java/me/lortseam/completeconfig/api/ConfigEntry.java

+ 10 - 0
lib/src/main/java/me/lortseam/completeconfig/api/ConfigEntry.java

@@ -70,8 +70,18 @@ public @interface ConfigEntry {
     @Retention(RetentionPolicy.RUNTIME)
     @interface Boolean {
 
+        /**
+         * A custom translation key for the value {@code true}. If empty, the default key will be used.
+         *
+         * @return a custom translation key
+         */
         String trueTranslationKey() default "";
 
+        /**
+         * A custom translation key for the value {@code false}. If empty, the default key will be used.
+         *
+         * @return a custom translation key
+         */
         String falseTranslationKey() default "";
         
     }