UNPKG

@criticalmanufacturing/dev-i18n-transform

Version:
28 lines (27 loc) 945 B
"use strict"; exports.__esModule = true; var Translation = /** @class */ (function () { function Translation(language, text, isLiteral, line, col) { if (isLiteral === void 0) { isLiteral = false; } if (line === void 0) { line = null; } if (col === void 0) { col = null; } this.language = language; this.text = text; this.isLiteral = isLiteral; this.line = line; this.column = col; } return Translation; }()); exports.Translation = Translation; var TranslatorNotes; (function (TranslatorNotes) { TranslatorNotes[TranslatorNotes["AutomaticTranslation"] = 1] = "AutomaticTranslation"; })(TranslatorNotes = exports.TranslatorNotes || (exports.TranslatorNotes = {})); /** * Notes for translators. * Keys are based on {@see TranslatorNotes} enumeration. */ exports.TRANSLATOR_NOTES = Object.freeze({ 1: "001 | Automatic Translation" });