decord/source/modules/links/getLocalizedLink.tsx
2026-08-25 06:04:03 +00:00

16 lines
502 B
TypeScript

// Module ID: 4009
// Function ID: 4010
// Name: getLocalizedLink
// Dependencies: [1236, 2]
// Exports: default
// Module 4009 (getLocalizedLink)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
const result = set.fileFinishedImporting("modules/links/getLocalizedLink.tsx");
export default function getLocalizedLink(arg0) {
const formatted = getSystemLocale.intl.currentLocale.toLowerCase();
return formatted in arg0 ? arg0[formatted] : arg0.default;
};