Update of /cvsroot/libexif/libexif/libexif
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7056/libexif
Modified Files:
exif-entry.c exif-format.c
Log Message:
Make a few format strings untranslatable. Made some Canon MakerNote
entries translatable.
Index: exif-entry.c
===================================================================
RCS file: /cvsroot/libexif/libexif/libexif/exif-entry.c,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -p -d -r1.132 -r1.133
--- exif-entry.c 13 Aug 2009 07:56:37 -0000 1.132
+++ exif-entry.c 17 Sep 2009 22:32:59 -0000 1.133
@@ -1045,9 +1045,9 @@ exif_entry_get_value (ExifEntry *e, char
}
d = (double) v_rat.numerator / (double) v_rat.denominator;
if (d < 1)
- snprintf (val, maxlen, _("1/%d"), (int) (0.5 + 1. / d));
+ snprintf (val, maxlen, _("1/%i"), (int) (0.5 + 1. / d));
else
- snprintf (val, maxlen, _("%d"), (int) d);
+ snprintf (val, maxlen, "%i", (int) d);
if (maxlen > strlen (val) + strlen (_(" sec.")))
strncat (val, _(" sec."), maxlen - strlen (val) - 1);
break;
Index: exif-format.c
===================================================================
RCS file: /cvsroot/libexif/libexif/libexif/exif-format.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -d -r1.16 -r1.17
--- exif-format.c 17 Feb 2008 18:31:55 -0000 1.16
+++ exif-format.c 17 Sep 2009 22:32:59 -0000 1.17
@@ -31,7 +31,7 @@ static const struct {
unsigned char size;
} ExifFormatTable[] = {
{EXIF_FORMAT_BYTE, N_("Byte"), 1},
- {EXIF_FORMAT_ASCII, N_("Ascii"), 1},
+ {EXIF_FORMAT_ASCII, N_("ASCII"), 1},
{EXIF_FORMAT_SHORT, N_("Short"), 2},
{EXIF_FORMAT_LONG, N_("Long"), 4},
{EXIF_FORMAT_RATIONAL, N_("Rational"), 8},
|