Skip to content

Commit 7403905

Browse files
author
Mike van den Hoek
committed
(fix): translations just in time error
1 parent dedc900 commit 7403905

File tree

13 files changed

+282
-980
lines changed

13 files changed

+282
-980
lines changed

config/metaboxes.php

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,42 @@
55
return [
66
'woo_base' => [
77
'id' => 'openwoo_metadata',
8-
'title' => __('Data', OWO_LANGUAGE_DOMAIN),
8+
'title' => __('Data', 'openwoo'),
99
'object_types' => ['openwoo-item'],
1010
'context' => 'normal',
1111
'priority' => 'high',
1212
'autosave' => true,
1313
'fields' => [
1414
'general' => [
1515
[
16-
'name' => __('Kenmerk *', OWO_LANGUAGE_DOMAIN),
16+
'name' => __('Kenmerk *', 'openwoo'),
1717
'id' => 'woo_Kenmerk',
1818
'type' => 'text',
1919
'attributes' => [
2020
'required' => 'required',
2121
],
2222
],
2323
[
24-
'name' => __('Samenvatting', OWO_LANGUAGE_DOMAIN),
24+
'name' => __('Samenvatting', 'openwoo'),
2525
'id' => 'woo_Samenvatting',
2626
'type' => 'textarea',
2727
],
2828
[
29-
'name' => __('Onderwerp *', OWO_LANGUAGE_DOMAIN),
29+
'name' => __('Onderwerp *', 'openwoo'),
3030
'id' => 'woo_Onderwerp',
3131
'type' => 'text',
3232
'attributes' => [
3333
'required' => 'required',
3434
],
3535
],
3636
[
37-
'name' => __('Ontvanger informatieverzoek', OWO_LANGUAGE_DOMAIN),
37+
'name' => __('Ontvanger informatieverzoek', 'openwoo'),
3838
'id' => 'woo_Ontvanger_informatieverzoek',
3939
'type' => 'text',
4040

4141
],
4242
[
43-
'name' => __('Termijnoverschrijding', OWO_LANGUAGE_DOMAIN),
43+
'name' => __('Termijnoverschrijding', 'openwoo'),
4444
'id'=> 'woo_Termijnoverschrijding',
4545
'type' => 'select',
4646
'options' => [
@@ -50,7 +50,7 @@
5050
],
5151
],
5252
[
53-
'name' => __('Ontvangstdatum *', OWO_LANGUAGE_DOMAIN),
53+
'name' => __('Ontvangstdatum *', 'openwoo'),
5454
'id' => 'woo_Ontvangstdatum',
5555
'type' => 'text_date',
5656
'date_format' => 'd-m-Y',
@@ -60,7 +60,7 @@
6060
],
6161
],
6262
[
63-
'name' => __('Besluitdatum *', OWO_LANGUAGE_DOMAIN),
63+
'name' => __('Besluitdatum *', 'openwoo'),
6464
'id' => 'woo_Besluitdatum',
6565
'type' => 'text_date',
6666
'js_options' => [
@@ -78,7 +78,7 @@
7878
],
7979
],
8080
[
81-
'name' => __('Besluit *', OWO_LANGUAGE_DOMAIN),
81+
'name' => __('Besluit *', 'openwoo'),
8282
'id' => 'woo_Besluit',
8383
'type' => 'select',
8484
'options' => [
@@ -93,96 +93,96 @@
9393
],
9494
],
9595
[
96-
'name' => __('Bijlage informatieverzoek', OWO_LANGUAGE_DOMAIN),
96+
'name' => __('Bijlage informatieverzoek', 'openwoo'),
9797
'id' => 'woo_Bijlage_informatieverzoek',
9898
'type' => 'file',
9999
'options' => [
100100
'url' => false, // Hide the text input for the url
101101
],
102102
],
103103
[
104-
'name' => __('Bijlage inventarisatielijst', OWO_LANGUAGE_DOMAIN),
104+
'name' => __('Bijlage inventarisatielijst', 'openwoo'),
105105
'id' => 'woo_Bijlage_inventarisatielijst',
106106
'type' => 'file',
107107
'options' => [
108108
'url' => false, // Hide the text input for the url
109109
],
110110
],
111111
[
112-
'name' => __('Bijlage besluit', OWO_LANGUAGE_DOMAIN),
112+
'name' => __('Bijlage besluit', 'openwoo'),
113113
'id' => 'woo_Bijlage_besluit',
114114
'type' => 'file',
115115
'options' => [
116116
'url' => false, // Hide the text input for the url
117117
],
118118
],
119119
[
120-
'name' => __('URL informatieverzoek', OWO_LANGUAGE_DOMAIN),
120+
'name' => __('URL informatieverzoek', 'openwoo'),
121121
'id' => 'woo_URL_informatieverzoek',
122122
'type' => 'text_url',
123123
],
124124
[
125-
'name' => __('URL inventarisatielijst', OWO_LANGUAGE_DOMAIN),
125+
'name' => __('URL inventarisatielijst', 'openwoo'),
126126
'id' => 'woo_URL_inventarisatielijst',
127127
'type' => 'text_url',
128128
],
129129
[
130-
'name' => __('URL besluit', OWO_LANGUAGE_DOMAIN),
130+
'name' => __('URL besluit', 'openwoo'),
131131
'id' => 'woo_URL_besluit',
132132
'type' => 'text_url',
133133
],
134134
[
135-
'name' => __('Postcodegebied', OWO_LANGUAGE_DOMAIN),
135+
'name' => __('Postcodegebied', 'openwoo'),
136136
'id' => 'woo_Postcodegebied',
137137
'type' => 'text',
138138
],
139139
[
140140
'id' => 'woo_Themas',
141141
'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')),
143143
'repeatable' => true,
144144
'fields' => [
145145
[
146-
'name' => __('Hoofdthema', OWO_LANGUAGE_DOMAIN),
146+
'name' => __('Hoofdthema', 'openwoo'),
147147
'id' => 'woo_Hoofdthema',
148148
'type' => 'text',
149149
],
150150
[
151-
'name' => __('Subthema', OWO_LANGUAGE_DOMAIN),
151+
'name' => __('Subthema', 'openwoo'),
152152
'id' => 'woo_Subthema',
153153
'type' => 'text',
154154
],
155155
[
156-
'name' => __('Aanvullend thema', OWO_LANGUAGE_DOMAIN),
156+
'name' => __('Aanvullend thema', 'openwoo'),
157157
'id' => 'woo_Aanvullend_thema',
158158
'type' => 'text',
159159
],
160160
]
161161
],
162162
[
163-
'name' => __('Geografisch gebied', OWO_LANGUAGE_DOMAIN),
163+
'name' => __('Geografisch gebied', 'openwoo'),
164164
'id' => 'woo_Geografisch_gebied',
165165
'type' => 'text',
166166
],
167167
[
168168
'id' => 'woo_Adres',
169169
'type' => 'text',
170170
'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')),
172172
'repeatable' => false,
173173
'fields' => [
174174
[
175-
'name' => __('Straat + huisnummer', OWO_LANGUAGE_DOMAIN),
175+
'name' => __('Straat + huisnummer', 'openwoo'),
176176
'id' => 'woo_Straat__huisnummer',
177177
'type' => 'text',
178178
],
179179
[
180-
'name' => __('Postcode', OWO_LANGUAGE_DOMAIN),
180+
'name' => __('Postcode', 'openwoo'),
181181
'id' => 'woo_Postcode',
182182
'type' => 'text',
183183
],
184184
[
185-
'name' => __('Stad', OWO_LANGUAGE_DOMAIN),
185+
'name' => __('Stad', 'openwoo'),
186186
'id' => 'woo_Stad',
187187
'type' => 'text',
188188
],
@@ -191,16 +191,16 @@
191191
[
192192
'id' => 'woo_Geografische_positie',
193193
'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')),
195195
'repeatable' => false,
196196
'fields' => [
197197
[
198-
'name' => __('Longitude', OWO_LANGUAGE_DOMAIN),
198+
'name' => __('Longitude', 'openwoo'),
199199
'id' => 'woo_Longitude',
200200
'type' => 'text',
201201
],
202202
[
203-
'name' => __('Latitude', OWO_LANGUAGE_DOMAIN),
203+
'name' => __('Latitude', 'openwoo'),
204204
'id' => 'woo_Lattitude',
205205
'type' => 'text',
206206
],
@@ -209,16 +209,16 @@
209209
[
210210
'id' => 'woo_COORDS',
211211
'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')),
213213
'repeatable' => false,
214214
'fields' => [
215215
[
216-
'name' => __('X', OWO_LANGUAGE_DOMAIN),
216+
'name' => __('X', 'openwoo'),
217217
'id' => 'woo_X',
218218
'type' => 'text',
219219
],
220220
[
221-
'name' => __('Y', OWO_LANGUAGE_DOMAIN),
221+
'name' => __('Y', 'openwoo'),
222222
'id' => 'woo_Y',
223223
'type' => 'text',
224224
],
@@ -227,11 +227,11 @@
227227
[
228228
'id' => 'woo_Bijlagen',
229229
'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')),
231231
'repeatable' => true,
232232
'fields' => [
233233
[
234-
'name' => __('Type Bijlage', OWO_LANGUAGE_DOMAIN),
234+
'name' => __('Type Bijlage', 'openwoo'),
235235
'id' => 'woo_Type_Bijlage',
236236
'type' => 'select',
237237
'options' => [
@@ -241,7 +241,7 @@
241241
],
242242
],
243243
[
244-
'name' => __('Status Bijlage', OWO_LANGUAGE_DOMAIN),
244+
'name' => __('Status Bijlage', 'openwoo'),
245245
'id' => 'woo_Status_Bijlage',
246246
'type' => 'select',
247247
'options' => [
@@ -252,7 +252,7 @@
252252
],
253253
],
254254
[
255-
'name' => __('Tijdstip laatste wijziging bijlage', OWO_LANGUAGE_DOMAIN),
255+
'name' => __('Tijdstip laatste wijziging bijlage', 'openwoo'),
256256
'id' => 'woo_Tijdstip_laatste_wijziging_bijlage',
257257
'type' => 'datetime',
258258
'timestamp' => true,
@@ -267,17 +267,17 @@
267267
'inline' => false,
268268
],
269269
[
270-
'name' => __('Titel Bijlage', OWO_LANGUAGE_DOMAIN),
270+
'name' => __('Titel Bijlage', 'openwoo'),
271271
'id' => 'woo_Titel_Bijlage',
272272
'type' => 'text',
273273
],
274274
[
275-
'name' => __('URL Bijlage', OWO_LANGUAGE_DOMAIN),
275+
'name' => __('URL Bijlage', 'openwoo'),
276276
'id' => 'woo_URL_Bijlage',
277277
'type' => 'text_url',
278278
],
279279
[
280-
'name' => __('Bijlage', OWO_LANGUAGE_DOMAIN),
280+
'name' => __('Bijlage', 'openwoo'),
281281
'id' => 'woo_Bijlage',
282282
'type' => 'file',
283283
'options' => [

config/taxonomies.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
'meta_box_cb' => 'post_categories_meta_box',
1111
'show_in_quick_edit' => false,
1212
'labels' => [
13-
'name' => __('Types', OWO_LANGUAGE_DOMAIN),
14-
'singular_name' => __('Type', OWO_LANGUAGE_DOMAIN),
15-
'search_items' => __('Search types', OWO_LANGUAGE_DOMAIN),
16-
'all_items' => __('All types', OWO_LANGUAGE_DOMAIN),
17-
'edit_item' => __('Edit type', OWO_LANGUAGE_DOMAIN),
18-
'view_item' => __('View type', OWO_LANGUAGE_DOMAIN),
19-
'update_item' => __('Update type', OWO_LANGUAGE_DOMAIN),
20-
'add_new_item' => __('Add type', OWO_LANGUAGE_DOMAIN),
21-
'new_item_name' => __('New type name', OWO_LANGUAGE_DOMAIN),
22-
'not_found' => __('No types found', OWO_LANGUAGE_DOMAIN)
13+
'name' => __('Typen', 'openwoo'),
14+
'singular_name' => __('Type', 'openwoo'),
15+
'search_items' => __('Zoek typen', 'openwoo'),
16+
'all_items' => __('Alle typen', 'openwoo'),
17+
'edit_item' => __('Type bewerken', 'openwoo'),
18+
'view_item' => __('Type bekijken', 'openwoo'),
19+
'update_item' => __('Type bijwerken', 'openwoo'),
20+
'add_new_item' => __('Type toevoegen', 'openwoo'),
21+
'new_item_name' => __('Nieuw type naam', 'openwoo'),
22+
'not_found' => __('Geen typen gevonden', 'openwoo')
2323
]
2424
],
2525
],
@@ -32,16 +32,16 @@
3232
'meta_box_cb' => 'post_categories_meta_box',
3333
'show_in_quick_edit' => false,
3434
'labels' => [
35-
'name' => __('Show on', OWO_LANGUAGE_DOMAIN),
36-
'singular_name' => __('Show on', OWO_LANGUAGE_DOMAIN),
37-
'search_items' => __('Search show on', OWO_LANGUAGE_DOMAIN),
38-
'all_items' => __('All show on', OWO_LANGUAGE_DOMAIN),
39-
'edit_item' => __('Edit show on', OWO_LANGUAGE_DOMAIN),
40-
'view_item' => __('View show on', OWO_LANGUAGE_DOMAIN),
41-
'update_item' => __('Update show on', OWO_LANGUAGE_DOMAIN),
42-
'add_new_item' => __('Add show on', OWO_LANGUAGE_DOMAIN),
43-
'new_item_name' => __('New show on', OWO_LANGUAGE_DOMAIN),
44-
'not_found' => __('No show on found', OWO_LANGUAGE_DOMAIN)
35+
'name' => __('Tonen op', 'openwoo'),
36+
'singular_name' => __('Tonen op', 'openwoo'),
37+
'search_items' => __('Zoek tonen op', 'openwoo'),
38+
'all_items' => __('Alle tonen op', 'openwoo'),
39+
'edit_item' => __('Tonen op bewerken', 'openwoo'),
40+
'view_item' => __('Tonen op bekijken', 'openwoo'),
41+
'update_item' => __('Tonen op bijwerken', 'openwoo'),
42+
'add_new_item' => __('Tonen op toevoegen', 'openwoo'),
43+
'new_item_name' => __('Nieuw tonen op', 'openwoo'),
44+
'not_found' => __('Geen tonen op gevonden', 'openwoo')
4545
]
4646
],
4747
],

languages/openwoo-nl_NL.mo

-2.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)