mirror of https://github.com/zulip/zulip.git
node tests: Make i18next more explicit in i18n tests.
We are actually testing i18next somewhat directly in this test, so we clean up some names in the file. We'll address filenames in another commit.
This commit is contained in:
parent
2d55c7e0d5
commit
588fa9d150
|
@ -1,8 +1,11 @@
|
|||
set_global('Handlebars', global.make_handlebars());
|
||||
zrequire('templates');
|
||||
set_global('i18n', zrequire('i18n', 'i18next'));
|
||||
|
||||
i18n.init({
|
||||
const i18next = zrequire('i18next', 'i18next');
|
||||
|
||||
global.i18n = i18next;
|
||||
|
||||
i18next.init({
|
||||
nsSeparator: false,
|
||||
keySeparator: false,
|
||||
interpolation: {
|
||||
|
|
Loading…
Reference in New Issue