mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-28 20:04:26 +00:00
* feat(webui): add mobile friendly file detail and public share view * fix(webui): address review feedback for mobile file detail and public share view * fix(webui): use dynamic viewport and flex column layout for mobile file viewer * fix(webui): support iOS WebKit video fullscreen and guard requestFullscreen * fix(webui): compact page indicator and layout in mobile PDF control bar
29 lines
1.1 KiB
JavaScript
Generated
29 lines
1.1 KiB
JavaScript
Generated
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Playback_SpeedInputs */
|
|
|
|
const en_playback_speed = /** @type {(inputs: Playback_SpeedInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Playback Speed`)
|
|
};
|
|
|
|
const zh_playback_speed = /** @type {(inputs: Playback_SpeedInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`播放速度`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Playback Speed" |
|
|
*
|
|
* @param {Playback_SpeedInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const playback_speed = /** @type {((inputs?: Playback_SpeedInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Playback_SpeedInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_playback_speed(inputs)
|
|
return zh_playback_speed(inputs)
|
|
}); |