summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-07-28 06:23:37 +0000
committerPaul Smith <psmith@gnu.org>1999-07-28 06:23:37 +0000
commit28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3 (patch)
tree8c221f1b16a2ce3281898476bd46f35b7290a197 /variable.c
parent3a945a665e3d06aa02e9e1e5843d2b8fa61f1e52 (diff)
downloadgunmake-28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3.tar.gz
* Add gettext macros to start i18n support.
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/variable.c b/variable.c
index 5379cd5..d07b5e1 100644
--- a/variable.c
+++ b/variable.c
@@ -768,7 +768,7 @@ try_variable_definition (flocp, line, origin)
expanded_name = allocated_variable_expand (name);
if (expanded_name[0] == '\0')
- fatal (flocp, "empty variable name");
+ fatal (flocp, _("empty variable name"));
/* Calculate the variable's new value in VALUE. */
@@ -1043,21 +1043,21 @@ print_variable_set (set, prefix)
}
if (nvariables == 0)
- puts ("# No variables.");
+ puts (_("# No variables."));
else
{
- printf ("# %u variables in %u hash buckets.\n",
+ printf (_("# %u variables in %u hash buckets.\n"),
nvariables, set->buckets);
#ifndef NO_FLOAT
- printf ("# average of %.1f variables per bucket, \
-max %u in one bucket.\n",
+ printf (_("# average of %.1f variables per bucket, \
+max %u in one bucket.\n"),
(double) nvariables / (double) set->buckets,
per_bucket);
#else
{
int f = (nvariables * 1000 + 5) / set->buckets;
- printf ("# average of %d.%d variables per bucket, \
-max %u in one bucket.\n",
+ printf (_("# average of %d.%d variables per bucket, \
+max %u in one bucket.\n"),
f/10, f%10,
per_bucket);
}
@@ -1071,7 +1071,7 @@ max %u in one bucket.\n",
void
print_variable_data_base ()
{
- puts ("\n# Variables\n");
+ puts (_("\n# Variables\n"));
print_variable_set (&global_variable_set, "");
}