import java.util.ResourceBundle;
import org.argeo.api.cms.CmsLog;
-import org.argeo.cms.auth.CurrentUser;
/** Utilities simplifying the development of localization enums. */
public class LocaleUtils {
/** Lead transformation on the translated string. */
public static String toLead(String raw, Locale locale) {
+ if ("".equals(raw))
+ return "";
return raw.substring(0, 1).toUpperCase(locale) + raw.substring(1);
}