www/includes/global.inc.php

changeset 231
9881453a49b3
parent 186
a7c2c61a01ad
child 289
4082c41f45e9
equal deleted inserted replaced
230:8edca0488e65 231:9881453a49b3
296 </div> <!-- jqxWidget --> 296 </div> <!-- jqxWidget -->
297 </body> 297 </body>
298 </html> 298 </html>
299 <?php 299 <?php
300 } 300 }
301 301 ?>
302
303 /* ============== Translations ========================================== */
304
305
306 function added_type_names($added) {
307 if ($added == "Mash")
308 return 'Maischen';
309 if ($added == "Boil")
310 return 'Koken';
311 if ($added == "Fermentation")
312 return 'Vergisten';
313 if ($added == "Lagering")
314 return 'Nagisten';
315 if ($added == "Bottle")
316 return 'Bottelen';
317 return $added;
318 }
319
320
321
322 function hop_useat_names($useat) {
323 if (($useat == "Dry Hop") || ($useat == "Dry hop"))
324 return "Koudhop";
325 if ($useat == "Whirlpool")
326 return "Whirlpool";
327 if ($useat == "Mash")
328 return "Maischen";
329 if (($useat == "First Wort") || ($useat == "First wort"))
330 return "First wort";
331 if ($useat == "Aroma")
332 return "Vlamuit";
333 if ($useat == "Boil")
334 return 'Koken';
335 return $useat;
336 }
337
338
339
340 function hop_form_names($form) {
341 if ($form == "Pellet")
342 return 'Pellets';
343 if ($form == "Plug")
344 return 'Plugs';
345 if ($form == "Leaf")
346 return 'Bellen';
347 return $form;
348 }
349
350
351
352 function yeast_use_names($use) {
353 if ($use == "Primary")
354 return 'Hoofdgist';
355 if ($use == "Bottle")
356 return 'Bottelgist';
357 return $use;
358 }
359
360
361
362 function yeast_form_names($form) {
363
364 if ($form == "Liquid")
365 return 'Vloeibaar';
366 if ($form == "Dry")
367 return 'Droog';
368 if ($form == "Slant")
369 return 'Schuine buis';
370 if ($form == "Culture")
371 return 'Slurry';
372 if ($form == "Frozen")
373 return 'Ingevroren';
374 if ($form == "Bottel")
375 return 'Depot';
376 return $form;
377 }
378
379
380
381 function misc_type_names($type) {
382 if ($type == "Water agent")
383 return 'Brouwzout';
384 if ($type == "Fining")
385 return 'Klaringsmiddel';
386 if ($type == "Spice")
387 return 'Specerij';
388 if ($type == "Herb")
389 return 'Kruid';
390 if ($type == "Flavor")
391 return 'Smaakstof';
392 if ($type == "Yeast nutrient")
393 return 'Gistvoeding';
394 return $type;
395 }
396
397
398
399 function misc_use_names($name) {
400 if ($name == "Starter")
401 return 'Starter';
402 if ($name == "Mash")
403 return 'Maischen';
404 if ($name == "Boil")
405 return 'Koken';
406 if ($name == "Primary")
407 return 'Hoofdvergisting';
408 if ($name == "Secondary")
409 return 'Nagisten/lagering';
410 if ($name == "Bottling")
411 return 'Bottelen';
412 return $name;
413 }
414
415 ?>

mercurial