Skip to content

Commit

Permalink
add t to global blessing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed Jun 24, 2020
1 parent 87bc54e commit a955fdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/assets/src/scripts/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ export function t(key: string, parameters = Object.create(null)): string {
}

Object.assign(window, { trans: t })
Object.assign(blessing, { t })

0 comments on commit a955fdf

Please sign in to comment.