add t to global blessing variable

This commit is contained in:
Pig Fang 2020-06-24 16:12:29 +08:00
parent 87bc54e6f8
commit a955fdfefa

View File

@ -25,3 +25,4 @@ export function t(key: string, parameters = Object.create(null)): string {
}
Object.assign(window, { trans: t })
Object.assign(blessing, { t })