summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/data/group-yaml-schema.yaml
blob: 445a7ab9aadf70de82d6241453c5640e980d56d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
root:
  _type: array
  _children:
    BASIC:
      _type: array
      _required: true
      _children:
        class:
          _type: text
          _not_empty: true
        codeBrowser:
          _type: text
        description:
          _type: text
        icon:
          _type: text
        id:
          _type: text
          _not_empty: true
        label:
          _type: text
          _not_empty: true
        meta:
          _type: boolean
        namespace:
          _type: text
        sourcelanguage:
          _type: text
          _description: defaults to "en"
        projectPage:
          _type: text
          _description: Title of the page that explains the group
        translatorCategory:
          _type: text
          _description: Name of the category for translators of this group
    MANGLER:
      _type: array
      _children:
        class:
          _type: text
          _not_empty: true
    CHECKER:
      _type: array
      _children:
        class:
          _type: text
          _not_empty: true
        checks:
          _type: prototype
          _prototype:
            _type: text
    INSERTABLES:
      _type: array
      _children:
        class: # for supplying one class
          _type: text
        classes: # for supplying multiple
          _type: prototype
          _prototype:
            _type: text
    TAGS:
      _type: prototype
      _prototype:
        _type: prototype
        _max_items: 99999 # default is 200, which is too little
        _prototype:
          _type: text
    AUTOLOAD:
      _type: array
      _ignore_extra_keys: true
      _children: []
    GROUPS:
      _type: prototype
      _min_items: 1
      _prototype:
        _type: text
    LANGUAGES:
      _type: array
      _children:
        whitelist:
          _type: prototype
          _prototype:
            _type: text
        blacklist:
          _type: prototype
          _prototype:
            _type: text