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 (GUI).
13 public class StringIdGuiBundle
extends TransBundle
<StringIdGui
> {
15 * Create a translation service for the given language (will fall back to
16 * the default one if not found).
21 public StringIdGuiBundle(String lang
) {
22 super(StringIdGui
.class, Target
.resources_gui
, 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 StringIdGuiBundle(null).updateFile(path
);
38 System
.out
.println("Path updated: " + path
);