mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
fix tests, @lefnire not the best solution but it works
This commit is contained in:
parent
b60eadf468
commit
c256295d6f
1 changed files with 2 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
"use strict";
|
||||
|
||||
window.env = window.env || {}; //FIX tests
|
||||
|
||||
window.env.t = function(string){
|
||||
return (window.env.translations[string] || window.env.translations.stringNotFound);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue