@gooddata/i18n-toolkit 10.35.0-alpha.13 → 10.35.0-alpha.14
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/esm/fixtures/en-US.json
CHANGED
|
@@ -1,39 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"properly.obj": {
|
|
3
3
|
"value": "test <span class='addon'>test</span>",
|
|
4
|
-
"comment": "test"
|
|
5
|
-
"limit": 0
|
|
4
|
+
"comment": "test"
|
|
6
5
|
},
|
|
7
6
|
"text.without.insight": {
|
|
8
7
|
"value": "Test text",
|
|
9
|
-
"comment": "test"
|
|
10
|
-
"limit": 0
|
|
8
|
+
"comment": "test"
|
|
11
9
|
},
|
|
12
10
|
"text.with.insight|insight": {
|
|
13
11
|
"value": "Test text with insight",
|
|
14
|
-
"comment": "test"
|
|
15
|
-
"limit": 0
|
|
12
|
+
"comment": "test"
|
|
16
13
|
},
|
|
17
14
|
"text.with.insight|report": {
|
|
18
15
|
"value": "Test text with report",
|
|
19
16
|
"comment": "test",
|
|
20
|
-
"limit": 0,
|
|
21
17
|
"translate": false
|
|
22
18
|
},
|
|
23
19
|
"text.with.1": {
|
|
24
20
|
"value": "Test text 1 2 3",
|
|
25
|
-
"comment": "test"
|
|
26
|
-
"limit": 0
|
|
21
|
+
"comment": "test"
|
|
27
22
|
},
|
|
28
23
|
"text.big.insight|insight": {
|
|
29
24
|
"value": "Test text with Insight",
|
|
30
|
-
"comment": "test"
|
|
31
|
-
"limit": 0
|
|
25
|
+
"comment": "test"
|
|
32
26
|
},
|
|
33
27
|
"text.big.insight|report": {
|
|
34
28
|
"value": "Test text with report",
|
|
35
29
|
"comment": "test",
|
|
36
|
-
"limit": 0,
|
|
37
30
|
"translate": false
|
|
38
31
|
}
|
|
39
32
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export type LocalesItem = {
|
|
2
2
|
value: string;
|
|
3
3
|
comment: string;
|
|
4
|
-
limit: number;
|
|
5
4
|
translate?: boolean;
|
|
6
5
|
};
|
|
7
6
|
export type LocalesStructure = Record<string, LocalesItem | string>;
|
|
@@ -23,9 +22,6 @@ export declare const LocalizationSchema: {
|
|
|
23
22
|
comment: {
|
|
24
23
|
type: string;
|
|
25
24
|
};
|
|
26
|
-
limit: {
|
|
27
|
-
type: string;
|
|
28
|
-
};
|
|
29
25
|
translate: {
|
|
30
26
|
type: string;
|
|
31
27
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"localization.d.ts","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,WAAW,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,CAAC;AAEpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoB9B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2020-
|
|
1
|
+
// (C) 2020-2025 GoodData Corporation
|
|
2
2
|
export const LocalizationSchema = {
|
|
3
3
|
type: "object",
|
|
4
4
|
patternProperties: {
|
|
@@ -10,10 +10,9 @@ export const LocalizationSchema = {
|
|
|
10
10
|
properties: {
|
|
11
11
|
value: { type: "string" },
|
|
12
12
|
comment: { type: "string" },
|
|
13
|
-
limit: { type: "number" },
|
|
14
13
|
translate: { type: "boolean" },
|
|
15
14
|
},
|
|
16
|
-
required: ["value", "comment"
|
|
15
|
+
required: ["value", "comment"],
|
|
17
16
|
additionalProperties: false,
|
|
18
17
|
},
|
|
19
18
|
],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"localization.js","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"localization.js","sourceRoot":"","sources":["../../src/schema/localization.ts"],"names":[],"mappings":"AAAA,qCAAqC;AASrC,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAC9B,IAAI,EAAE,QAAQ;IACd,iBAAiB,EAAE;QACf,MAAM,EAAE;YACJ,KAAK,EAAE;gBACH,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAClB;oBACI,IAAI,EAAE,QAAQ;oBACd,UAAU,EAAE;wBACR,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBACzB,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;wBAC3B,SAAS,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;qBACjC;oBACD,QAAQ,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC;oBAC9B,oBAAoB,EAAE,KAAK;iBAC9B;aACJ;SACJ;KACJ;IACD,oBAAoB,EAAE,KAAK;CAC9B,CAAC"}
|
package/package.json
CHANGED