X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Fresources%2FMeta.java;h=8ed74dc565b9994f1a6ec7a1b530525dbcd4bdbb;hb=505be508ae7d3fb48122be548b310a238cfb91eb;hp=d50664da74f0828e3465383a9bb828222cd29ea9;hpb=e8aa5bf9227a0d6a6d0bb6a8bc0cc04d0f4d601a;p=nikiroo-utils.git diff --git a/src/be/nikiroo/utils/resources/Meta.java b/src/be/nikiroo/utils/resources/Meta.java index d50664d..8ed74dc 100644 --- a/src/be/nikiroo/utils/resources/Meta.java +++ b/src/be/nikiroo/utils/resources/Meta.java @@ -46,11 +46,16 @@ public @interface Meta { * custom String value (basically, a {@link Format#FIXED_LIST} with an * option to enter a not accounted for value). */ - COMBO_LIST + COMBO_LIST, } /** - * A description of this item. + * A description for this item: what it is or does, how to explain that item + * to the user including what can be used here (i.e., %s = file name, %d = + * file size...). + *

+ * For group, the first line ('\\n'-separated) will be used as a title while + * the rest will be the description. * * @return what it is */ @@ -98,19 +103,20 @@ public @interface Meta { /** * This item is a comma-separated list of values instead of a single value. + *

+ * The list items are separated by a comma, each surrounded by + * double-quotes, with backslashes and double-quotes escaped by a backslash. + *

+ * Example: "un", "deux" * * @return TRUE if it is */ boolean array() default false; /** - * An addition to the format. - *

- * Free info text to help translate, for instance the parameters order and - * type for String translations (i.e., %s = input file name, %d = file size - * in MB). - * - * @return some info + * @deprecated add the info into the description, as only the description + * will be translated. */ + @Deprecated String info() default ""; }