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

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

/** @typedef {{}} Profile_Settings_ErrorInputs */

const en_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Failed to save settings.`)
};

const ru_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Не удалось сохранить настройки.`)
};

const id_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Gagal menyimpan pengaturan.`)
};

const pt_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Falha ao salvar configurações.`)
};

const fr_profile_settings_error = /** @type {(inputs: Profile_Settings_ErrorInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Impossible d'enregistrer les paramètres.`)
};

/**
* | output |
* | --- |
* | "Failed to save settings." |
*
* @param {Profile_Settings_ErrorInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const profile_settings_error = /** @type {((inputs?: Profile_Settings_ErrorInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Profile_Settings_ErrorInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_profile_settings_error(inputs)
	if (locale === "ru") return ru_profile_settings_error(inputs)
	if (locale === "id") return id_profile_settings_error(inputs)
	if (locale === "pt") return pt_profile_settings_error(inputs)
	return fr_profile_settings_error(inputs)
});