X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=bundles%2FStringIdBundle.java;h=e94c05b448eb3ba3231035f9999ec4dbb22d40b7;hb=HEAD;hp=b9a0d797719caf93b35abcf7e59bb508c338d76f;hpb=5f3671e17febc5b7f6abbfc62c66c4045d47ec8d;p=fanfix.git diff --git a/bundles/StringIdBundle.java b/bundles/StringIdBundle.java deleted file mode 100644 index b9a0d79..0000000 --- a/bundles/StringIdBundle.java +++ /dev/null @@ -1,40 +0,0 @@ -package be.nikiroo.fanfix.bundles; - -import java.io.File; -import java.io.IOException; - -import be.nikiroo.utils.resources.TransBundle; - -/** - * This class manages the translation resources of the application (Core). - * - * @author niki - */ -public class StringIdBundle extends TransBundle { - /** - * Create a translation service for the given language (will fall back to - * the default one if not found). - * - * @param lang - * the language to use - */ - public StringIdBundle(String lang) { - super(StringId.class, Target.resources_core, lang); - } - - /** - * Update resource file. - * - * @param args - * not used - * - * @throws IOException - * in case of I/O error - */ - public static void main(String[] args) throws IOException { - String path = new File(".").getAbsolutePath() - + "/src/be/nikiroo/fanfix/bundles/"; - new StringIdBundle(null).updateFile(path); - System.out.println("Path updated: " + path); - } -}