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

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

/** @typedef {{ date: NonNullable<unknown> }} User_JoinedInputs */

const en_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Joined ${i?.date}`)
};

const ru_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Зарегистрирован ${i?.date}`)
};

const id_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Bergabung ${i?.date}`)
};

const pt_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Entrou em ${i?.date}`)
};

const fr_user_joined = /** @type {(inputs: User_JoinedInputs) => LocalizedString} */ (i) => {
	return /** @type {LocalizedString} */ (`Inscrit le ${i?.date}`)
};

/**
* | output |
* | --- |
* | "Joined {date}" |
*
* @param {User_JoinedInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const user_joined = /** @type {((inputs: User_JoinedInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<User_JoinedInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_user_joined(inputs)
	if (locale === "ru") return ru_user_joined(inputs)
	if (locale === "id") return id_user_joined(inputs)
	if (locale === "pt") return pt_user_joined(inputs)
	return fr_user_joined(inputs)
});