Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2009-09-17 02:03:23 +0200
committerDan McGee <dan@archlinux.org>2009-09-16 19:36:49 -0500
commit1df3b91931ea28fa6b279a976339f099a111238d (patch)
tree54f6289f235ed164dc699c5174c8b95688d1c1d6 /src
parent08ee4059b5935ab0b378a40dcfb127f169e96f83 (diff)
String improvements
Add more untranslated strings, improve consistency, etc. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c6
-rw-r--r--src/pacman/query.c4
-rw-r--r--src/pacman/sync.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 77c558d1..5298d662 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -130,7 +130,7 @@ static void usage(int op, const char * const myname)
printf(_(" -l, --list <repo> view a list of packages in a repo\n"));
printf(_(" -p, --print-uris print out URIs for given packages and their dependencies\n"));
printf(_(" -s, --search <regex> search remote repositories for matching strings\n"));
- printf(_(" -u, --sysupgrade upgrade all outdated packages (-uu enables downgrade)\n"));
+ printf(_(" -u, --sysupgrade upgrade installed packages (-uu allows downgrade)\n"));
printf(_(" -w, --downloadonly download packages but do not install/upgrade anything\n"));
printf(_(" -y, --refresh download fresh package databases from the server\n"));
printf(_(" --needed don't reinstall up to date packages\n"));
@@ -657,7 +657,7 @@ int download_with_xfercommand(const char *url, const char *localpath,
/* cwd to the download directory */
getcwd(cwd, PATH_MAX);
if(chdir(localpath)) {
- pm_printf(PM_LOG_WARNING, "could not chdir to %s\n", localpath);
+ pm_printf(PM_LOG_WARNING, _("could not chdir to download directory %s\n"), localpath);
ret = -1;
goto cleanup;
}
@@ -666,7 +666,7 @@ int download_with_xfercommand(const char *url, const char *localpath,
retval = system(parsedCmd);
if(retval == -1) {
- pm_printf(PM_LOG_WARNING, "running XferCommand: fork failed!\n");
+ pm_printf(PM_LOG_WARNING, _("running XferCommand: fork failed!\n"));
ret = -1;
} else if(retval != 0) {
/* download failed */
diff --git a/src/pacman/query.c b/src/pacman/query.c
index a9717074..6b6a25db 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -344,7 +344,7 @@ static int check(pmpkg_t *pkg)
if(config->quiet) {
printf("%s %s\n", pkgname, f);
} else {
- pm_printf(PM_LOG_WARNING, "%s: missing %s (%s)\n",
+ pm_printf(PM_LOG_WARNING, "%s: %s (%s)\n",
pkgname, f, strerror(errno));
}
errors++;
@@ -352,7 +352,7 @@ static int check(pmpkg_t *pkg)
}
if(!config->quiet) {
- printf("%s: %d total, %d missing file(s)\n",
+ printf(_("%s: %d total files, %d missing file(s)\n"),
pkgname, allfiles, errors);
}
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index dc936219..12f67df2 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -682,7 +682,7 @@ static int sync_trans(alpm_list_t *targets)
printf("%s/%s\n", dburl, alpm_pkg_get_filename(pkg));
} else {
/* can't use WARNING here, we don't show warnings in -Sp... */
- pm_fprintf(stderr, PM_LOG_ERROR, _("no database for package: %s\n"),
+ pm_fprintf(stderr, PM_LOG_ERROR, _("no URL for package: %s\n"),
alpm_pkg_get_name(pkg));
}