www/includes/global.inc.php

changeset 84
3e5e87f1818d
parent 68
2ff83855d574
child 85
ca7a37586551
equal deleted inserted replaced
83:85521c6e0022 84:3e5e87f1818d
197 </div> <!-- jqxWidget --> 197 </div> <!-- jqxWidget -->
198 </body> 198 </body>
199 </html> 199 </html>
200 <?php 200 <?php
201 } 201 }
202 ?> 202
203
204 /* ============== Translations ========================================== */
205
206
207 function added_type_names($added) {
208 if ($added == "Mash")
209 return 'Maischen';
210 if ($added == "Boil")
211 return 'Koken';
212 if ($added == "Fermentation")
213 return 'Vergisten';
214 if ($added == "Lagering")
215 return 'Nagisten/lageren';
216 if ($added == "Bottle")
217 return 'Bottelen';
218 return $added;
219 }
220
221
222
223 function hop_useat_names($useat) {
224 if (($useat == "Dry Hop") || ($useat == "Dry hop"))
225 return "Koudhop";
226 if ($useat == "Whirlpool")
227 return "Whirlpool";
228 if ($useat == "Mash")
229 return "Maischen";
230 if (($useat == "First Wort") || ($useat == "First wort"))
231 return "First wort";
232 if ($useat == "Aroma")
233 return "Vlamuit";
234 if ($useat == "Boil")
235 return 'Koken';
236 return $useat;
237 }
238
239
240
241 function hop_form_names($form) {
242 if ($form == "Pellet")
243 return 'Pellets';
244 if ($form == "Plug")
245 return 'Plugs';
246 if ($form == "Leaf")
247 return 'Bellen';
248 return $form;
249 }
250
251
252
253 function yeast_use_names($use) {
254 if ($use == "Primary")
255 return 'Hoofdgist';
256 if ($use == "Bottle")
257 return 'Bottelgist';
258 return $use;
259 }
260
261
262
263 function yeast_form_names($form) {
264
265 if ($form == "Liquid")
266 return 'Vloeibaar';
267 if ($form == "Dry")
268 return 'Droog';
269 if ($form == "Slant")
270 return 'Schuine buis';
271 if ($form == "Culture")
272 return 'Slurry';
273 if ($form == "Frozen")
274 return 'Ingevroren';
275 if ($form == "Bottel")
276 return 'Depot';
277 return $form;
278 }
279
280
281
282 function misc_type_names($type) {
283 if ($type == "Water agent")
284 return 'Brouwzout';
285 if ($type == "Fining")
286 return 'Klaringsmiddel';
287 if ($type == "Spice")
288 return 'Specerij';
289 if ($type == "Herb")
290 return 'Kruid';
291 if ($type == "Flavor")
292 return 'Smaakstof';
293 if ($type == "Yeast nutrient")
294 return 'Gistvoeding';
295 return $type;
296 }
297
298
299
300 function misc_use_names($name) {
301 if ($name == "Starter")
302 return 'Starter';
303 if ($name == "Mash")
304 return 'Maischen';
305 if ($name == "Boil")
306 return 'Koken';
307 if ($name == "Primary")
308 return 'Hoofdvergisting';
309 if ($name == "Secondary")
310 return 'Nagisten/lagering';
311 if ($name == "Bottling")
312 return 'Bottelen';
313 return $name;
314 }
315
316 ?>

mercurial