diff options
author | Guillem Jover <guillem@debian.org> | 2006-04-21 02:03:16 +0000 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2006-04-21 02:03:16 +0000 |
commit | 2b8e678a60c7906ba6a1568e28f2eba8ccb300d0 (patch) | |
tree | d411390311fedae843971cfd9ee1ff4ea98be003 /src/query.c | |
parent | 842067259303ed68f0ff6756712c06a417eb7ca1 (diff) | |
download | dpkg-2b8e678a60c7906ba6a1568e28f2eba8ccb300d0.tar.gz |
Fix strings so that they can be more easily translated. Closes: #134358
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/query.c b/src/query.c index 032c2a0eb..d0bc00e76 100644 --- a/src/query.c +++ b/src/query.c @@ -372,10 +372,16 @@ void enqperpackage(const char *const *argv) { namenode= file->namenode; puts(namenode->name); if (namenode->divert && !namenode->divert->camefrom) { - if (!namenode->divert->pkg) printf(_("locally diverted")); - else if (pkg == namenode->divert->pkg) printf(_("package diverts others")); - else printf(_("diverted by %s"),namenode->divert->pkg->name); - printf(_(" to: %s\n"),namenode->divert->useinstead->name); + if (!namenode->divert->pkg) + printf(_("locally diverted to: %s\n"), + namenode->divert->useinstead->name); + else if (pkg == namenode->divert->pkg) + printf(_("package diverts others to: %s\n"), + namenode->divert->useinstead->name); + else + printf(_("diverted by %s to: %s\n"), + namenode->divert->pkg->name, + namenode->divert->useinstead->name); } file= file->next; } |