32 |
#include "gettext.h" |
#include "gettext.h" |
33 |
#define _(msgid) gettext (msgid) |
#define _(msgid) gettext (msgid) |
34 |
|
|
35 |
|
/* Returns an adjective describing the given variable TYPE, |
36 |
|
suitable for use in phrases like "numeric variable". */ |
37 |
|
const char * |
38 |
|
var_type_adj (enum var_type type) |
39 |
|
{ |
40 |
|
return type == NUMERIC ? _("numeric") : _("string"); |
41 |
|
} |
42 |
|
|
43 |
|
/* Returns a noun describing a value of the given variable TYPE, |
44 |
|
suitable for use in phrases like "a number". */ |
45 |
|
const char * |
46 |
|
var_type_noun (enum var_type type) |
47 |
|
{ |
48 |
|
return type == NUMERIC ? _("number") : _("string"); |
49 |
|
} |
50 |
|
|
51 |
/* Assign auxiliary data AUX to variable V, which must not |
/* Assign auxiliary data AUX to variable V, which must not |
52 |
already have auxiliary data. Before V's auxiliary data is |
already have auxiliary data. Before V's auxiliary data is |