/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';

/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */

/** @typedef {{}} Error_Generic_TitleInputs */

const en_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Something went wrong`)
};

const ru_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Что-то пошло не так`)
};

const id_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Terjadi kesalahan`)
};

const pt_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Algo deu errado`)
};

const fr_error_generic_title = /** @type {(inputs: Error_Generic_TitleInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Une erreur s'est produite`)
};

/**
* | output |
* | --- |
* | "Something went wrong" |
*
* @param {Error_Generic_TitleInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const error_generic_title = /** @type {((inputs?: Error_Generic_TitleInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Error_Generic_TitleInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_error_generic_title(inputs)
	if (locale === "ru") return ru_error_generic_title(inputs)
	if (locale === "id") return id_error_generic_title(inputs)
	if (locale === "pt") return pt_error_generic_title(inputs)
	return fr_error_generic_title(inputs)
});