diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-28 06:23:37 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-28 06:23:37 +0000 |
commit | 28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3 (patch) | |
tree | 8c221f1b16a2ce3281898476bd46f35b7290a197 /expand.c | |
parent | 3a945a665e3d06aa02e9e1e5843d2b8fa61f1e52 (diff) | |
download | gunmake-28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3.tar.gz |
* Add gettext macros to start i18n support.
Diffstat (limited to 'expand.c')
-rw-r--r-- | expand.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -98,7 +98,8 @@ recursively_expand (v) if (v->expanding) /* Expanding V causes infinite recursion. Lose. */ fatal (reading_file, - "Recursive variable `%s' references itself (eventually)", v->name); + _("Recursive variable `%s' references itself (eventually)"), + v->name); v->expanding = 1; value = allocated_variable_expand (v->value); @@ -119,7 +120,7 @@ warn_undefined (name, length) { if (warn_undefined_variables_flag) error (reading_file, - "warning: undefined variable `%.*s'", (int)length, name); + _("warning: undefined variable `%.*s'"), (int)length, name); } /* Expand a simple reference to variable NAME, which is LENGTH chars long. */ @@ -231,7 +232,7 @@ variable_expand_string (line, string, length) end = index (beg, closeparen); if (end == 0) /* Unterminated variable reference. */ - fatal (reading_file, "unterminated variable reference"); + fatal (reading_file, _("unterminated variable reference")); p1 = lindex (beg, end, '$'); if (p1 != 0) { |