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

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

/** @typedef {{}} Catalogue_Scrape_Error_FlashInputs */

const en_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Failed to queue scrape. Check that the scraper service is reachable.`)
};

const ru_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Не удалось поставить парсинг в очередь. Проверьте доступность сервиса.`)
};

const id_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Gagal mengantrekan scrape. Pastikan layanan scraper dapat dijangkau.`)
};

const pt_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Falha ao enfileirar o scrape. Verifique se o serviço de scraper está acessível.`)
};

const fr_catalogue_scrape_error_flash = /** @type {(inputs: Catalogue_Scrape_Error_FlashInputs) => LocalizedString} */ () => {
	return /** @type {LocalizedString} */ (`Échec de la mise en file d'attente du scrape. Vérifiez que le service de scraper est accessible.`)
};

/**
* | output |
* | --- |
* | "Failed to queue scrape. Check that the scraper service is reachable." |
*
* @param {Catalogue_Scrape_Error_FlashInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const catalogue_scrape_error_flash = /** @type {((inputs?: Catalogue_Scrape_Error_FlashInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Catalogue_Scrape_Error_FlashInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
	const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
	if (locale === "en") return en_catalogue_scrape_error_flash(inputs)
	if (locale === "ru") return ru_catalogue_scrape_error_flash(inputs)
	if (locale === "id") return id_catalogue_scrape_error_flash(inputs)
	if (locale === "pt") return pt_catalogue_scrape_error_flash(inputs)
	return fr_catalogue_scrape_error_flash(inputs)
});