mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2025-04-20 08:16:38 +02:00
13 lines
399 B
JavaScript
13 lines
399 B
JavaScript
/*
|
|
* Copyright (C) 2020 CZ.NIC z.s.p.o. (http://www.nic.cz/)
|
|
*
|
|
* This is free software, licensed under the GNU General Public License v3.
|
|
* See /LICENSE for more information.
|
|
*/
|
|
|
|
// Mock babel (gettext)
|
|
global._ = (str) => str;
|
|
global.ngettext = (str) => str;
|
|
global.babel = { format: (str) => str };
|
|
global.ForisTranslations = { locale: "en" };
|
|
global.setImmediate = (fn) => setTimeout(fn, 0); |