X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Fresources%2FMeta.java;h=8ed74dc565b9994f1a6ec7a1b530525dbcd4bdbb;hb=3519cb5c518d569235beaedfc3071cba45ec848d;hp=3e14557ba85a3c9c899297abc43c0847e04fb9c9;hpb=ec1f3444e9f238ce1559d5fff32eb5a7ab8aba53;p=fanfix.git diff --git a/src/be/nikiroo/utils/resources/Meta.java b/src/be/nikiroo/utils/resources/Meta.java deleted file mode 100644 index 3e14557..0000000 --- a/src/be/nikiroo/utils/resources/Meta.java +++ /dev/null @@ -1,46 +0,0 @@ -package be.nikiroo.utils.resources; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - -/** - * Annotation used to give some information about the translation keys, so the - * translation .properties file can be created programmatically. - * - * @author niki - */ -@Retention(RetentionPolicy.RUNTIME) -@Target(ElementType.FIELD) -public @interface Meta { - /** - * What kind of item this key represent (a Key, a Label text, a format to - * use for something else...). - * - * @return what it is - */ - String what(); - - /** - * Where in the application will this key appear (in the action keys, in a - * menu, in a message...). - * - * @return where it is - */ - String where(); - - /** - * What format should/must this key be in. - * - * @return the format it is in - */ - String format(); - - /** - * Free info text to help translate. - * - * @return some info - */ - String info(); -}