Files
shumai/packages/webui/paraglide/messages/version_reordered_successfully.js
T
Yiling-J f66bb7af73 feat(version-stack): add manage versions dialog and version removal (#311)
* feat(version-stack): add manage versions dialog and version removal

* fix(webui): remove ellipsis and add pointer cursor to manage versions button

* fix(version-stack): handle symlink deduplication and name sync for share links

* refactor(version-stack): extract shared symlink dedup helper

The 'repoint first symlink per share folder, delete duplicates with
fileCount decrement' logic was triplicated across createVersionStack,
reparentAssets, and reparentFileToFile with subtle variations. Extract
it into dedupeSymlinksToTarget() in packages/core/src/asset/symlink.ts
and call it from all three sites (behavior unchanged), with a dedicated
test suite covering the edge cases.
2026-08-15 15:37:17 +08:00

29 lines
1.3 KiB
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Version_Reordered_SuccessfullyInputs */
const en_version_reordered_successfully = /** @type {(inputs: Version_Reordered_SuccessfullyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Version order updated`)
};
const zh_version_reordered_successfully = /** @type {(inputs: Version_Reordered_SuccessfullyInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`版本顺序已更新`)
};
/**
* | output |
* | --- |
* | "Version order updated" |
*
* @param {Version_Reordered_SuccessfullyInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const version_reordered_successfully = /** @type {((inputs?: Version_Reordered_SuccessfullyInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Version_Reordered_SuccessfullyInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_version_reordered_successfully(inputs)
return zh_version_reordered_successfully(inputs)
});