UNPKG

@progress/kendo-vue-intl

Version:
28 lines (27 loc) 805 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { messages as c } from "./messages.mjs"; const r = (o, s, n) => { for (const t in o) if (o.hasOwnProperty(t)) { const e = [...n]; if (e.push(t), typeof o[t] != "string") r(o[t], s, e); else { const f = o[t]; Object.defineProperty(s, e.join("."), { value: f }); } } }; function i(o, s) { let n = c[s] = c[s] || {}; r(o, n, []); } export { i as loadMessages };