decord/source/modules/links/getLocalizedLink.tsx

17 lines
502 B
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 4104
// Function ID: 4105
2026-07-20 16:05:17 +00:00
// Name: getLocalizedLink
2026-09-02 09:53:35 +00:00
// Dependencies: [1233, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-09-02 09:53:35 +00:00
// Module 4104 (getLocalizedLink)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import getSystemLocale from "getSystemLocale" /* 1233 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/links/getLocalizedLink.tsx");
2026-07-20 16:05:17 +00:00
export default function getLocalizedLink(arg0) {
2026-08-24 06:08:38 +00:00
const formatted = getSystemLocale.intl.currentLocale.toLowerCase();
2026-07-20 16:05:17 +00:00
return formatted in arg0 ? arg0[formatted] : arg0.default;
};