1 package be
.nikiroo
.fanfix
.bundles
;
4 import java
.io
.IOException
;
6 import be
.nikiroo
.utils
.resources
.TransBundle
;
9 * This class manages the translation resources of the application (Core).
13 public class StringIdBundle
extends TransBundle
<StringId
> {
15 * Create a translation service for the given language (will fall back to
16 * the default one if not found).
21 public StringIdBundle(String lang
) {
22 super(StringId
.class, Target
.resources_core
, lang
);
26 * Update resource file.
32 * in case of I/O error
34 public static void main(String
[] args
) throws IOException
{
35 String path
= new File(".").getAbsolutePath()
36 + "/src/be/nikiroo/fanfix/bundles/";
37 new StringIdBundle(null).updateFile(path
);
38 System
.out
.println("Path updated: " + path
);