n8n-nodes-feishu-lark
Version:
n8n custom nodes for n8n to interact with Feishu/Lark, including Lark Bot, Lark MCP, and Lark Trigger.
21 lines • 994 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DESCRIPTION_NAMES_ZH = exports.DESCRIPTION_NAMES_EN = exports.DESCRIPTION_NAMES = void 0;
exports.getDescriptionNames = getDescriptionNames;
const types_1 = require("../types");
const en_1 = require("./en");
const zh_1 = require("./zh");
const DESCRIPTION_NAMES_MAP = {
en: en_1.DESCRIPTION_NAMES_EN,
zh: zh_1.DESCRIPTION_NAMES_ZH,
};
function getDescriptionNames() {
const locale = (0, types_1.getCurrentLocale)();
return DESCRIPTION_NAMES_MAP[locale] || zh_1.DESCRIPTION_NAMES_ZH;
}
exports.DESCRIPTION_NAMES = getDescriptionNames();
var en_2 = require("./en");
Object.defineProperty(exports, "DESCRIPTION_NAMES_EN", { enumerable: true, get: function () { return en_2.DESCRIPTION_NAMES_EN; } });
var zh_2 = require("./zh");
Object.defineProperty(exports, "DESCRIPTION_NAMES_ZH", { enumerable: true, get: function () { return zh_2.DESCRIPTION_NAMES_ZH; } });
//# sourceMappingURL=index.js.map