All checks were successful
CI / Backend (push) Successful in 51s
CI / UI (push) Successful in 33s
Release / Test backend (push) Successful in 39s
Release / Check ui (push) Successful in 57s
Release / Docker / caddy (push) Successful in 36s
CI / Backend (pull_request) Successful in 45s
CI / UI (pull_request) Successful in 1m8s
Release / Docker / backend (push) Successful in 2m9s
Release / Docker / runner (push) Successful in 3m5s
Release / Docker / ui (push) Successful in 2m44s
Release / Gitea Release (push) Successful in 29s
These files are needed at CI check time. paraglide fetches its plugin from cdn.jsdelivr.net which is unavailable in the CI environment, causing compile to produce empty output. Committing the generated output means CI never needs to recompile them.
44 lines
2.0 KiB
JavaScript
44 lines
2.0 KiB
JavaScript
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Home_Continue_ReadingInputs */
|
|
|
|
const en_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Continue Reading`)
|
|
};
|
|
|
|
const ru_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Продолжить чтение`)
|
|
};
|
|
|
|
const id_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Lanjutkan Membaca`)
|
|
};
|
|
|
|
const pt_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Continuar Lendo`)
|
|
};
|
|
|
|
const fr_home_continue_reading = /** @type {(inputs: Home_Continue_ReadingInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Continuer la lecture`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Continue Reading" |
|
|
*
|
|
* @param {Home_Continue_ReadingInputs} inputs
|
|
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const home_continue_reading = /** @type {((inputs?: Home_Continue_ReadingInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Home_Continue_ReadingInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_home_continue_reading(inputs)
|
|
if (locale === "ru") return ru_home_continue_reading(inputs)
|
|
if (locale === "id") return id_home_continue_reading(inputs)
|
|
if (locale === "pt") return pt_home_continue_reading(inputs)
|
|
return fr_home_continue_reading(inputs)
|
|
}); |