X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbe%2Fnikiroo%2Futils%2Fresources%2FMeta.java;h=8ed74dc565b9994f1a6ec7a1b530525dbcd4bdbb;hb=cd3d510fdeb0ad53ae39e1fda34acf328c70c345;hp=f316df4f63b0a4fa53292fae879834da95ad6eeb;hpb=0877d6f5485d3531b9fde6c264e5848630c80baf;p=nikiroo-utils.git diff --git a/src/be/nikiroo/utils/resources/Meta.java b/src/be/nikiroo/utils/resources/Meta.java index f316df4..8ed74dc 100644 --- a/src/be/nikiroo/utils/resources/Meta.java +++ b/src/be/nikiroo/utils/resources/Meta.java @@ -50,8 +50,12 @@ public @interface Meta { } /** - * A description of this item (what it is or does, how to explain that item - * to the user). + * 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 */ @@ -110,13 +114,9 @@ public @interface Meta { 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 ""; }