|
5 | 5 | return [ |
6 | 6 | 'woo_base' => [ |
7 | 7 | 'id' => 'openwoo_metadata', |
8 | | - 'title' => __('Data', OWO_LANGUAGE_DOMAIN), |
| 8 | + 'title' => __('Data', 'openwoo'), |
9 | 9 | 'object_types' => ['openwoo-item'], |
10 | 10 | 'context' => 'normal', |
11 | 11 | 'priority' => 'high', |
12 | 12 | 'autosave' => true, |
13 | 13 | 'fields' => [ |
14 | 14 | 'general' => [ |
15 | 15 | [ |
16 | | - 'name' => __('Kenmerk *', OWO_LANGUAGE_DOMAIN), |
| 16 | + 'name' => __('Kenmerk *', 'openwoo'), |
17 | 17 | 'id' => 'woo_Kenmerk', |
18 | 18 | 'type' => 'text', |
19 | 19 | 'attributes' => [ |
20 | 20 | 'required' => 'required', |
21 | 21 | ], |
22 | 22 | ], |
23 | 23 | [ |
24 | | - 'name' => __('Samenvatting', OWO_LANGUAGE_DOMAIN), |
| 24 | + 'name' => __('Samenvatting', 'openwoo'), |
25 | 25 | 'id' => 'woo_Samenvatting', |
26 | 26 | 'type' => 'textarea', |
27 | 27 | ], |
28 | 28 | [ |
29 | | - 'name' => __('Onderwerp *', OWO_LANGUAGE_DOMAIN), |
| 29 | + 'name' => __('Onderwerp *', 'openwoo'), |
30 | 30 | 'id' => 'woo_Onderwerp', |
31 | 31 | 'type' => 'text', |
32 | 32 | 'attributes' => [ |
33 | 33 | 'required' => 'required', |
34 | 34 | ], |
35 | 35 | ], |
36 | 36 | [ |
37 | | - 'name' => __('Ontvanger informatieverzoek', OWO_LANGUAGE_DOMAIN), |
| 37 | + 'name' => __('Ontvanger informatieverzoek', 'openwoo'), |
38 | 38 | 'id' => 'woo_Ontvanger_informatieverzoek', |
39 | 39 | 'type' => 'text', |
40 | 40 |
|
41 | 41 | ], |
42 | 42 | [ |
43 | | - 'name' => __('Termijnoverschrijding', OWO_LANGUAGE_DOMAIN), |
| 43 | + 'name' => __('Termijnoverschrijding', 'openwoo'), |
44 | 44 | 'id'=> 'woo_Termijnoverschrijding', |
45 | 45 | 'type' => 'select', |
46 | 46 | 'options' => [ |
|
50 | 50 | ], |
51 | 51 | ], |
52 | 52 | [ |
53 | | - 'name' => __('Ontvangstdatum *', OWO_LANGUAGE_DOMAIN), |
| 53 | + 'name' => __('Ontvangstdatum *', 'openwoo'), |
54 | 54 | 'id' => 'woo_Ontvangstdatum', |
55 | 55 | 'type' => 'text_date', |
56 | 56 | 'date_format' => 'd-m-Y', |
|
60 | 60 | ], |
61 | 61 | ], |
62 | 62 | [ |
63 | | - 'name' => __('Besluitdatum *', OWO_LANGUAGE_DOMAIN), |
| 63 | + 'name' => __('Besluitdatum *', 'openwoo'), |
64 | 64 | 'id' => 'woo_Besluitdatum', |
65 | 65 | 'type' => 'text_date', |
66 | 66 | 'js_options' => [ |
|
78 | 78 | ], |
79 | 79 | ], |
80 | 80 | [ |
81 | | - 'name' => __('Besluit *', OWO_LANGUAGE_DOMAIN), |
| 81 | + 'name' => __('Besluit *', 'openwoo'), |
82 | 82 | 'id' => 'woo_Besluit', |
83 | 83 | 'type' => 'select', |
84 | 84 | 'options' => [ |
|
93 | 93 | ], |
94 | 94 | ], |
95 | 95 | [ |
96 | | - 'name' => __('Bijlage informatieverzoek', OWO_LANGUAGE_DOMAIN), |
| 96 | + 'name' => __('Bijlage informatieverzoek', 'openwoo'), |
97 | 97 | 'id' => 'woo_Bijlage_informatieverzoek', |
98 | 98 | 'type' => 'file', |
99 | 99 | 'options' => [ |
100 | 100 | 'url' => false, // Hide the text input for the url |
101 | 101 | ], |
102 | 102 | ], |
103 | 103 | [ |
104 | | - 'name' => __('Bijlage inventarisatielijst', OWO_LANGUAGE_DOMAIN), |
| 104 | + 'name' => __('Bijlage inventarisatielijst', 'openwoo'), |
105 | 105 | 'id' => 'woo_Bijlage_inventarisatielijst', |
106 | 106 | 'type' => 'file', |
107 | 107 | 'options' => [ |
108 | 108 | 'url' => false, // Hide the text input for the url |
109 | 109 | ], |
110 | 110 | ], |
111 | 111 | [ |
112 | | - 'name' => __('Bijlage besluit', OWO_LANGUAGE_DOMAIN), |
| 112 | + 'name' => __('Bijlage besluit', 'openwoo'), |
113 | 113 | 'id' => 'woo_Bijlage_besluit', |
114 | 114 | 'type' => 'file', |
115 | 115 | 'options' => [ |
116 | 116 | 'url' => false, // Hide the text input for the url |
117 | 117 | ], |
118 | 118 | ], |
119 | 119 | [ |
120 | | - 'name' => __('URL informatieverzoek', OWO_LANGUAGE_DOMAIN), |
| 120 | + 'name' => __('URL informatieverzoek', 'openwoo'), |
121 | 121 | 'id' => 'woo_URL_informatieverzoek', |
122 | 122 | 'type' => 'text_url', |
123 | 123 | ], |
124 | 124 | [ |
125 | | - 'name' => __('URL inventarisatielijst', OWO_LANGUAGE_DOMAIN), |
| 125 | + 'name' => __('URL inventarisatielijst', 'openwoo'), |
126 | 126 | 'id' => 'woo_URL_inventarisatielijst', |
127 | 127 | 'type' => 'text_url', |
128 | 128 | ], |
129 | 129 | [ |
130 | | - 'name' => __('URL besluit', OWO_LANGUAGE_DOMAIN), |
| 130 | + 'name' => __('URL besluit', 'openwoo'), |
131 | 131 | 'id' => 'woo_URL_besluit', |
132 | 132 | 'type' => 'text_url', |
133 | 133 | ], |
134 | 134 | [ |
135 | | - 'name' => __('Postcodegebied', OWO_LANGUAGE_DOMAIN), |
| 135 | + 'name' => __('Postcodegebied', 'openwoo'), |
136 | 136 | 'id' => 'woo_Postcodegebied', |
137 | 137 | 'type' => 'text', |
138 | 138 | ], |
139 | 139 | [ |
140 | 140 | 'id' => 'woo_Themas', |
141 | 141 | 'type' => 'group', |
142 | | - 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Thema\'s', OWO_LANGUAGE_DOMAIN)), |
| 142 | + 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Thema\'s', 'openwoo')), |
143 | 143 | 'repeatable' => true, |
144 | 144 | 'fields' => [ |
145 | 145 | [ |
146 | | - 'name' => __('Hoofdthema', OWO_LANGUAGE_DOMAIN), |
| 146 | + 'name' => __('Hoofdthema', 'openwoo'), |
147 | 147 | 'id' => 'woo_Hoofdthema', |
148 | 148 | 'type' => 'text', |
149 | 149 | ], |
150 | 150 | [ |
151 | | - 'name' => __('Subthema', OWO_LANGUAGE_DOMAIN), |
| 151 | + 'name' => __('Subthema', 'openwoo'), |
152 | 152 | 'id' => 'woo_Subthema', |
153 | 153 | 'type' => 'text', |
154 | 154 | ], |
155 | 155 | [ |
156 | | - 'name' => __('Aanvullend thema', OWO_LANGUAGE_DOMAIN), |
| 156 | + 'name' => __('Aanvullend thema', 'openwoo'), |
157 | 157 | 'id' => 'woo_Aanvullend_thema', |
158 | 158 | 'type' => 'text', |
159 | 159 | ], |
160 | 160 | ] |
161 | 161 | ], |
162 | 162 | [ |
163 | | - 'name' => __('Geografisch gebied', OWO_LANGUAGE_DOMAIN), |
| 163 | + 'name' => __('Geografisch gebied', 'openwoo'), |
164 | 164 | 'id' => 'woo_Geografisch_gebied', |
165 | 165 | 'type' => 'text', |
166 | 166 | ], |
167 | 167 | [ |
168 | 168 | 'id' => 'woo_Adres', |
169 | 169 | 'type' => 'text', |
170 | 170 | 'type' => 'group', |
171 | | - 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Adres', OWO_LANGUAGE_DOMAIN)), |
| 171 | + 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Adres', 'openwoo')), |
172 | 172 | 'repeatable' => false, |
173 | 173 | 'fields' => [ |
174 | 174 | [ |
175 | | - 'name' => __('Straat + huisnummer', OWO_LANGUAGE_DOMAIN), |
| 175 | + 'name' => __('Straat + huisnummer', 'openwoo'), |
176 | 176 | 'id' => 'woo_Straat__huisnummer', |
177 | 177 | 'type' => 'text', |
178 | 178 | ], |
179 | 179 | [ |
180 | | - 'name' => __('Postcode', OWO_LANGUAGE_DOMAIN), |
| 180 | + 'name' => __('Postcode', 'openwoo'), |
181 | 181 | 'id' => 'woo_Postcode', |
182 | 182 | 'type' => 'text', |
183 | 183 | ], |
184 | 184 | [ |
185 | | - 'name' => __('Stad', OWO_LANGUAGE_DOMAIN), |
| 185 | + 'name' => __('Stad', 'openwoo'), |
186 | 186 | 'id' => 'woo_Stad', |
187 | 187 | 'type' => 'text', |
188 | 188 | ], |
|
191 | 191 | [ |
192 | 192 | 'id' => 'woo_Geografische_positie', |
193 | 193 | 'type' => 'group', |
194 | | - 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Geografische positie', OWO_LANGUAGE_DOMAIN)), |
| 194 | + 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Geografische positie', 'openwoo')), |
195 | 195 | 'repeatable' => false, |
196 | 196 | 'fields' => [ |
197 | 197 | [ |
198 | | - 'name' => __('Longitude', OWO_LANGUAGE_DOMAIN), |
| 198 | + 'name' => __('Longitude', 'openwoo'), |
199 | 199 | 'id' => 'woo_Longitude', |
200 | 200 | 'type' => 'text', |
201 | 201 | ], |
202 | 202 | [ |
203 | | - 'name' => __('Latitude', OWO_LANGUAGE_DOMAIN), |
| 203 | + 'name' => __('Latitude', 'openwoo'), |
204 | 204 | 'id' => 'woo_Lattitude', |
205 | 205 | 'type' => 'text', |
206 | 206 | ], |
|
209 | 209 | [ |
210 | 210 | 'id' => 'woo_COORDS', |
211 | 211 | 'type' => 'group', |
212 | | - 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('COORDS', OWO_LANGUAGE_DOMAIN)), |
| 212 | + 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('COORDS', 'openwoo')), |
213 | 213 | 'repeatable' => false, |
214 | 214 | 'fields' => [ |
215 | 215 | [ |
216 | | - 'name' => __('X', OWO_LANGUAGE_DOMAIN), |
| 216 | + 'name' => __('X', 'openwoo'), |
217 | 217 | 'id' => 'woo_X', |
218 | 218 | 'type' => 'text', |
219 | 219 | ], |
220 | 220 | [ |
221 | | - 'name' => __('Y', OWO_LANGUAGE_DOMAIN), |
| 221 | + 'name' => __('Y', 'openwoo'), |
222 | 222 | 'id' => 'woo_Y', |
223 | 223 | 'type' => 'text', |
224 | 224 | ], |
|
227 | 227 | [ |
228 | 228 | 'id' => 'woo_Bijlagen', |
229 | 229 | 'type' => 'group', |
230 | | - 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Bijlagen', OWO_LANGUAGE_DOMAIN)), |
| 230 | + 'before_group' => sprintf('<div class="cmb-row"><div class="cmb-th"><label>%s</label></div></div>', __('Bijlagen', 'openwoo')), |
231 | 231 | 'repeatable' => true, |
232 | 232 | 'fields' => [ |
233 | 233 | [ |
234 | | - 'name' => __('Type Bijlage', OWO_LANGUAGE_DOMAIN), |
| 234 | + 'name' => __('Type Bijlage', 'openwoo'), |
235 | 235 | 'id' => 'woo_Type_Bijlage', |
236 | 236 | 'type' => 'select', |
237 | 237 | 'options' => [ |
|
241 | 241 | ], |
242 | 242 | ], |
243 | 243 | [ |
244 | | - 'name' => __('Status Bijlage', OWO_LANGUAGE_DOMAIN), |
| 244 | + 'name' => __('Status Bijlage', 'openwoo'), |
245 | 245 | 'id' => 'woo_Status_Bijlage', |
246 | 246 | 'type' => 'select', |
247 | 247 | 'options' => [ |
|
252 | 252 | ], |
253 | 253 | ], |
254 | 254 | [ |
255 | | - 'name' => __('Tijdstip laatste wijziging bijlage', OWO_LANGUAGE_DOMAIN), |
| 255 | + 'name' => __('Tijdstip laatste wijziging bijlage', 'openwoo'), |
256 | 256 | 'id' => 'woo_Tijdstip_laatste_wijziging_bijlage', |
257 | 257 | 'type' => 'datetime', |
258 | 258 | 'timestamp' => true, |
|
267 | 267 | 'inline' => false, |
268 | 268 | ], |
269 | 269 | [ |
270 | | - 'name' => __('Titel Bijlage', OWO_LANGUAGE_DOMAIN), |
| 270 | + 'name' => __('Titel Bijlage', 'openwoo'), |
271 | 271 | 'id' => 'woo_Titel_Bijlage', |
272 | 272 | 'type' => 'text', |
273 | 273 | ], |
274 | 274 | [ |
275 | | - 'name' => __('URL Bijlage', OWO_LANGUAGE_DOMAIN), |
| 275 | + 'name' => __('URL Bijlage', 'openwoo'), |
276 | 276 | 'id' => 'woo_URL_Bijlage', |
277 | 277 | 'type' => 'text_url', |
278 | 278 | ], |
279 | 279 | [ |
280 | | - 'name' => __('Bijlage', OWO_LANGUAGE_DOMAIN), |
| 280 | + 'name' => __('Bijlage', 'openwoo'), |
281 | 281 | 'id' => 'woo_Bijlage', |
282 | 282 | 'type' => 'file', |
283 | 283 | 'options' => [ |
|
0 commit comments