1 package com
.googlecode
.lanterna
.bundle
;
3 import java
.util
.Locale
;
6 * This class permits to get easily localized strings about the UI.
9 public class LocalizedUIBundle
extends BundleLocator
{
11 private static final LocalizedUIBundle MY_BUNDLE
= new LocalizedUIBundle("multilang.lanterna-ui");
13 public static String
get(String key
, String
... parameters
) {
14 return get(Locale
.getDefault(), key
, parameters
);
17 public static String
get(Locale locale
, String key
, String
... parameters
) {
18 return MY_BUNDLE
.getBundleKeyValue(locale
, key
, (Object
[])parameters
);
21 private LocalizedUIBundle(final String bundleName
) {