UNPKG

n8n-nodes-feishu-lark

Version:

n8n custom nodes for n8n to interact with Feishu/Lark, including Lark Bot, Lark MCP, and Lark Trigger.

23 lines 1.05 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WORDING_ZH = exports.WORDING_EN = exports.getCurrentLocale = exports.WORDING = void 0; exports.getWording = getWording; const types_1 = require("./types"); const en_1 = require("./locales/en"); const zh_1 = require("./locales/zh"); const WORDING_MAP = { en: en_1.WORDING_EN, zh: zh_1.WORDING_ZH, }; function getWording() { const locale = (0, types_1.getCurrentLocale)(); return WORDING_MAP[locale] || zh_1.WORDING_ZH; } exports.WORDING = getWording(); var types_2 = require("./types"); Object.defineProperty(exports, "getCurrentLocale", { enumerable: true, get: function () { return types_2.getCurrentLocale; } }); var en_2 = require("./locales/en"); Object.defineProperty(exports, "WORDING_EN", { enumerable: true, get: function () { return en_2.WORDING_EN; } }); var zh_2 = require("./locales/zh"); Object.defineProperty(exports, "WORDING_ZH", { enumerable: true, get: function () { return zh_2.WORDING_ZH; } }); //# sourceMappingURL=index.js.map