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 /dir.c | |
parent | 3a945a665e3d06aa02e9e1e5843d2b8fa61f1e52 (diff) | |
download | gunmake-28ef4c4dacc6fee628e65f07b52a4d2f0efe7fb3.tar.gz |
* Add gettext macros to start i18n support.
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -884,7 +884,7 @@ print_dir_data_base () register unsigned int i, dirs, files, impossible; register struct directory *dir; - puts ("\n# Directories\n"); + puts (_("\n# Directories\n")); dirs = files = impossible = 0; for (i = 0; i < DIRECTORY_BUCKETS; ++i) @@ -892,19 +892,19 @@ print_dir_data_base () { ++dirs; if (dir->contents == 0) - printf ("# %s: could not be stat'd.\n", dir->name); + printf (_("# %s: could not be stat'd.\n"), dir->name); else if (dir->contents->files == 0) #ifdef WINDOWS32 - printf ("# %s (key %s, mtime %d): could not be opened.\n", + printf (_("# %s (key %s, mtime %d): could not be opened.\n"), dir->name, dir->contents->path_key,dir->contents->mtime); #else /* WINDOWS32 */ #ifdef VMS - printf ("# %s (device %d, inode [%d,%d,%d]): could not be opened.\n", + printf (_("# %s (device %d, inode [%d,%d,%d]): could not be opened.\n"), dir->name, dir->contents->dev, dir->contents->ino[0], dir->contents->ino[1], dir->contents->ino[2]); #else - printf ("# %s (device %ld, inode %ld): could not be opened.\n", + printf (_("# %s (device %ld, inode %ld): could not be opened.\n"), dir->name, (long int) dir->contents->dev, (long int) dir->contents->ino); #endif @@ -921,34 +921,34 @@ print_dir_data_base () else ++f; #ifdef WINDOWS32 - printf ("# %s (key %s, mtime %d): ", + printf (_("# %s (key %s, mtime %d): "), dir->name, dir->contents->path_key, dir->contents->mtime); #else /* WINDOWS32 */ #ifdef VMS - printf ("# %s (device %d, inode [%d,%d,%d]): ", + printf (_("# %s (device %d, inode [%d,%d,%d]): "), dir->name, dir->contents->dev, dir->contents->ino[0], dir->contents->ino[1], dir->contents->ino[2]); #else - printf ("# %s (device %ld, inode %ld): ", + printf (_("# %s (device %ld, inode %ld): "), dir->name, (long)dir->contents->dev, (long)dir->contents->ino); #endif #endif /* WINDOWS32 */ if (f == 0) - fputs ("No", stdout); + fputs (_("No"), stdout); else printf ("%u", f); - fputs (" files, ", stdout); + fputs (_(" files, "), stdout); if (im == 0) - fputs ("no", stdout); + fputs (_("no"), stdout); else printf ("%u", im); - fputs (" impossibilities", stdout); + fputs (_(" impossibilities"), stdout); if (dir->contents->dirstream == 0) puts ("."); else - puts (" so far."); + puts (_(" so far.")); files += f; impossible += im; } @@ -956,15 +956,15 @@ print_dir_data_base () fputs ("\n# ", stdout); if (files == 0) - fputs ("No", stdout); + fputs (_("No"), stdout); else printf ("%u", files); - fputs (" files, ", stdout); + fputs (_(" files, "), stdout); if (impossible == 0) - fputs ("no", stdout); + fputs (_("no"), stdout); else printf ("%u", impossible); - printf (" impossibilities in %u directories.\n", dirs); + printf (_(" impossibilities in %u directories.\n"), dirs); } /* Hooks for globbing. */ |