This website works better with JavaScript
Home
Explore
Help
Sign In
Server
/
new-api
Watch
40
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
feat: expose i18n instance to the global window object for easier access
CaIon
2 months ago
parent
c766913baf
commit
5402bf417d
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
2
0
web/src/i18n/i18n.js
+ 2
- 0
web/src/i18n/i18n.js
View File
@@ -52,4 +52,6 @@ i18n
},
});
+window.__i18n = i18n;
+
export default i18n;