X-Git-Url: http://git.nikiroo.be/?p=jvcard.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Fjvcard%2Fresources%2FTransBundle.java;fp=src%2Fbe%2Fnikiroo%2Fjvcard%2Fresources%2FTransBundle.java;h=6a875ac3d2035496f5a03e679600f32495213d09;hp=0000000000000000000000000000000000000000;hb=f06c81000632cfb5f525ca458f719338f55f9f66;hpb=a73a906356c971b080c36368e71a15d87e8b8d31 diff --git a/src/be/nikiroo/jvcard/resources/TransBundle.java b/src/be/nikiroo/jvcard/resources/TransBundle.java new file mode 100644 index 0000000..6a875ac --- /dev/null +++ b/src/be/nikiroo/jvcard/resources/TransBundle.java @@ -0,0 +1,31 @@ +package be.nikiroo.jvcard.resources; + + +/** + * This class manages the translation of {@link TransBundle.StringId}s into + * user-understandable text. + * + * @author niki + * + */ +public class TransBundle extends + be.nikiroo.utils.resources.TransBundle { + + /** + * Create a translation service with the default language. + */ + public TransBundle() { + super(StringId.class, Target.resources); + } + + /** + * Create a translation service for the given language. (Will fall back to + * the default one i not found.) + * + * @param language + * the language to use + */ + public TransBundle(String language) { + super(StringId.class, Target.resources, language); + } +}