decord/alpha/source/modules/links/getLocalizedLink.tsx
2026-10-10 08:08:14 +00:00

17 lines
495 B
TypeScript

// Module ID: 4732
// Function ID: 4733
// Name: getLocalizedLink
// Dependencies: [1126, 2]
// Exports: default
// Module 4732 (getLocalizedLink)
import intl from "intl" /* 1126 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/links/getLocalizedLink.tsx");
export default function getLocalizedLink(arg0) {
const str = intl.intl.currentLocale;
const formatted = str.toLowerCase();
return formatted in arg0 ? arg0[formatted] : arg0.default;
};