@angular/localize 15.0.0-next.0 → 15.0.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2015/init.mjs +1 -1
- package/fesm2015/localize.mjs +1 -1
- package/fesm2020/init.mjs +1 -1
- package/fesm2020/localize.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/tools/bundles/{chunk-BWW7SSDP.js → chunk-B2TZRIF5.js} +18 -18
- package/tools/bundles/{chunk-BWW7SSDP.js.map → chunk-B2TZRIF5.js.map} +0 -0
- package/tools/bundles/{chunk-4L7Z6EUH.js → chunk-HS5BMNX3.js} +21 -89
- package/tools/bundles/chunk-HS5BMNX3.js.map +6 -0
- package/tools/bundles/{chunk-FFZU53GH.js → chunk-N3C6NOYD.js} +5 -5
- package/tools/bundles/{chunk-FFZU53GH.js.map → chunk-N3C6NOYD.js.map} +0 -0
- package/tools/bundles/index.js +4 -4
- package/tools/bundles/src/extract/cli.js +5 -5
- package/tools/bundles/src/migrate/cli.js +5 -5
- package/tools/bundles/src/translate/cli.js +11 -11
- package/tools/bundles_metadata.json +1 -1
- package/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.d.ts +0 -4
- package/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.d.ts +0 -4
- package/tools/src/translate/translation_files/translation_parsers/translation_parser.d.ts +6 -29
- package/tools/src/translate/translation_files/translation_parsers/translation_utils.d.ts +1 -1
- package/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.d.ts +1 -6
- package/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.d.ts +1 -6
- package/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.d.ts +1 -6
- package/tools/bundles/chunk-4L7Z6EUH.js.map +0 -6
package/fesm2015/init.mjs
CHANGED
package/fesm2015/localize.mjs
CHANGED
package/fesm2020/init.mjs
CHANGED
package/fesm2020/localize.mjs
CHANGED
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/localize",
|
|
3
|
-
"version": "15.0.0-next.
|
|
3
|
+
"version": "15.0.0-next.1",
|
|
4
4
|
"description": "Angular - library for localizing messages",
|
|
5
5
|
"bin": {
|
|
6
6
|
"localize-translate": "./tools/bundles/src/translate/cli.js",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"yargs": "^17.2.1"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@angular/compiler": "15.0.0-next.
|
|
80
|
-
"@angular/compiler-cli": "15.0.0-next.
|
|
79
|
+
"@angular/compiler": "15.0.0-next.1",
|
|
80
|
+
"@angular/compiler-cli": "15.0.0-next.1"
|
|
81
81
|
},
|
|
82
82
|
"fesm2020": "./fesm2020/localize.mjs",
|
|
83
83
|
"fesm2015": "./fesm2015/localize.mjs",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
(0, dependencies_1.addPackageJsonDependency)(host, {
|
|
101
101
|
name: '@angular/localize',
|
|
102
102
|
type: dependencies_1.NodeDependencyType.Default,
|
|
103
|
-
version: `~15.0.0-next.
|
|
103
|
+
version: `~15.0.0-next.1`
|
|
104
104
|
});
|
|
105
105
|
// Add a task to run the package manager. This is necessary because we updated
|
|
106
106
|
// "package.json" and we want lock files to reflect this.
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
unwrapMessagePartsFromLocalizeCall,
|
|
16
16
|
unwrapMessagePartsFromTemplateLiteral,
|
|
17
17
|
unwrapSubstitutionsFromLocalizeCall
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-N3C6NOYD.js";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs
|
|
21
21
|
function checkDuplicateMessages(fs, messages, duplicateMessageHandling, basePath) {
|
|
22
22
|
const diagnostics = new Diagnostics();
|
|
23
23
|
if (duplicateMessageHandling === "ignore")
|
|
@@ -51,10 +51,10 @@ function serializeMessage(fs, basePath, message) {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
// bazel-out/
|
|
54
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs
|
|
55
55
|
import { SourceFileLoader } from "@angular/compiler-cli/private/localize";
|
|
56
56
|
|
|
57
|
-
// bazel-out/
|
|
57
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs
|
|
58
58
|
import { \u0275parseMessage } from "@angular/localize";
|
|
59
59
|
function makeEs2015ExtractPlugin(fs, messages, localizeName = "$localize") {
|
|
60
60
|
return {
|
|
@@ -74,7 +74,7 @@ function makeEs2015ExtractPlugin(fs, messages, localizeName = "$localize") {
|
|
|
74
74
|
};
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
// bazel-out/
|
|
77
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs
|
|
78
78
|
import { \u0275parseMessage as \u0275parseMessage2 } from "@angular/localize";
|
|
79
79
|
function makeEs5ExtractPlugin(fs, messages, localizeName = "$localize") {
|
|
80
80
|
return {
|
|
@@ -102,7 +102,7 @@ function makeEs5ExtractPlugin(fs, messages, localizeName = "$localize") {
|
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
// bazel-out/
|
|
105
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs
|
|
106
106
|
var MessageExtractor = class {
|
|
107
107
|
constructor(fs, logger, { basePath, useSourceMaps = true, localizeName = "$localize" }) {
|
|
108
108
|
this.fs = fs;
|
|
@@ -169,7 +169,7 @@ var MessageExtractor = class {
|
|
|
169
169
|
}
|
|
170
170
|
};
|
|
171
171
|
|
|
172
|
-
// bazel-out/
|
|
172
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs
|
|
173
173
|
function consolidateMessages(messages, getMessageId2) {
|
|
174
174
|
const messageGroups = /* @__PURE__ */ new Map();
|
|
175
175
|
for (const message of messages) {
|
|
@@ -210,7 +210,7 @@ function compareLocations({ location: location1 }, { location: location2 }) {
|
|
|
210
210
|
return 0;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs
|
|
214
214
|
var ArbTranslationSerializer = class {
|
|
215
215
|
constructor(sourceLocale, basePath, fs) {
|
|
216
216
|
this.sourceLocale = sourceLocale;
|
|
@@ -271,7 +271,7 @@ function getMessageId(message) {
|
|
|
271
271
|
return message.customId || message.id;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
-
// bazel-out/
|
|
274
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs
|
|
275
275
|
var SimpleJsonTranslationSerializer = class {
|
|
276
276
|
constructor(sourceLocale) {
|
|
277
277
|
this.sourceLocale = sourceLocale;
|
|
@@ -285,7 +285,7 @@ var SimpleJsonTranslationSerializer = class {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs
|
|
289
289
|
var LegacyMessageIdMigrationSerializer = class {
|
|
290
290
|
constructor(_diagnostics) {
|
|
291
291
|
this._diagnostics = _diagnostics;
|
|
@@ -314,7 +314,7 @@ function shouldMigrate(message) {
|
|
|
314
314
|
return !message.customId && !!message.legacyIds && message.legacyIds.length > 0;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
// bazel-out/
|
|
317
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs
|
|
318
318
|
function validateOptions(name, validOptions, options) {
|
|
319
319
|
const validOptionsMap = new Map(validOptions);
|
|
320
320
|
for (const option in options) {
|
|
@@ -334,10 +334,10 @@ function parseFormatOptions(optionString = "{}") {
|
|
|
334
334
|
return JSON.parse(optionString);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
// bazel-out/
|
|
337
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs
|
|
338
338
|
import { getFileSystem } from "@angular/compiler-cli/private/localize";
|
|
339
339
|
|
|
340
|
-
// bazel-out/
|
|
340
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs
|
|
341
341
|
function extractIcuPlaceholders(text) {
|
|
342
342
|
const state = new StateStack();
|
|
343
343
|
const pieces = new IcuPieces();
|
|
@@ -434,7 +434,7 @@ function assert(test, message) {
|
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
-
// bazel-out/
|
|
437
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs
|
|
438
438
|
var XmlFile = class {
|
|
439
439
|
constructor() {
|
|
440
440
|
this.output = '<?xml version="1.0" encoding="UTF-8" ?>\n';
|
|
@@ -516,7 +516,7 @@ function escapeXml(text) {
|
|
|
516
516
|
return _ESCAPED_CHARS.reduce((text2, entry) => text2.replace(entry[0], entry[1]), text);
|
|
517
517
|
}
|
|
518
518
|
|
|
519
|
-
// bazel-out/
|
|
519
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs
|
|
520
520
|
var LEGACY_XLIFF_MESSAGE_LENGTH = 40;
|
|
521
521
|
var Xliff1TranslationSerializer = class {
|
|
522
522
|
constructor(sourceLocale, basePath, useLegacyIds, formatOptions = {}, fs = getFileSystem()) {
|
|
@@ -664,7 +664,7 @@ var TAG_MAP = {
|
|
|
664
664
|
"UNORDERED_LIST": "ul"
|
|
665
665
|
};
|
|
666
666
|
|
|
667
|
-
// bazel-out/
|
|
667
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs
|
|
668
668
|
import { getFileSystem as getFileSystem2 } from "@angular/compiler-cli/private/localize";
|
|
669
669
|
var MAX_LEGACY_XLIFF_2_MESSAGE_LENGTH = 20;
|
|
670
670
|
var Xliff2TranslationSerializer = class {
|
|
@@ -806,7 +806,7 @@ function getTypeForPlaceholder(placeholder) {
|
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
// bazel-out/
|
|
809
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs
|
|
810
810
|
import { getFileSystem as getFileSystem3 } from "@angular/compiler-cli/private/localize";
|
|
811
811
|
var XmbTranslationSerializer = class {
|
|
812
812
|
constructor(basePath, useLegacyIds, fs = getFileSystem3()) {
|
|
@@ -899,4 +899,4 @@ export {
|
|
|
899
899
|
* Use of this source code is governed by an MIT-style license that can be
|
|
900
900
|
* found in the LICENSE file at https://angular.io/license
|
|
901
901
|
*/
|
|
902
|
-
//# sourceMappingURL=chunk-
|
|
902
|
+
//# sourceMappingURL=chunk-B2TZRIF5.js.map
|
|
File without changes
|
|
@@ -13,9 +13,9 @@ import {
|
|
|
13
13
|
unwrapMessagePartsFromLocalizeCall,
|
|
14
14
|
unwrapMessagePartsFromTemplateLiteral,
|
|
15
15
|
unwrapSubstitutionsFromLocalizeCall
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N3C6NOYD.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs
|
|
19
19
|
import { getFileSystem } from "@angular/compiler-cli/private/localize";
|
|
20
20
|
function makeEs2015TranslatePlugin(diagnostics, translations, { missingTranslation = "error", localizeName = "$localize" } = {}, fs = getFileSystem()) {
|
|
21
21
|
return {
|
|
@@ -40,7 +40,7 @@ function makeEs2015TranslatePlugin(diagnostics, translations, { missingTranslati
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
// bazel-out/
|
|
43
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs
|
|
44
44
|
import { getFileSystem as getFileSystem2 } from "@angular/compiler-cli/private/localize";
|
|
45
45
|
function makeEs5TranslatePlugin(diagnostics, translations, { missingTranslation = "error", localizeName = "$localize" } = {}, fs = getFileSystem2()) {
|
|
46
46
|
return {
|
|
@@ -66,7 +66,7 @@ function makeEs5TranslatePlugin(diagnostics, translations, { missingTranslation
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
// bazel-out/
|
|
69
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs
|
|
70
70
|
function makeLocalePlugin(locale, { localizeName = "$localize" } = {}) {
|
|
71
71
|
return {
|
|
72
72
|
visitor: {
|
|
@@ -105,13 +105,9 @@ function isLocalizeGuard(expression, localizeName) {
|
|
|
105
105
|
return left.isUnaryExpression({ operator: "typeof" }) && isLocalize(left.get("argument"), localizeName) && right.isStringLiteral({ value: "undefined" }) || right.isUnaryExpression({ operator: "typeof" }) && isLocalize(right.get("argument"), localizeName) && left.isStringLiteral({ value: "undefined" });
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs
|
|
109
109
|
import { \u0275parseTranslation } from "@angular/localize";
|
|
110
110
|
var ArbTranslationParser = class {
|
|
111
|
-
canParse(filePath, contents) {
|
|
112
|
-
const result = this.analyze(filePath, contents);
|
|
113
|
-
return result.canParse && result.hint;
|
|
114
|
-
}
|
|
115
111
|
analyze(_filePath, contents) {
|
|
116
112
|
const diagnostics = new Diagnostics();
|
|
117
113
|
if (!contents.includes('"@@locale"')) {
|
|
@@ -148,14 +144,10 @@ var ArbTranslationParser = class {
|
|
|
148
144
|
}
|
|
149
145
|
};
|
|
150
146
|
|
|
151
|
-
// bazel-out/
|
|
147
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs
|
|
152
148
|
import { \u0275parseTranslation as \u0275parseTranslation2 } from "@angular/localize";
|
|
153
149
|
import { extname } from "path";
|
|
154
150
|
var SimpleJsonTranslationParser = class {
|
|
155
|
-
canParse(filePath, contents) {
|
|
156
|
-
const result = this.analyze(filePath, contents);
|
|
157
|
-
return result.canParse && result.hint;
|
|
158
|
-
}
|
|
159
151
|
analyze(filePath, contents) {
|
|
160
152
|
const diagnostics = new Diagnostics();
|
|
161
153
|
if (extname(filePath) !== ".json" || !(contents.includes('"locale"') && contents.includes('"translations"'))) {
|
|
@@ -197,10 +189,10 @@ var SimpleJsonTranslationParser = class {
|
|
|
197
189
|
}
|
|
198
190
|
};
|
|
199
191
|
|
|
200
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs
|
|
201
193
|
import { ParseErrorLevel as ParseErrorLevel3, visitAll as visitAll2 } from "@angular/compiler";
|
|
202
194
|
|
|
203
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs
|
|
204
196
|
var BaseVisitor = class {
|
|
205
197
|
visitElement(_element, _context) {
|
|
206
198
|
}
|
|
@@ -216,10 +208,10 @@ var BaseVisitor = class {
|
|
|
216
208
|
}
|
|
217
209
|
};
|
|
218
210
|
|
|
219
|
-
// bazel-out/
|
|
211
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs
|
|
220
212
|
import { Element as Element2, visitAll } from "@angular/compiler";
|
|
221
213
|
|
|
222
|
-
// bazel-out/
|
|
214
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs
|
|
223
215
|
import { ParseErrorLevel } from "@angular/compiler";
|
|
224
216
|
var TranslationParseError = class extends Error {
|
|
225
217
|
constructor(span, msg, level = ParseErrorLevel.ERROR) {
|
|
@@ -241,7 +233,7 @@ At ${span.start}${span.details ? `, ${span.details}` : ""}:
|
|
|
241
233
|
return msg;
|
|
242
234
|
}
|
|
243
235
|
|
|
244
|
-
// bazel-out/
|
|
236
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs
|
|
245
237
|
import { Element, ParseError, ParseErrorLevel as ParseErrorLevel2, XmlParser } from "@angular/compiler";
|
|
246
238
|
function getAttrOrThrow(element, attrName) {
|
|
247
239
|
const attrValue = getAttribute(element, attrName);
|
|
@@ -317,7 +309,7 @@ function addErrorsToBundle(bundle, errors) {
|
|
|
317
309
|
}
|
|
318
310
|
}
|
|
319
311
|
|
|
320
|
-
// bazel-out/
|
|
312
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs
|
|
321
313
|
var MessageSerializer = class extends BaseVisitor {
|
|
322
314
|
constructor(renderer, config) {
|
|
323
315
|
super();
|
|
@@ -379,7 +371,7 @@ var MessageSerializer = class extends BaseVisitor {
|
|
|
379
371
|
}
|
|
380
372
|
};
|
|
381
373
|
|
|
382
|
-
// bazel-out/
|
|
374
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs
|
|
383
375
|
import { \u0275makeParsedTranslation } from "@angular/localize";
|
|
384
376
|
var TargetMessageRenderer = class {
|
|
385
377
|
constructor() {
|
|
@@ -437,7 +429,7 @@ var TargetMessageRenderer = class {
|
|
|
437
429
|
}
|
|
438
430
|
};
|
|
439
431
|
|
|
440
|
-
// bazel-out/
|
|
432
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs
|
|
441
433
|
function serializeTranslationMessage(element, config) {
|
|
442
434
|
const { rootNodes, errors: parseErrors } = parseInnerRange(element);
|
|
443
435
|
try {
|
|
@@ -449,21 +441,13 @@ function serializeTranslationMessage(element, config) {
|
|
|
449
441
|
}
|
|
450
442
|
}
|
|
451
443
|
|
|
452
|
-
// bazel-out/
|
|
444
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs
|
|
453
445
|
var Xliff1TranslationParser = class {
|
|
454
|
-
canParse(filePath, contents) {
|
|
455
|
-
const result = this.analyze(filePath, contents);
|
|
456
|
-
return result.canParse && result.hint;
|
|
457
|
-
}
|
|
458
446
|
analyze(filePath, contents) {
|
|
459
447
|
return canParseXml(filePath, contents, "xliff", { version: "1.2" });
|
|
460
448
|
}
|
|
461
449
|
parse(filePath, contents, hint) {
|
|
462
|
-
|
|
463
|
-
return this.extractBundle(hint);
|
|
464
|
-
} else {
|
|
465
|
-
return this.extractBundleDeprecated(filePath, contents);
|
|
466
|
-
}
|
|
450
|
+
return this.extractBundle(hint);
|
|
467
451
|
}
|
|
468
452
|
extractBundle({ element, errors }) {
|
|
469
453
|
const diagnostics = new Diagnostics();
|
|
@@ -494,18 +478,6 @@ var Xliff1TranslationParser = class {
|
|
|
494
478
|
}
|
|
495
479
|
return bundle;
|
|
496
480
|
}
|
|
497
|
-
extractBundleDeprecated(filePath, contents) {
|
|
498
|
-
const hint = this.canParse(filePath, contents);
|
|
499
|
-
if (!hint) {
|
|
500
|
-
throw new Error(`Unable to parse "${filePath}" as XLIFF 1.2 format.`);
|
|
501
|
-
}
|
|
502
|
-
const bundle = this.extractBundle(hint);
|
|
503
|
-
if (bundle.diagnostics.hasErrors) {
|
|
504
|
-
const message = bundle.diagnostics.formatDiagnostics(`Failed to parse "${filePath}" as XLIFF 1.2 format`);
|
|
505
|
-
throw new Error(message);
|
|
506
|
-
}
|
|
507
|
-
return bundle;
|
|
508
|
-
}
|
|
509
481
|
};
|
|
510
482
|
var XliffTranslationVisitor = class extends BaseVisitor {
|
|
511
483
|
visitElement(element, bundle) {
|
|
@@ -546,22 +518,14 @@ var XliffTranslationVisitor = class extends BaseVisitor {
|
|
|
546
518
|
}
|
|
547
519
|
};
|
|
548
520
|
|
|
549
|
-
// bazel-out/
|
|
521
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs
|
|
550
522
|
import { Element as Element3, ParseErrorLevel as ParseErrorLevel4, visitAll as visitAll3 } from "@angular/compiler";
|
|
551
523
|
var Xliff2TranslationParser = class {
|
|
552
|
-
canParse(filePath, contents) {
|
|
553
|
-
const result = this.analyze(filePath, contents);
|
|
554
|
-
return result.canParse && result.hint;
|
|
555
|
-
}
|
|
556
524
|
analyze(filePath, contents) {
|
|
557
525
|
return canParseXml(filePath, contents, "xliff", { version: "2.0" });
|
|
558
526
|
}
|
|
559
527
|
parse(filePath, contents, hint) {
|
|
560
|
-
|
|
561
|
-
return this.extractBundle(hint);
|
|
562
|
-
} else {
|
|
563
|
-
return this.extractBundleDeprecated(filePath, contents);
|
|
564
|
-
}
|
|
528
|
+
return this.extractBundle(hint);
|
|
565
529
|
}
|
|
566
530
|
extractBundle({ element, errors }) {
|
|
567
531
|
const diagnostics = new Diagnostics();
|
|
@@ -580,18 +544,6 @@ var Xliff2TranslationParser = class {
|
|
|
580
544
|
}
|
|
581
545
|
return bundle;
|
|
582
546
|
}
|
|
583
|
-
extractBundleDeprecated(filePath, contents) {
|
|
584
|
-
const hint = this.canParse(filePath, contents);
|
|
585
|
-
if (!hint) {
|
|
586
|
-
throw new Error(`Unable to parse "${filePath}" as XLIFF 2.0 format.`);
|
|
587
|
-
}
|
|
588
|
-
const bundle = this.extractBundle(hint);
|
|
589
|
-
if (bundle.diagnostics.hasErrors) {
|
|
590
|
-
const message = bundle.diagnostics.formatDiagnostics(`Failed to parse "${filePath}" as XLIFF 2.0 format`);
|
|
591
|
-
throw new Error(message);
|
|
592
|
-
}
|
|
593
|
-
return bundle;
|
|
594
|
-
}
|
|
595
547
|
};
|
|
596
548
|
var Xliff2TranslationVisitor = class extends BaseVisitor {
|
|
597
549
|
visitElement(element, { bundle, unit }) {
|
|
@@ -645,14 +597,10 @@ function isFileElement(node) {
|
|
|
645
597
|
return node instanceof Element3 && node.name === "file";
|
|
646
598
|
}
|
|
647
599
|
|
|
648
|
-
// bazel-out/
|
|
600
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs
|
|
649
601
|
import { ParseErrorLevel as ParseErrorLevel5, visitAll as visitAll4 } from "@angular/compiler";
|
|
650
602
|
import { extname as extname2 } from "path";
|
|
651
603
|
var XtbTranslationParser = class {
|
|
652
|
-
canParse(filePath, contents) {
|
|
653
|
-
const result = this.analyze(filePath, contents);
|
|
654
|
-
return result.canParse && result.hint;
|
|
655
|
-
}
|
|
656
604
|
analyze(filePath, contents) {
|
|
657
605
|
const extension = extname2(filePath);
|
|
658
606
|
if (extension !== ".xtb" && extension !== ".xmb") {
|
|
@@ -663,11 +611,7 @@ var XtbTranslationParser = class {
|
|
|
663
611
|
return canParseXml(filePath, contents, "translationbundle", {});
|
|
664
612
|
}
|
|
665
613
|
parse(filePath, contents, hint) {
|
|
666
|
-
|
|
667
|
-
return this.extractBundle(hint);
|
|
668
|
-
} else {
|
|
669
|
-
return this.extractBundleDeprecated(filePath, contents);
|
|
670
|
-
}
|
|
614
|
+
return this.extractBundle(hint);
|
|
671
615
|
}
|
|
672
616
|
extractBundle({ element, errors }) {
|
|
673
617
|
const langAttr = element.attrs.find((attr) => attr.name === "lang");
|
|
@@ -681,18 +625,6 @@ var XtbTranslationParser = class {
|
|
|
681
625
|
visitAll4(bundleVisitor, element.children, bundle);
|
|
682
626
|
return bundle;
|
|
683
627
|
}
|
|
684
|
-
extractBundleDeprecated(filePath, contents) {
|
|
685
|
-
const hint = this.canParse(filePath, contents);
|
|
686
|
-
if (!hint) {
|
|
687
|
-
throw new Error(`Unable to parse "${filePath}" as XMB/XTB format.`);
|
|
688
|
-
}
|
|
689
|
-
const bundle = this.extractBundle(hint);
|
|
690
|
-
if (bundle.diagnostics.hasErrors) {
|
|
691
|
-
const message = bundle.diagnostics.formatDiagnostics(`Failed to parse "${filePath}" as XMB/XTB format`);
|
|
692
|
-
throw new Error(message);
|
|
693
|
-
}
|
|
694
|
-
return bundle;
|
|
695
|
-
}
|
|
696
628
|
};
|
|
697
629
|
var XtbVisitor = class extends BaseVisitor {
|
|
698
630
|
visitElement(element, bundle) {
|
|
@@ -743,4 +675,4 @@ export {
|
|
|
743
675
|
* Use of this source code is governed by an MIT-style license that can be
|
|
744
676
|
* found in the LICENSE file at https://angular.io/license
|
|
745
677
|
*/
|
|
746
|
-
//# sourceMappingURL=chunk-
|
|
678
|
+
//# sourceMappingURL=chunk-HS5BMNX3.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../../../../packages/localize/tools/src/translate/source_files/es2015_translate_plugin.ts", "../../../../../../../packages/localize/tools/src/translate/source_files/es5_translate_plugin.ts", "../../../../../../../packages/localize/tools/src/translate/source_files/locale_plugin.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/base_visitor.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAOA;AAPA,AAoBM,mCACF,aAA0B,cAC1B,EAAC,qBAAqB,SAAS,eAAe,gBAAuC,CAAA,GACrF,KAAuB,cAAa,GAAE;AACxC,SAAO;IACL,SAAS;MACP,yBAAyB,MAA0C;AACjE,YAAI;AACF,gBAAM,MAAM,KAAK,IAAI,KAAK;AAC1B,cAAI,WAAW,KAAK,YAAY,GAAG;AACjC,kBAAM,CAAC,gBACH,sCAAsC,KAAK,IAAI,OAAO,EAAE,IAAI,QAAQ,GAAG,EAAE;AAC7E,kBAAM,aAAa,UACf,aAAa,cAAc,cAAc,KAAK,KAAK,MAAM,aACzD,kBAAkB;AACtB,iBAAK,YAAY,yBAAyB,WAAW,IAAI,WAAW,EAAE,CAAC;;iBAElE,GAAP;AACA,cAAI,kBAAkB,CAAC,GAAG;AAIxB,kBAAM,oBAAoB,IAAI,MAAM,CAAC;iBAChC;AACL,kBAAM;;;MAGZ;;;AAGN;;;AC3CA;AAPA,AAoBM,gCACF,aAA0B,cAC1B,EAAC,qBAAqB,SAAS,eAAe,gBAAuC,CAAA,GACrF,KAAuB,eAAa,GAAE;AACxC,SAAO;IACL,SAAS;MACP,eAAe,UAAoC;AACjD,YAAI;AACF,gBAAM,aAAa,SAAS,IAAI,QAAQ;AACxC,cAAI,WAAW,YAAY,YAAY,GAAG;AACxC,kBAAM,CAAC,gBAAgB,mCAAmC,UAAU,EAAE;AACtE,kBAAM,CAAC,eAAe,oCAAoC,UAAU,EAAE;AACtE,kBAAM,aACF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B;;AAGF,cAAM,EAAC,aAAa,aAAa,oBAAmB,4BAChD,SAAS,EAAC,gBAAgB,CAAA,GAAI,aAAa,EAAC,aAAa,MAAM,eAAe,OAAM,EAAC,CAAC;AAC1F,YAAI,YAAY,QAAQ;AAGtB,iBAAO,YAAY,KAAK,oBAAoB,IAAI,WAAW,CAAC;mBACnD,gBAAgB,MAAM;AAE/B,iBAAO,aAAa,MAAM;;AAE5B,0BAAkB,QAAQ,eAAe;AACzC;;AAGA,2BACI,OAAO,aAAa,QAAQ,YAAY,eAAe,QAAQ,cAC/D,iBAAgB,KAAK;;EAE/B;;AAGF,6BAA6B,IAAY,QAAoB;AAC3D,QAAM,MAAM,OAAO,IAAI,OAAK,EAAE,SAAQ,CAAE,EAAE,KAAK,IAAI;AACnD,SAAO,oCAAoC;IACvC;AACN;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {createRequire as __cjsCompatRequire} from 'module';
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
|
-
// bazel-out/
|
|
5
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs
|
|
6
6
|
var Diagnostics = class {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.messages = [];
|
|
@@ -37,11 +37,11 @@ var Diagnostics = class {
|
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
// bazel-out/
|
|
40
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs
|
|
41
41
|
import { getFileSystem } from "@angular/compiler-cli/private/localize";
|
|
42
42
|
import { \u0275isMissingTranslationError, \u0275makeTemplateObject, \u0275translate } from "@angular/localize";
|
|
43
43
|
|
|
44
|
-
// bazel-out/
|
|
44
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs
|
|
45
45
|
import * as _babelNamespace from "@babel/core";
|
|
46
46
|
import _babelDefault from "@babel/core";
|
|
47
47
|
var _a;
|
|
@@ -56,7 +56,7 @@ var transformSync = babel.transformSync;
|
|
|
56
56
|
var parseSync = babel.parseSync;
|
|
57
57
|
var transformFromAstSync = babel.transformFromAstSync;
|
|
58
58
|
|
|
59
|
-
// bazel-out/
|
|
59
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs
|
|
60
60
|
function isLocalize(expression, localizeName) {
|
|
61
61
|
return isNamedIdentifier(expression, localizeName) && isGlobalIdentifier(expression);
|
|
62
62
|
}
|
|
@@ -340,4 +340,4 @@ export {
|
|
|
340
340
|
* Use of this source code is governed by an MIT-style license that can be
|
|
341
341
|
* found in the LICENSE file at https://angular.io/license
|
|
342
342
|
*/
|
|
343
|
-
//# sourceMappingURL=chunk-
|
|
343
|
+
//# sourceMappingURL=chunk-N3C6NOYD.js.map
|
|
File without changes
|
package/tools/bundles/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
Xliff2TranslationSerializer,
|
|
12
12
|
XmbTranslationSerializer,
|
|
13
13
|
checkDuplicateMessages
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-B2TZRIF5.js";
|
|
15
15
|
import {
|
|
16
16
|
ArbTranslationParser,
|
|
17
17
|
SimpleJsonTranslationParser,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
makeEs2015TranslatePlugin,
|
|
22
22
|
makeEs5TranslatePlugin,
|
|
23
23
|
makeLocalePlugin
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HS5BMNX3.js";
|
|
25
25
|
import {
|
|
26
26
|
Diagnostics,
|
|
27
27
|
buildLocalizeReplacement,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
unwrapMessagePartsFromLocalizeCall,
|
|
32
32
|
unwrapMessagePartsFromTemplateLiteral,
|
|
33
33
|
unwrapSubstitutionsFromLocalizeCall
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-N3C6NOYD.js";
|
|
35
35
|
|
|
36
|
-
// bazel-out/
|
|
36
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs
|
|
37
37
|
import { NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize";
|
|
38
38
|
setFileSystem(new NodeJSFileSystem());
|
|
39
39
|
export {
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
XmbTranslationSerializer,
|
|
14
14
|
checkDuplicateMessages,
|
|
15
15
|
parseFormatOptions
|
|
16
|
-
} from "../../chunk-
|
|
17
|
-
import "../../chunk-
|
|
16
|
+
} from "../../chunk-B2TZRIF5.js";
|
|
17
|
+
import "../../chunk-N3C6NOYD.js";
|
|
18
18
|
|
|
19
|
-
// bazel-out/
|
|
19
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs
|
|
20
20
|
import { ConsoleLogger, LogLevel, NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize";
|
|
21
21
|
import glob from "glob";
|
|
22
22
|
import yargs from "yargs";
|
|
23
23
|
|
|
24
|
-
// bazel-out/
|
|
24
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs
|
|
25
25
|
function extractTranslations({ rootPath: rootPath2, sourceFilePaths: sourceFilePaths2, sourceLocale, format: format2, outputPath: output, logger: logger2, useSourceMaps, useLegacyIds, duplicateMessageHandling: duplicateMessageHandling2, formatOptions: formatOptions2 = {}, fileSystem: fs }) {
|
|
26
26
|
const basePath = fs.resolve(rootPath2);
|
|
27
27
|
const extractor = new MessageExtractor(fs, logger2, { basePath, useSourceMaps });
|
|
@@ -64,7 +64,7 @@ function getSerializer(format2, sourceLocale, rootPath2, useLegacyIds, formatOpt
|
|
|
64
64
|
throw new Error(`No translation serializer can handle the provided format: ${format2}`);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
// bazel-out/
|
|
67
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs
|
|
68
68
|
process.title = "Angular Localization Message Extractor (localize-extract)";
|
|
69
69
|
var args = process.argv.slice(2);
|
|
70
70
|
var options = yargs(args).option("l", {
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
const require = __cjsCompatRequire(import.meta.url);
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
// bazel-out/
|
|
7
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs
|
|
8
8
|
import { ConsoleLogger, LogLevel, NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize";
|
|
9
9
|
import glob from "glob";
|
|
10
10
|
import yargs from "yargs";
|
|
11
11
|
|
|
12
|
-
// bazel-out/
|
|
12
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs
|
|
13
13
|
import { getFileSystem } from "@angular/compiler-cli/private/localize";
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs
|
|
16
16
|
function migrateFile(sourceCode, mapping) {
|
|
17
17
|
const legacyIds = Object.keys(mapping);
|
|
18
18
|
for (const legacyId of legacyIds) {
|
|
@@ -26,7 +26,7 @@ function escapeRegExp(str) {
|
|
|
26
26
|
return str.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1");
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
// bazel-out/
|
|
29
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs
|
|
30
30
|
function migrateFiles({ rootPath: rootPath2, translationFilePaths: translationFilePaths2, mappingFilePath, logger: logger2 }) {
|
|
31
31
|
const fs2 = getFileSystem();
|
|
32
32
|
const absoluteMappingPath = fs2.resolve(rootPath2, mappingFilePath);
|
|
@@ -42,7 +42,7 @@ function migrateFiles({ rootPath: rootPath2, translationFilePaths: translationFi
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// bazel-out/
|
|
45
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs
|
|
46
46
|
var args = process.argv.slice(2);
|
|
47
47
|
var options = yargs(args).option("r", {
|
|
48
48
|
alias: "root",
|
|
@@ -12,28 +12,28 @@ import {
|
|
|
12
12
|
makeEs2015TranslatePlugin,
|
|
13
13
|
makeEs5TranslatePlugin,
|
|
14
14
|
makeLocalePlugin
|
|
15
|
-
} from "../../chunk-
|
|
15
|
+
} from "../../chunk-HS5BMNX3.js";
|
|
16
16
|
import {
|
|
17
17
|
Diagnostics,
|
|
18
18
|
parseSync,
|
|
19
19
|
transformFromAstSync
|
|
20
|
-
} from "../../chunk-
|
|
20
|
+
} from "../../chunk-N3C6NOYD.js";
|
|
21
21
|
|
|
22
|
-
// bazel-out/
|
|
22
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs
|
|
23
23
|
import { NodeJSFileSystem, setFileSystem } from "@angular/compiler-cli/private/localize";
|
|
24
24
|
import glob from "glob";
|
|
25
25
|
import yargs from "yargs";
|
|
26
26
|
|
|
27
|
-
// bazel-out/
|
|
27
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs
|
|
28
28
|
function getOutputPathFn(fs2, outputFolder) {
|
|
29
29
|
const [pre, post] = outputFolder.split("{{LOCALE}}");
|
|
30
30
|
return post === void 0 ? (_locale, relativePath) => fs2.join(pre, relativePath) : (locale, relativePath) => fs2.join(pre + locale + post, relativePath);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs
|
|
34
34
|
import { getFileSystem, relativeFrom } from "@angular/compiler-cli/private/localize";
|
|
35
35
|
|
|
36
|
-
// bazel-out/
|
|
36
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs
|
|
37
37
|
import { absoluteFrom } from "@angular/compiler-cli/private/localize";
|
|
38
38
|
var AssetTranslationHandler = class {
|
|
39
39
|
constructor(fs2) {
|
|
@@ -61,7 +61,7 @@ var AssetTranslationHandler = class {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
// bazel-out/
|
|
64
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs
|
|
65
65
|
import { absoluteFrom as absoluteFrom2 } from "@angular/compiler-cli/private/localize";
|
|
66
66
|
var SourceFileTranslationHandler = class {
|
|
67
67
|
constructor(fs2, translationOptions = {}) {
|
|
@@ -128,7 +128,7 @@ var SourceFileTranslationHandler = class {
|
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
|
|
131
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs
|
|
132
132
|
var TranslationLoader = class {
|
|
133
133
|
constructor(fs2, translationParsers, duplicateTranslation2, diagnostics2) {
|
|
134
134
|
this.fs = fs2;
|
|
@@ -198,7 +198,7 @@ ${parser.constructor.name} cannot parse translation file.`));
|
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
200
|
|
|
201
|
-
// bazel-out/
|
|
201
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs
|
|
202
202
|
var Translator = class {
|
|
203
203
|
constructor(fs2, resourceHandlers, diagnostics2) {
|
|
204
204
|
this.fs = fs2;
|
|
@@ -220,7 +220,7 @@ var Translator = class {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs
|
|
224
224
|
function translateFiles({ sourceRootPath: sourceRootPath2, sourceFilePaths: sourceFilePaths2, translationFilePaths: translationFilePaths2, translationFileLocales: translationFileLocales2, outputPathFn: outputPathFn2, diagnostics: diagnostics2, missingTranslation: missingTranslation2, duplicateTranslation: duplicateTranslation2, sourceLocale: sourceLocale2 }) {
|
|
225
225
|
const fs2 = getFileSystem();
|
|
226
226
|
const translationLoader = new TranslationLoader(fs2, [
|
|
@@ -240,7 +240,7 @@ function translateFiles({ sourceRootPath: sourceRootPath2, sourceFilePaths: sour
|
|
|
240
240
|
resourceProcessor.translateFiles(sourceFilePaths2.map(relativeFrom), fs2.resolve(sourceRootPath2), outputPathFn2, translations, sourceLocale2);
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs
|
|
244
244
|
process.title = "Angular Localization Message Translator (localize-translate)";
|
|
245
245
|
var args = process.argv.slice(2);
|
|
246
246
|
var options = yargs(args).option("r", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytes":5389,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/babel_core.mjs":{"bytes":7508,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytes":54942,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytes":7026,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytes":4652,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytes":6418,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytes":16615,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytes":8404,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytes":10933,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytes":3374,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytes":5351,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytes":5222,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytes":20328,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytes":9339,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytes":28295,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytes":28477,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytes":15548,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytes":6575,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytes":6134,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytes":12061,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytes":9055,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytes":10194,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytes":2396,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytes":3507,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytes":18490,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytes":12319,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytes":6780,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytes":3680,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytes":20945,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytes":20464,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytes":16229,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.mjs":{"bytes":7332,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytes":12788,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytes":13116,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytes":2964,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytes":4899,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytes":5580,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytes":2977,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytes":5487,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytes":15256,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytes":17983,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytes":7657,"imports":[]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytes":11639,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs","kind":"import-statement"}]},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytes":15353,"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":197},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/index.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-BWW7SSDP.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-4L7Z6EUH.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js","kind":"import-statement"}],"exports":["ArbTranslationParser","ArbTranslationSerializer","Diagnostics","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationParser","SimpleJsonTranslationSerializer","Xliff1TranslationParser","Xliff1TranslationSerializer","Xliff2TranslationParser","Xliff2TranslationSerializer","XmbTranslationSerializer","XtbTranslationParser","buildLocalizeReplacement","checkDuplicateMessages","isGlobalIdentifier","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin","translate","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/index.mjs":{"bytesInOutput":129}},"bytes":2058},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2521},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-BWW7SSDP.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytesInOutput":3053},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytesInOutput":2103}},"bytes":6133},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-BWW7SSDP.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":18761},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-BWW7SSDP.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js","kind":"import-statement"}],"exports":["ArbTranslationSerializer","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationSerializer","Xliff1TranslationSerializer","Xliff2TranslationSerializer","XmbTranslationSerializer","checkDuplicateMessages","parseFormatOptions"],"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytesInOutput":1244},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytesInOutput":3071},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytesInOutput":836},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytesInOutput":1123},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytesInOutput":1180},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytesInOutput":1945},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytesInOutput":412},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytesInOutput":925},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytesInOutput":760},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytesInOutput":5337},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytesInOutput":2268},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytesInOutput":1984},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytesInOutput":5552},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytesInOutput":2772}},"bytes":32262},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":1483},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytesInOutput":1154},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytesInOutput":829},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytesInOutput":405}},"bytes":3206},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7178},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-4L7Z6EUH.js","kind":"import-statement"},{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs","inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytesInOutput":3502},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytesInOutput":259},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytesInOutput":1423},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytesInOutput":978},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytesInOutput":3019},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytesInOutput":3415},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytesInOutput":884}},"bytes":15119},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-4L7Z6EUH.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":16816},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-4L7Z6EUH.js":{"imports":[{"path":"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js","kind":"import-statement"}],"exports":["ArbTranslationParser","SimpleJsonTranslationParser","Xliff1TranslationParser","Xliff2TranslationParser","XtbTranslationParser","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin"],"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytesInOutput":926},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytesInOutput":1021},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytesInOutput":1679},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytesInOutput":1276},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytesInOutput":1952},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytesInOutput":4196},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytesInOutput":289},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytesInOutput":2396},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytesInOutput":558},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytesInOutput":3101},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytesInOutput":1284},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytesInOutput":428},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytesInOutput":4243},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytesInOutput":3169}},"bytes":29601},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7199},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/bundles/chunk-FFZU53GH.js":{"imports":[],"exports":["Diagnostics","buildCodeFrameError","buildLocalizeReplacement","getLocation","isBabelParseError","isGlobalIdentifier","isLocalize","isNamedIdentifier","parseSync","serializeLocationPosition","transformFromAstSync","transformSync","translate","types","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"inputs":{"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytesInOutput":906},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytesInOutput":10400},"bazel-out/darwin_arm64-fastbuild/bin/packages/localize/tools/src/babel_core.mjs":{"bytesInOutput":472}},"bytes":12948}}}
|
|
1
|
+
{"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytes":5389,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs":{"bytes":7508,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytes":54942,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytes":7026,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytes":4652,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytes":6418,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytes":16615,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytes":8404,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytes":10933,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytes":3374,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytes":5351,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytes":5222,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytes":20328,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytes":9339,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytes":28295,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytes":28477,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytes":15548,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytes":6575,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytes":6134,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytes":12061,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytes":8371,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytes":9510,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytes":2396,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytes":3507,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytes":18490,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytes":12319,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytes":6780,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytes":3680,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytes":17253,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytes":17591,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytes":13368,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs":{"bytes":7332,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytes":12788,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytes":13116,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytes":2964,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytes":4899,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytes":5580,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytes":2977,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytes":5487,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytes":15256,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytes":17983,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytes":7657,"imports":[]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytes":11639,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs","kind":"import-statement"}]},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytes":15353,"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs","kind":"import-statement"}]}},"outputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/index.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":197},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/index.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-B2TZRIF5.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-HS5BMNX3.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js","kind":"import-statement"}],"exports":["ArbTranslationParser","ArbTranslationSerializer","Diagnostics","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationParser","SimpleJsonTranslationSerializer","Xliff1TranslationParser","Xliff1TranslationSerializer","Xliff2TranslationParser","Xliff2TranslationSerializer","XmbTranslationSerializer","XtbTranslationParser","buildLocalizeReplacement","checkDuplicateMessages","isGlobalIdentifier","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin","translate","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/index.mjs":{"bytesInOutput":129}},"bytes":2048},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":2521},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/extract/cli.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-B2TZRIF5.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/cli.mjs":{"bytesInOutput":3053},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/index.mjs":{"bytesInOutput":2103}},"bytes":6103},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-B2TZRIF5.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":18761},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-B2TZRIF5.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js","kind":"import-statement"}],"exports":["ArbTranslationSerializer","LegacyMessageIdMigrationSerializer","MessageExtractor","SimpleJsonTranslationSerializer","Xliff1TranslationSerializer","Xliff2TranslationSerializer","XmbTranslationSerializer","checkDuplicateMessages","parseFormatOptions"],"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/duplicates.mjs":{"bytesInOutput":1244},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/extraction.mjs":{"bytesInOutput":3071},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es2015_extract_plugin.mjs":{"bytesInOutput":836},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/source_files/es5_extract_plugin.mjs":{"bytesInOutput":1123},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/utils.mjs":{"bytesInOutput":1180},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/arb_translation_serializer.mjs":{"bytesInOutput":1945},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/json_translation_serializer.mjs":{"bytesInOutput":412},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/legacy_message_id_migration_serializer.mjs":{"bytesInOutput":925},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/format_options.mjs":{"bytesInOutput":760},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff1_translation_serializer.mjs":{"bytesInOutput":5337},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/icu_parsing.mjs":{"bytesInOutput":2268},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xml_file.mjs":{"bytesInOutput":1984},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xliff2_translation_serializer.mjs":{"bytesInOutput":5552},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/extract/translation_files/xmb_translation_serializer.mjs":{"bytesInOutput":2772}},"bytes":32102},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":1483},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/migrate/cli.js":{"imports":[],"exports":[],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/cli.mjs":{"bytesInOutput":1154},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/index.mjs":{"bytesInOutput":829},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/migrate/migrate.mjs":{"bytesInOutput":405}},"bytes":3156},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7178},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/src/translate/cli.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-HS5BMNX3.js","kind":"import-statement"},{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js","kind":"import-statement"}],"exports":[],"entryPoint":"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs","inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/cli.mjs":{"bytesInOutput":3502},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/output_path.mjs":{"bytesInOutput":259},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/index.mjs":{"bytesInOutput":1423},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/asset_files/asset_translation_handler.mjs":{"bytesInOutput":978},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/source_file_translation_handler.mjs":{"bytesInOutput":3019},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_loader.mjs":{"bytesInOutput":3415},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translator.mjs":{"bytesInOutput":884}},"bytes":15029},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-HS5BMNX3.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":15415},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-HS5BMNX3.js":{"imports":[{"path":"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js","kind":"import-statement"}],"exports":["ArbTranslationParser","SimpleJsonTranslationParser","Xliff1TranslationParser","Xliff2TranslationParser","XtbTranslationParser","makeEs2015TranslatePlugin","makeEs5TranslatePlugin","makeLocalePlugin"],"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es2015_translate_plugin.mjs":{"bytesInOutput":926},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/es5_translate_plugin.mjs":{"bytesInOutput":1021},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/source_files/locale_plugin.mjs":{"bytesInOutput":1679},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.mjs":{"bytesInOutput":1143},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.mjs":{"bytesInOutput":1819},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.mjs":{"bytesInOutput":3504},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/base_visitor.mjs":{"bytesInOutput":289},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.mjs":{"bytesInOutput":2396},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.mjs":{"bytesInOutput":558},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.mjs":{"bytesInOutput":3101},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.mjs":{"bytesInOutput":1284},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.mjs":{"bytesInOutput":428},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.mjs":{"bytesInOutput":3551},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.mjs":{"bytesInOutput":2481}},"bytes":27103},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js.map":{"imports":[],"exports":[],"inputs":{},"bytes":7199},"bazel-out/k8-fastbuild/bin/packages/localize/tools/bundles/chunk-N3C6NOYD.js":{"imports":[],"exports":["Diagnostics","buildCodeFrameError","buildLocalizeReplacement","getLocation","isBabelParseError","isGlobalIdentifier","isLocalize","isNamedIdentifier","parseSync","serializeLocationPosition","transformFromAstSync","transformSync","translate","types","unwrapExpressionsFromTemplateLiteral","unwrapMessagePartsFromLocalizeCall","unwrapMessagePartsFromTemplateLiteral","unwrapSubstitutionsFromLocalizeCall"],"inputs":{"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/diagnostics.mjs":{"bytesInOutput":906},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/source_file_utils.mjs":{"bytesInOutput":10400},"bazel-out/k8-fastbuild/bin/packages/localize/tools/src/babel_core.mjs":{"bytesInOutput":472}},"bytes":12908}}}
|
package/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.d.ts
CHANGED
|
@@ -53,10 +53,6 @@ export interface ArbLocation {
|
|
|
53
53
|
* ```
|
|
54
54
|
*/
|
|
55
55
|
export declare class ArbTranslationParser implements TranslationParser<ArbJsonObject> {
|
|
56
|
-
/**
|
|
57
|
-
* @deprecated
|
|
58
|
-
*/
|
|
59
|
-
canParse(filePath: string, contents: string): ArbJsonObject | false;
|
|
60
56
|
analyze(_filePath: string, contents: string): ParseAnalysis<ArbJsonObject>;
|
|
61
57
|
parse(_filePath: string, contents: string, arb?: ArbJsonObject): ParsedTranslationBundle;
|
|
62
58
|
private tryParseArbFormat;
|
|
@@ -23,10 +23,6 @@ interface SimpleJsonFile {
|
|
|
23
23
|
* @publicApi used by CLI
|
|
24
24
|
*/
|
|
25
25
|
export declare class SimpleJsonTranslationParser implements TranslationParser<SimpleJsonFile> {
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated
|
|
28
|
-
*/
|
|
29
|
-
canParse(filePath: string, contents: string): SimpleJsonFile | false;
|
|
30
26
|
analyze(filePath: string, contents: string): ParseAnalysis<SimpleJsonFile>;
|
|
31
27
|
parse(_filePath: string, contents: string, json?: SimpleJsonFile): ParsedTranslationBundle;
|
|
32
28
|
}
|
|
@@ -39,32 +39,21 @@ export interface ParsedTranslationBundle {
|
|
|
39
39
|
/**
|
|
40
40
|
* Implement this interface to provide a class that can parse the contents of a translation file.
|
|
41
41
|
*
|
|
42
|
-
* The `
|
|
43
|
-
* parsing. This allows the parser to do significant work to determine if the file can be parsed
|
|
42
|
+
* The `analyze()` method can return a hint that can be used by the `parse()` method to speed
|
|
43
|
+
* up parsing. This allows the parser to do significant work to determine if the file can be parsed
|
|
44
44
|
* without duplicating the work when it comes to actually parsing the file.
|
|
45
45
|
*
|
|
46
46
|
* Example usage:
|
|
47
47
|
*
|
|
48
48
|
* ```
|
|
49
49
|
* const parser: TranslationParser = getParser();
|
|
50
|
-
* const
|
|
51
|
-
* if (
|
|
52
|
-
* return parser.parse(filePath, content,
|
|
50
|
+
* const analysis = parser.analyze(filePath, content);
|
|
51
|
+
* if (analysis.canParse) {
|
|
52
|
+
* return parser.parse(filePath, content, analysis.hint);
|
|
53
53
|
* }
|
|
54
54
|
* ```
|
|
55
55
|
*/
|
|
56
56
|
export interface TranslationParser<Hint = true> {
|
|
57
|
-
/**
|
|
58
|
-
* Can this parser parse the given file?
|
|
59
|
-
*
|
|
60
|
-
* @deprecated Use `analyze()` instead
|
|
61
|
-
*
|
|
62
|
-
* @param filePath The absolute path to the translation file.
|
|
63
|
-
* @param contents The contents of the translation file.
|
|
64
|
-
* @returns A hint, which can be used in doing the actual parsing, if the file can be parsed by
|
|
65
|
-
* this parser; false otherwise.
|
|
66
|
-
*/
|
|
67
|
-
canParse(filePath: string, contents: string): Hint | false;
|
|
68
57
|
/**
|
|
69
58
|
* Analyze the file to see if this parser can parse the given file.
|
|
70
59
|
*
|
|
@@ -82,22 +71,10 @@ export interface TranslationParser<Hint = true> {
|
|
|
82
71
|
* @param filePath The absolute path to the translation file.
|
|
83
72
|
* @param contents The contents of the translation file.
|
|
84
73
|
* @param hint A value that can be used by the parser to speed up parsing of the file. This will
|
|
85
|
-
* have been provided as the return result from calling `
|
|
74
|
+
* have been provided as the return result from calling `analyze()`.
|
|
86
75
|
* @returns The translation bundle parsed from the file.
|
|
87
76
|
* @throws No errors. If there was a problem with parsing the bundle will contain errors
|
|
88
77
|
* in the `diagnostics` property.
|
|
89
78
|
*/
|
|
90
79
|
parse(filePath: string, contents: string, hint: Hint): ParsedTranslationBundle;
|
|
91
|
-
/**
|
|
92
|
-
* Parses the given file, extracting the target locale and translations.
|
|
93
|
-
*
|
|
94
|
-
* @deprecated This overload is kept for backward compatibility. Going forward use the Hint
|
|
95
|
-
* returned from `canParse()` so that this method can avoid duplicating effort.
|
|
96
|
-
*
|
|
97
|
-
* @param filePath The absolute path to the translation file.
|
|
98
|
-
* @param contents The contents of the translation file.
|
|
99
|
-
* @returns The translation bundle parsed from the file.
|
|
100
|
-
* @throws An error if there was a problem parsing this file.
|
|
101
|
-
*/
|
|
102
|
-
parse(filePath: string, contents: string): ParsedTranslationBundle;
|
|
103
80
|
}
|
|
@@ -22,7 +22,7 @@ export declare function getAttribute(element: Element, attrName: string): string
|
|
|
22
22
|
*/
|
|
23
23
|
export declare function parseInnerRange(element: Element): ParseTreeResult;
|
|
24
24
|
/**
|
|
25
|
-
* This "hint" object is used to pass information from `
|
|
25
|
+
* This "hint" object is used to pass information from `analyze()` to `parse()` for
|
|
26
26
|
* `TranslationParser`s that expect XML contents.
|
|
27
27
|
*
|
|
28
28
|
* This saves the `parse()` method from having to re-parse the XML.
|
package/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.d.ts
CHANGED
|
@@ -11,12 +11,7 @@ import { XmlTranslationParserHint } from './translation_utils';
|
|
|
11
11
|
* @publicApi used by CLI
|
|
12
12
|
*/
|
|
13
13
|
export declare class Xliff1TranslationParser implements TranslationParser<XmlTranslationParserHint> {
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated
|
|
16
|
-
*/
|
|
17
|
-
canParse(filePath: string, contents: string): XmlTranslationParserHint | false;
|
|
18
14
|
analyze(filePath: string, contents: string): ParseAnalysis<XmlTranslationParserHint>;
|
|
19
|
-
parse(filePath: string, contents: string, hint
|
|
15
|
+
parse(filePath: string, contents: string, hint: XmlTranslationParserHint): ParsedTranslationBundle;
|
|
20
16
|
private extractBundle;
|
|
21
|
-
private extractBundleDeprecated;
|
|
22
17
|
}
|
package/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.d.ts
CHANGED
|
@@ -10,12 +10,7 @@ import { XmlTranslationParserHint } from './translation_utils';
|
|
|
10
10
|
* @publicApi used by CLI
|
|
11
11
|
*/
|
|
12
12
|
export declare class Xliff2TranslationParser implements TranslationParser<XmlTranslationParserHint> {
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated
|
|
15
|
-
*/
|
|
16
|
-
canParse(filePath: string, contents: string): XmlTranslationParserHint | false;
|
|
17
13
|
analyze(filePath: string, contents: string): ParseAnalysis<XmlTranslationParserHint>;
|
|
18
|
-
parse(filePath: string, contents: string, hint
|
|
14
|
+
parse(filePath: string, contents: string, hint: XmlTranslationParserHint): ParsedTranslationBundle;
|
|
19
15
|
private extractBundle;
|
|
20
|
-
private extractBundleDeprecated;
|
|
21
16
|
}
|
package/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.d.ts
CHANGED
|
@@ -10,12 +10,7 @@ import { XmlTranslationParserHint } from './translation_utils';
|
|
|
10
10
|
* @publicApi used by CLI
|
|
11
11
|
*/
|
|
12
12
|
export declare class XtbTranslationParser implements TranslationParser<XmlTranslationParserHint> {
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated
|
|
15
|
-
*/
|
|
16
|
-
canParse(filePath: string, contents: string): XmlTranslationParserHint | false;
|
|
17
13
|
analyze(filePath: string, contents: string): ParseAnalysis<XmlTranslationParserHint>;
|
|
18
|
-
parse(filePath: string, contents: string, hint
|
|
14
|
+
parse(filePath: string, contents: string, hint: XmlTranslationParserHint): ParsedTranslationBundle;
|
|
19
15
|
private extractBundle;
|
|
20
|
-
private extractBundleDeprecated;
|
|
21
16
|
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../../packages/localize/tools/src/translate/source_files/es2015_translate_plugin.ts", "../../../../../../../packages/localize/tools/src/translate/source_files/es5_translate_plugin.ts", "../../../../../../../packages/localize/tools/src/translate/source_files/locale_plugin.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/arb_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/simple_json_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/xliff1_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/base_visitor.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/message_serialization/message_serializer.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/translation_parse_error.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/translation_utils.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/message_serialization/target_message_renderer.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/serialize_translation_message.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/xliff2_translation_parser.ts", "../../../../../../../packages/localize/tools/src/translate/translation_files/translation_parsers/xtb_translation_parser.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAOA;AAPA,AAoBM,mCACF,aAA0B,cAC1B,EAAC,qBAAqB,SAAS,eAAe,gBAAuC,CAAA,GACrF,KAAuB,cAAa,GAAE;AACxC,SAAO;IACL,SAAS;MACP,yBAAyB,MAA0C;AACjE,YAAI;AACF,gBAAM,MAAM,KAAK,IAAI,KAAK;AAC1B,cAAI,WAAW,KAAK,YAAY,GAAG;AACjC,kBAAM,CAAC,gBACH,sCAAsC,KAAK,IAAI,OAAO,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