The following commit has been merged in the master branch:
commit 2ddc61d4aac2d333b6e36a1f5488e9c611122653
Author: Guillem Jover <[email protected]>
Date: Sun Oct 4 02:56:02 2009 +0200
libdpkg: Mark and improve strings for translation
diff --git a/lib/dpkg/varbuf.c b/lib/dpkg/varbuf.c
index 99dd005..7c6edab 100644
--- a/lib/dpkg/varbuf.c
+++ b/lib/dpkg/varbuf.c
@@ -28,6 +28,7 @@
#include <dpkg/dpkg.h>
#include <dpkg/dpkg-db.h>
+#include <dpkg/i18n.h>
void
varbufaddc(struct varbuf *v, int c)
@@ -74,7 +75,7 @@ int varbufvprintf(struct varbuf *v, const char *fmt, va_list
va) {
va_end(al);
if (needed < 0)
- ohshite("error printing into varbuf variable");
+ ohshite(_("error formatting string into varbuf variable"));
varbuf_grow(v, needed + 1);
@@ -83,7 +84,7 @@ int varbufvprintf(struct varbuf *v, const char *fmt, va_list
va) {
va_end(al);
if (r < 0)
- ohshite("error printing into varbuf variable");
+ ohshite(_("error formatting string into varbuf variable"));
v->used += r;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]