-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.php
68 lines (65 loc) · 2.18 KB
/
constants.php
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
<?php
const TASTE = [
'sweetness' => 'сладость',
'saltiness' => 'соленость',
'sourness' => 'кислинка',
'bitterness' => 'горчинка',
'savoriness' => 'пикантность',
'fattiness' => 'жирность',
'spiciness' => 'острота',
];
const NUTRIENTS = [
"Potassium" => "Калий",
"Vitamin E" => "Витамин Е",
"Protein" => "Протеин",
"Phosphorus" => "Фосфор",
"Vitamin B3" => "Витамин В3",
"Fluoride" => "Фторид",
"Fiber" => "Пищевые волокна",
"Poly Unsaturated Fat" => "Полиненасыщенные жиры",
"Vitamin B5" => "Витамин В5",
"Vitamin D" => "Витамин D",
"Calcium" => "Кальций",
"Caffeine" => "Кофеин",
"Sugar" => "Сахар",
"Mono Unsaturated Fat" => "Мононенасыщенные жиры",
"Calories" => "Калории",
"Vitamin A" => "Витамин A",
"Vitamin C" => "Витамин C",
"Saturated Fat" => "Насыщенные жиры",
"Trans Fat" => "Трансжиры",
"Iron" => "Железо",
"Vitamin B12" => "Витамин В12",
"Vitamin B1" => "Витамин В1",
"Cholesterol" => "Холестерин",
"Alcohol" => "Алкоголь",
"Net Carbohydrates" => "Чистые углеводы",
"Vitamin B6" => "Витамин В6",
"Carbohydrates" => "Углеводы",
"Manganese" => "Марганец",
"Fat" => "Жиры",
"Vitamin B2" => "Витамин В2",
"Folate" => "Фолат",
"Magnesium" => "Магний",
"Copper" => "Медь",
"Vitamin K" => "Витамин К",
"Sodium" => "Натрий",
"Zinc" => "Цинк",
"Selenium" => "Селен"
];
const MEASURES = [
'g' => 'гр',
'tbsp' => 'ст. ложка',
'tbsps' => 'ст. ложки',
'cups' => 'чашки',
'cup' => 'чашка',
'cloves' => 'дольки',
'ounces' => 'унции',
'pinches' => 'щепотки',
'servings' => 'порции',
'mg' => 'мг',
'container' => 'упаковка',
'kcal' => 'ккал',
'µg' => 'µg',
'IU' => 'IU',
];