diff --git a/src/utils/LocalizeBadgeDescription.ts b/src/utils/LocalizeBadgeDescription.ts new file mode 100644 index 00000000..e5a046e0 --- /dev/null +++ b/src/utils/LocalizeBadgeDescription.ts @@ -0,0 +1,6 @@ +import { GetNitroInstance } from '../api'; + +export function LocalizeBadgeDescription(key: string): string +{ + return GetNitroInstance().localization.getBadgeDesc(key); +} diff --git a/src/utils/index.ts b/src/utils/index.ts new file mode 100644 index 00000000..eb8e19e2 --- /dev/null +++ b/src/utils/index.ts @@ -0,0 +1,5 @@ +export * from './ColorUtils'; +export * from './LocalizeBadgeDescription'; +export * from './LocalizeBageName'; +export * from './LocalizeShortNumber'; +export * from './LocalizeText';