Lortseam 4 лет назад
Родитель
Сommit
e1e1d1a6f7
1 измененных файлов с 10 добавлено и 0 удалено
  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 "";
         
     }