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
69
70
71
72
73
74
75
76
|
/***************************************************************************
* Copyright (C) 2003 *
* *
* Unai Garro ([email protected]) *
* Cyril Bosselut ([email protected]) *
* Jason Kivlighn ([email protected]) *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#ifndef USDA_PROPERTY_DATA_H
#define USDA_PROPERTY_DATA_H
#include <tdelocale.h>
struct property_data
{
int id;
TQString name;
const char *unit;
};
#define TOTAL_USDA_PROPERTIES 43
//NOTE: the following must be in this order
static property_data property_data_list[] = {
{ -1, I18N_NOOP( "water" ), "g"},
{ -1, I18N_NOOP( "energy" ), "kcal"},
{ -1, I18N_NOOP( "protein" ), "g"},
{ -1, I18N_NOOP( "fat" ), "g"},
{ -1, I18N_NOOP( "ash" ), "g"},
{ -1, I18N_NOOP( "carbohydrates" ), "g"},
{ -1, I18N_NOOP( "dietary fiber" ), "g"},
{ -1, I18N_NOOP( "sugar" ), "g"},
{ -1, I18N_NOOP( "calcuim" ), "mg"},
{ -1, I18N_NOOP( "iron" ), "mg"},
{ -1, I18N_NOOP( "magnesium" ), "mg"},
{ -1, I18N_NOOP( "phosphorus" ), "mg"},
{ -1, I18N_NOOP( "potassium" ), "mg"},
{ -1, I18N_NOOP( "sodium" ), "mg"},
{ -1, I18N_NOOP( "zinc" ), "mg"},
{ -1, I18N_NOOP( "copper" ), "mg"},
{ -1, I18N_NOOP( "manganese" ), "mg"},
{ -1, I18N_NOOP( "selenium" ), "g"},
{ -1, I18N_NOOP( "vitamin C" ), "mg"},
{ -1, I18N_NOOP( "thiamin" ), "mg"},
{ -1, I18N_NOOP( "riboflavin" ), "mg"},
{ -1, I18N_NOOP( "niacin" ), "mg"},
{ -1, I18N_NOOP( "pantothenic acid" ), "mg"},
{ -1, I18N_NOOP( "vitamin B" ), "mg"},
{ -1, I18N_NOOP( "folate" ), "g"},
{ -1, I18N_NOOP( "folic acid" ), "g"},
{ -1, I18N_NOOP( "food folate" ), "g"},
{ -1, I18N_NOOP( "folate (DFE)" ), "g"},
{ -1, I18N_NOOP( "vitamin B12" ), "g"},
{ -1, I18N_NOOP( "vitamin A" ), "IU"},
{ -1, I18N_NOOP( "vitamin A (RAE)" ), "mg"},
{ -1, I18N_NOOP( "retinol" ), "g"},
{ -1, I18N_NOOP( "vitamin E" ), "g"},
{ -1, I18N_NOOP( "vitamin K" ), "g"},
{ -1, I18N_NOOP( "alpha-carotene" ), "g"},
{ -1, I18N_NOOP( "beta-carotene" ), "g"},
{ -1, I18N_NOOP( "beta-cryptoxanthin" ), "g"},
{ -1, I18N_NOOP( "lycopene" ), "g"},
{ -1, I18N_NOOP( "lutein+zeazanthin" ), "g"},
{ -1, I18N_NOOP( "saturated fat" ), "g"},
{ -1, I18N_NOOP( "monounsaturated fat" ), "g"},
{ -1, I18N_NOOP( "polyunsaturated fat" ), "g"},
{ -1, I18N_NOOP( "cholesterol" ), "mg"},
{ 0, 0, 0 }
};
#endif //USDA_PROPERTY_DATA_H
|