mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Readded text shortcut
This commit is contained in:
parent
eeaa14f309
commit
a907bb06c7
1 changed files with 6 additions and 0 deletions
6
src/static/js/vendors/html10n.ts
vendored
6
src/static/js/vendors/html10n.ts
vendored
|
@ -995,3 +995,9 @@ export default html10n
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.html10n = html10n
|
window.html10n = html10n
|
||||||
|
|
||||||
|
// gettext-like shortcut
|
||||||
|
if (window._ === undefined){
|
||||||
|
// @ts-ignore
|
||||||
|
window._ = html10n.get;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue