decord/alpha/source/modules/links/getLocalizedLink.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

16 lines
476 B
TypeScript

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