All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.carne.jfx.scene.control.AlertsI18N Maven / Gradle / Ivy

The newest version!
/*
 * I18N resource strings (automatically generated - do not edit)
 */
package de.carne.jfx.scene.control;

import java.text.MessageFormat;
import java.util.ResourceBundle;

/**
 * Resource bundle: de/carne/jfx/scene/control/AlertsI18N.properties
 */
public final class AlertsI18N {

	/**
	 * The name of the {@linkplain ResourceBundle} wrapped by this class.
	 */
	public static final String BUNDLE_NAME = AlertsI18N.class.getName();

	/**
	 * The {@linkplain ResourceBundle} wrapped by this class.
	 */
	public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);

	private AlertsI18N() {
		// Prevent instantiation
	}

	/**
	 * Format a resource string.
	 * @param key The resource key.
	 * @param arguments Format arguments.
	 * @return The formatted string.
	 */
	public static String format(String key, Object... arguments) {
		String pattern = BUNDLE.getString(key);

		return MessageFormat.format(pattern, arguments);
	}

	/**
	 * Resource key {@code STR_MESSAGE_APPLICATION_ERROR}
	 * 

* Application error */ public static final String STR_MESSAGE_APPLICATION_ERROR = "STR_MESSAGE_APPLICATION_ERROR"; /** * Resource string {@code STR_MESSAGE_APPLICATION_ERROR} *

* Application error * * @param arguments Format arguments. * @return The formatted string. */ public static String strMessageApplicationError(Object... arguments) { return format(STR_MESSAGE_APPLICATION_ERROR, arguments); } /** * Resource key {@code STR_MESSAGE_UNEXPECTED_ERROR} *

* An unexpected error occurred. */ public static final String STR_MESSAGE_UNEXPECTED_ERROR = "STR_MESSAGE_UNEXPECTED_ERROR"; /** * Resource string {@code STR_MESSAGE_UNEXPECTED_ERROR} *

* An unexpected error occurred. * * @param arguments Format arguments. * @return The formatted string. */ public static String strMessageUnexpectedError(Object... arguments) { return format(STR_MESSAGE_UNEXPECTED_ERROR, arguments); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy