decord/alpha/source/modules/links/getLocalizedLink.tsx

17 lines
476 B
TypeScript
Raw Normal View History

// Module ID: 4448
// Function ID: 4449
2026-07-20 16:05:17 +00:00
// Name: getLocalizedLink
// Dependencies: [1115, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 4448 (getLocalizedLink)
import util from "util" /* 1115 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/links/getLocalizedLink.tsx");
2026-07-20 16:05:17 +00:00
export default function getLocalizedLink(arg0) {
const formatted = util.intl.currentLocale.toLowerCase();
2026-07-20 16:05:17 +00:00
return formatted in arg0 ? arg0[formatted] : arg0.default;
};