decord/source/modules/links/getLocalizedLink.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

16 lines
502 B
TypeScript

// Module ID: 4183
// Function ID: 4184
// Name: getLocalizedLink
// Dependencies: [1114, 2]
// Exports: default
// Module 4183 (getLocalizedLink)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
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;
};