decord/source/modules/links/getLocalizedLink.tsx

14 lines
443 B
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 3805
// Function ID: 3806
2026-07-20 16:05:17 +00:00
// Name: getLocalizedLink
2026-07-29 08:29:29 +00:00
// Dependencies: [1236, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-31 08:44:05 +00:00
// Module 3805 (getLocalizedLink)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/links/getLocalizedLink.tsx");
2026-07-20 16:05:17 +00:00
export default function getLocalizedLink(arg0) {
2026-07-29 08:29:29 +00:00
const formatted = require(1236) /* getSystemLocale */.intl.currentLocale.toLowerCase();
2026-07-20 16:05:17 +00:00
return formatted in arg0 ? arg0[formatted] : arg0.default;
};