build(#10336): load locales and vite config
This commit is contained in:
@@ -443,11 +443,13 @@ export const ACHIEVEMENT_BADGES = {
|
||||
bg: 'linear-gradient(0deg, rgb(144, 224, 255), rgb(255, 168, 252))',
|
||||
frame: 'bronze',
|
||||
},
|
||||
/*
|
||||
} as const satisfies Record<typeof ACHIEVEMENT_TYPES[number], {
|
||||
img: string;
|
||||
bg: string | null;
|
||||
frame: 'bronze' | 'silver' | 'gold' | 'platinum';
|
||||
}>;
|
||||
*/ } as const;
|
||||
|
||||
export const claimedAchievements: typeof ACHIEVEMENT_TYPES[number][] = ($i && $i.achievements) ? $i.achievements.map(x => x.name) : [];
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ export class I18n<T extends Record<string, any>> {
|
||||
|
||||
constructor(locale: T) {
|
||||
this.ts = locale;
|
||||
console.log(this);
|
||||
|
||||
//#region BIND
|
||||
this.t = this.t.bind(this);
|
||||
|
||||
Reference in New Issue
Block a user