summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-13 17:12:39 +0100
committerDan McGee <dan@archlinux.org>2012-02-13 17:14:06 +0100
commitc7321a7b80aebeacb05ad5ab9d096779403b1758 (patch)
tree8fa7f16abc7b7af0c24ba92ababfc5c145d35eed /lib/libalpm
parent115c0381c235100d7b05d9751767017a9ee325c4 (diff)
parentb4f5a63e7fee5d04949e290bd63e5f0e94bd211e (diff)
downloadpacman-c7321a7b80aebeacb05ad5ab9d096779403b1758.tar.gz
pacman-c7321a7b80aebeacb05ad5ab9d096779403b1758.tar.xz
Merge branch 'maint'
Conflicts: lib/libalpm/sync.c src/util/pactree.c
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/alpm.h6
-rw-r--r--lib/libalpm/po/fr.po25
-rw-r--r--lib/libalpm/sync.c2
3 files changed, 17 insertions, 16 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index ca650928..aeb1bb72 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -309,7 +309,7 @@ typedef enum _alpm_event_t {
ALPM_EVENT_LOAD_START,
/** Target package is finished loading. */
ALPM_EVENT_LOAD_DONE,
- /** Target deltas's integrity will be checked. */
+ /** Target delta's integrity will be checked. */
ALPM_EVENT_DELTA_INTEGRITY_START,
/** Target delta's integrity was checked. */
ALPM_EVENT_DELTA_INTEGRITY_DONE,
@@ -873,7 +873,7 @@ alpm_list_t *alpm_pkg_get_backup(alpm_pkg_t *pkg);
*/
alpm_db_t *alpm_pkg_get_db(alpm_pkg_t *pkg);
-/** Retuns the base64 encoded package signature.
+/** Returns the base64 encoded package signature.
* @param pkg a pointer to package
* @return a reference to an internal string
*/
@@ -1034,7 +1034,7 @@ int alpm_trans_prepare(alpm_handle_t *handle, alpm_list_t **data);
/** Commit a transaction.
* @param handle the context handle
* @param data the address of an alpm_list where detailed description
- * of an error can be dumped (ie. list of conflicting files)
+ * of an error can be dumped (i.e. list of conflicting files)
* @return 0 on success, -1 on error (pm_errno is set accordingly)
*/
int alpm_trans_commit(alpm_handle_t *handle, alpm_list_t **data);
diff --git a/lib/libalpm/po/fr.po b/lib/libalpm/po/fr.po
index 520b7286..c8163366 100644
--- a/lib/libalpm/po/fr.po
+++ b/lib/libalpm/po/fr.po
@@ -4,7 +4,7 @@
#
# Translators:
# Dan McGee <dpmcgee@gmail.com>, 2011.
-# <ma.jiehong@gmail.com>, 2011.
+# <ma.jiehong@gmail.com>, 2011, 2012.
# shining <chantry.xavier@gmail.com>, 2011.
# Xavier Devlamynck <magicrhesus@ouranos.be>, 2011.
msgid ""
@@ -12,8 +12,8 @@ msgstr ""
"Project-Id-Version: Arch Linux Pacman package manager\n"
"Report-Msgid-Bugs-To: http://bugs.archlinux.org/index.php?project=3\n"
"POT-Creation-Date: 2011-11-13 21:47-0600\n"
-"PO-Revision-Date: 2011-10-06 12:57+0000\n"
-"Last-Translator: magicrhesus <magicrhesus@ouranos.be>\n"
+"PO-Revision-Date: 2012-02-06 20:08+0000\n"
+"Last-Translator: jiehong <ma.jiehong@gmail.com>\n"
"Language-Team: French (http://www.transifex.net/projects/p/archlinux-pacman/"
"team/fr/)\n"
"Language: fr\n"
@@ -170,8 +170,8 @@ msgstr "la suppression du fichier de verrouillage %s a échoué\n"
#, c-format
msgid "could not parse package description file '%s' from db '%s'\n"
msgstr ""
-"impossible d'analyser le fichier '%s' de description du paquet depuis la "
-"base de données '%s'\n"
+"impossible d'analyser le fichier « %s » de description du paquet depuis la "
+"base de données « %s »\n"
#, c-format
msgid "database path is undefined\n"
@@ -195,7 +195,7 @@ msgstr "ignore le paquet %s-%s\n"
#, c-format
msgid "cannot resolve \"%s\", a dependency of \"%s\"\n"
-msgstr "impossible de résoudre \"%s\", une dépendance de \"%s\"\n"
+msgstr "impossible de résoudre « %s », une dépendance de « %s »\n"
#, c-format
msgid "could not get filesystem information\n"
@@ -236,11 +236,11 @@ msgstr "échec de création d'un fichier temporaire pour le téléchargement\n"
#, c-format
msgid "url '%s' is invalid\n"
-msgstr "l'url '%s' est invalide\n"
+msgstr "l'url « %s » est invalide\n"
#, c-format
msgid "failed retrieving file '%s' from %s : %s\n"
-msgstr "échec de récupération du fichier '%s' depuis %s : %s\n"
+msgstr "échec de récupération du fichier « %s » depuis %s : %s\n"
#, c-format
msgid "%s appears to be truncated: %jd/%jd bytes\n"
@@ -320,7 +320,7 @@ msgstr "base de données invalide ou corrompue (Signature PGP)"
#, c-format
msgid "database is incorrect version"
-msgstr "la base de données n'est pas à la bonne version"
+msgstr "la version de la base de donnée n'est pas la bonne"
#, c-format
msgid "could not update database"
@@ -480,7 +480,7 @@ msgstr "supprime %s de la liste de cible\n"
#, c-format
msgid "cannot remove file '%s': %s\n"
-msgstr "suppression du fichier '%s' impossible : %s\n"
+msgstr "suppression du fichier « %s » impossible : %s\n"
#, c-format
msgid "cannot remove %s (%s)\n"
@@ -492,7 +492,7 @@ msgstr "la suppression de l'entrée de base de données %s-%s a échoué\n"
#, c-format
msgid "could not remove entry '%s' from cache\n"
-msgstr "la suppression du cache de l'entrée '%s' a échoué\n"
+msgstr "la suppression du cache de l'entrée « %s » a échoué\n"
#, c-format
msgid "%s: ignoring package upgrade (%s => %s)\n"
@@ -524,7 +524,8 @@ msgstr "un conflit de paquets impossible à résoudre a été détecté\n"
#, c-format
msgid "removing '%s' from target list because it conflicts with '%s'\n"
-msgstr "supprime '%s' de la liste de cible car il est en conflit avec '%s'\n"
+msgstr ""
+"supprime « %s » de la liste de cible car il est en conflit avec « %s »\n"
#, c-format
msgid "failed to retrieve some files from %s\n"
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 94788294..468438f1 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -838,7 +838,7 @@ static int find_dl_candidates(alpm_db_t *repo, alpm_list_t **files, alpm_list_t
alpm_delta_t *delta = dlts->data;
if(delta->download_size != 0) {
struct dload_payload *payload = build_payload(
- handle, delta->delta, delta->download_size, repo->servers);
+ handle, delta->delta, delta->delta_size, repo->servers);
ASSERT(payload, return -1);
*files = alpm_list_add(*files, payload);
}