// Path: src/de/endrullis/utils/Utf8ResourceBundle.java
// public abstract class Utf8ResourceBundle {
// 
//   public static ResourceBundle getBundle(String baseName) {
//     ResourceBundle bundle = ResourceBundle.getBundle(baseName);
//     return createUtf8PropertyResourceBundle(bundle);
//   }
// 
//   public static ResourceBundle getBundle(String baseName, Locale locale) {
//     ResourceBundle bundle = ResourceBundle.getBundle(baseName, locale);
//     return createUtf8PropertyResourceBundle(bundle);
//   }
// 
//   public static ResourceBundle getBundle(String baseName, Locale locale, ClassLoader loader) {
//     ResourceBundle bundle = ResourceBundle.getBundle(baseName, locale, loader);
//     return createUtf8PropertyResourceBundle(bundle);
//   }
// 
//   private static ResourceBundle createUtf8PropertyResourceBundle(ResourceBundle bundle) {
//     if (!(bundle instanceof PropertyResourceBundle)) return bundle;
// 
//     return new Utf8PropertyResourceBundle((PropertyResourceBundle)bundle);
//   }
// 
// 
// 
// // inner classes
// 
//   private static class Utf8PropertyResourceBundle extends ResourceBundle {
//     PropertyResourceBundle bundle;
// 
//     private Utf8PropertyResourceBundle(PropertyResourceBundle bundle) {
//       this.bundle = bundle;
//     }
//     /* (non-Javadoc)
//      * @see java.util.ResourceBundle#getKeys()
//      */
//     public Enumeration<String> getKeys() {
//       return bundle.getKeys();
//     }
//     /* (non-Javadoc)
//      * @see java.util.ResourceBundle#handleGetObject(java.lang.String)
//      */
//     protected Object handleGetObject(String key) {
//       String value = bundle.getString(key);
//       if (value==null) return null;
//       try {
//          return new String (value.getBytes("ISO-8859-1"),"UTF-8") ;
//       } catch (UnsupportedEncodingException e) {
//         // Shouldn't fail - but should we still add logging message?
//         return null;
//       }
//     }
//   }
// }


import de.endrullis.utils.Utf8ResourceBundle;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.PropertyKey;
import java.util.ResourceBundle;
package org.jergometer.translation;



/**
 * I18n support for the project jergometer.
 */
public class I18n {
  @NonNls
// Path: src/de/endrullis/utils/Utf8ResourceBundle.java
// public abstract class Utf8ResourceBundle {
// 
//   public static ResourceBundle getBundle(String baseName) {
//     ResourceBundle bundle = ResourceBundle.getBundle(baseName);
//     return createUtf8PropertyResourceBundle(bundle);
//   }
// 
//   public static ResourceBundle getBundle(String baseName, Locale locale) {
//     ResourceBundle bundle = ResourceBundle.getBundle(baseName, locale);
//     return createUtf8PropertyResourceBundle(bundle);
//   }
// 
//   public static ResourceBundle getBundle(String baseName, Locale locale, ClassLoader loader) {
//     ResourceBundle bundle = ResourceBundle.getBundle(baseName, locale, loader);
//     return createUtf8PropertyResourceBundle(bundle);
//   }
// 
//   private static ResourceBundle createUtf8PropertyResourceBundle(ResourceBundle bundle) {
//     if (!(bundle instanceof PropertyResourceBundle)) return bundle;
// 
//     return new Utf8PropertyResourceBundle((PropertyResourceBundle)bundle);
//   }
// 
// 
// 
// // inner classes
// 
//   private static class Utf8PropertyResourceBundle extends ResourceBundle {
//     PropertyResourceBundle bundle;
// 
//     private Utf8PropertyResourceBundle(PropertyResourceBundle bundle) {
//       this.bundle = bundle;
//     }
//     /* (non-Javadoc)
//      * @see java.util.ResourceBundle#getKeys()
//      */
//     public Enumeration<String> getKeys() {
//       return bundle.getKeys();
//     }
//     /* (non-Javadoc)
//      * @see java.util.ResourceBundle#handleGetObject(java.lang.String)
//      */
//     protected Object handleGetObject(String key) {
//       String value = bundle.getString(key);
//       if (value==null) return null;
//       try {
//          return new String (value.getBytes("ISO-8859-1"),"UTF-8") ;
//       } catch (UnsupportedEncodingException e) {
//         // Shouldn't fail - but should we still add logging message?
//         return null;
//       }
//     }
//   }
// }


// Path: src/org/jergometer/translation/I18n.java
import de.endrullis.utils.Utf8ResourceBundle;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.PropertyKey;
import java.util.ResourceBundle;

package org.jergometer.translation;



/**
 * I18n support for the project jergometer.
 */
public class I18n {
  @NonNls
  public static final ResourceBundle bundle = Utf8ResourceBundle.getBundle("org.jergometer.translation.jergometer");