summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/dir.c b/dir.c
index 0d0f078..cb25c18 100644
--- a/dir.c
+++ b/dir.c
@@ -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. */