Skip to content

Commit

Permalink
Readded text shortcut (#6634)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 authored Sep 5, 2024
1 parent d22b1d2 commit 504d04d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/static/js/vendors/html10n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -995,3 +995,9 @@ export default html10n

// @ts-ignore
window.html10n = html10n

// gettext-like shortcut
if (window._ === undefined){
// @ts-ignore
window._ = html10n.get;
}

0 comments on commit 504d04d

Please sign in to comment.