Files
libnovel/ui/src/lib/paraglide/messages/comments_reply.js
Admin 34c8fab358
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
fix: commit all paraglide generated output files to git
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.
2026-03-30 22:29:32 +05:00

44 lines
1.8 KiB
JavaScript

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Comments_ReplyInputs */
const en_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Reply`)
};
const ru_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Ответить`)
};
const id_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Balas`)
};
const pt_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Responder`)
};
const fr_comments_reply = /** @type {(inputs: Comments_ReplyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Répondre`)
};
/**
* | output |
* | --- |
* | "Reply" |
*
* @param {Comments_ReplyInputs} inputs
* @param {{ locale?: "en" | "ru" | "id" | "pt" | "fr" }} options
* @returns {LocalizedString}
*/
export const comments_reply = /** @type {((inputs?: Comments_ReplyInputs, options?: { locale?: "en" | "ru" | "id" | "pt" | "fr" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Comments_ReplyInputs, { locale?: "en" | "ru" | "id" | "pt" | "fr" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_comments_reply(inputs)
if (locale === "ru") return ru_comments_reply(inputs)
if (locale === "id") return id_comments_reply(inputs)
if (locale === "pt") return pt_comments_reply(inputs)
return fr_comments_reply(inputs)
});