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

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

/** @typedef {{}} Reader_Audio_ErrorInputs */

const en_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Audio generation failed.`)
};

const ru_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Ошибка генерации аудио.`)
};

const id_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Pembuatan audio gagal.`)
};

const pt_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Falha na geração de áudio.`)
};

const fr_reader_audio_error = /** @type {(inputs: Reader_Audio_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Échec de la génération audio.`)
};

/**
* | output |
* | --- |
* | "Audio generation failed." |
*
* @param {Reader_Audio_ErrorInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const reader_audio_error = /** @type {((inputs?: Reader_Audio_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Reader_Audio_ErrorInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_reader_audio_error(inputs)
	if (locale === "ru") return ru_reader_audio_error(inputs)
	if (locale === "id") return id_reader_audio_error(inputs)
	if (locale === "pt") return pt_reader_audio_error(inputs)
	return fr_reader_audio_error(inputs)
});