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

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

/** @typedef {{}} Profile_Password_ErrorInputs */

const en_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Failed to change password.`)
};

const ru_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Не удалось изменить пароль.`)
};

const id_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Gagal mengubah kata sandi.`)
};

const pt_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Falha ao alterar a senha.`)
};

const fr_profile_password_error = /** @type {(inputs: Profile_Password_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Impossible de modifier le mot de passe.`)
};

/**
* | output |
* | --- |
* | "Failed to change password." |
*
* @param {Profile_Password_ErrorInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const profile_password_error = /** @type {((inputs?: Profile_Password_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Profile_Password_ErrorInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_profile_password_error(inputs)
	if (locale === "ru") return ru_profile_password_error(inputs)
	if (locale === "id") return id_profile_password_error(inputs)
	if (locale === "pt") return pt_profile_password_error(inputs)
	return fr_profile_password_error(inputs)
});