Home Reference Source

stdlib/translation.js

/**
 * Handles looking up translation strings
 * @class
 */
export class translation {
	/** Converts a string to its translated equivalent
	 * @param msg - The message to convert
	 * @param arg1 - The first argument (optional)
	 * @param arg2 - The second argument (optional)
	 * @param arg3 - The third argument (optional)
	 * @param arg4 - The forth argument (optional)
	 */
	static lookup(msg, arg1, arg2, arg3, arg4) {
		return global.__std_TranslationGet(msg, arg1, arg2, arg3, arg4);
	}
}