decord/source/intl/migration.tsx

20 lines
660 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 16672
// Function ID: 16673
2026-07-20 16:05:17 +00:00
// Name: newGetEnglishMessageText
2026-07-29 08:29:29 +00:00
// Dependencies: [1236, 1274, 2]
2026-07-20 16:05:17 +00:00
// Exports: improperGetEnglishIntlMessageText
2026-08-24 06:08:38 +00:00
// Module 16672 (newGetEnglishMessageText)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import _mod1274 from "module_1274" /* 1274 */;
const result = set.fileFinishedImporting("intl/migration.tsx");
2026-07-20 16:05:17 +00:00
export const improperGetEnglishIntlMessageText = function newGetEnglishMessageText(code) {
2026-08-24 06:08:38 +00:00
({ intl, t } = getSystemLocale);
const obj = _mod1274;
2026-07-20 16:05:17 +00:00
intl.currentLocale = intl.currentLocale;
2026-07-29 08:29:29 +00:00
return intl.string(t[obj.runtimeHashMessageKey(obj, code)]);
2026-07-20 16:05:17 +00:00
};