diff options
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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, ""); } |