File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 16
16
},
17
17
"patternProperties" : {
18
18
".*_html$" : {
19
- "type" : " string" ,
20
- "description" : " Translation string that contains HTML. The '_html' suffix prevents the HTML content from being escaped."
19
+ "oneOf" : [
20
+ {
21
+ "type" : " string" ,
22
+ "description" : " A string that can contain HTML content, typically used for translations that include HTML tags."
23
+ },
24
+ {
25
+ "$ref" : " #/definitions/pluralizedString"
26
+ }
27
+ ]
21
28
}
22
29
},
23
30
"definitions" : {
Original file line number Diff line number Diff line change 5
5
"pluralized" : {
6
6
"one" : " {{ count }} thing" ,
7
7
"other" : " {{ count }} things"
8
+ },
9
+ "pluralized_html" : {
10
+ "one" : " <script>console.log</script> {{ count }} thing" ,
11
+ "other" : " <script>console.log</script> {{ count }} things"
8
12
}
9
13
}
10
14
}
You can’t perform that action at this time.
0 commit comments