summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/md5driver.c
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2006-05-15 04:19:57 +0200
committerJudd Vinet <judd@archlinux.org>2006-05-15 04:19:57 +0200
commitbb787e26ee01f961c76fbe4e568275a66e80009f (patch)
tree6b16de3f1d21f018ea1f2a0e53fc38562c4e89b1 /lib/libalpm/md5driver.c
parent3d3a29a80849f2aaa0baff93c1ae4478276e2b54 (diff)
downloadpacman-bb787e26ee01f961c76fbe4e568275a66e80009f.tar.gz
pacman-bb787e26ee01f961c76fbe4e568275a66e80009f.tar.xz
first stage of i18n stuff from VMiklos
Diffstat (limited to 'lib/libalpm/md5driver.c')
-rw-r--r--lib/libalpm/md5driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/md5driver.c b/lib/libalpm/md5driver.c
index 30b37051..b6ebfa83 100644
--- a/lib/libalpm/md5driver.c
+++ b/lib/libalpm/md5driver.c
@@ -23,6 +23,8 @@ documentation and/or software.
#include <stdio.h>
#include <time.h>
#include <string.h>
+#include <libintl.h>
+#include "util.h"
#include "md5.h"
/* Length of test block, number of test blocks.
@@ -43,7 +45,7 @@ char* MDFile(char *filename)
unsigned char buffer[1024], digest[16];
if((file = fopen(filename, "rb")) == NULL) {
- printf ("%s can't be opened\n", filename);
+ printf (_("%s can't be opened\n"), filename);
} else {
char *ret;
int i;