break;
case EXIF_FORMAT_UNDEFINED:
default:
- snprintf (v, maxlen, _("%li bytes unknown data: "),
- (long int) entry->size);
+ snprintf (v, maxlen, _("%i bytes unknown data: "),
+ entry->size);
for (i = 0; i < (int)entry->size; i++) {
sprintf (buf, "%02x", entry->data[i]);
strncat (v, buf, maxlen - strlen (v));
/* search the tag */
for (i = 0; (items[i].tag && items[i].tag != entry->tag); i++);
if (!items[i].tag) {
- strncpy (val, "Internal error", maxlen);
+ strncpy (val, _("Internal error"), maxlen);
break;
}
(items[i].elem[j].index < vs); j++);
if (items[i].elem[j].index != vs) {
snprintf (val, maxlen,
- "Internal error (unknown value %i)", vs);
+ _("Internal error (unknown value %i)"), vs);
break;
}
strncpy (val, items[i].elem[j].string, maxlen);
/* search the tag */
for (i = 0; (items2[i].tag && items2[i].tag != entry->tag); i++);
if (!items2[i].tag) {
- strncpy (val, "Internal error", maxlen);
+ strncpy (val, _("Internal error"), maxlen);
break;
}
|| ((items2[i].elem[j].index2 == vs2) && (items2[i].elem[j].index1 < vs))); j++);
if ((items2[i].elem[j].index1 != vs) || (items2[i].elem[j].index2 != vs2)) {
snprintf (val, maxlen,
- "Internal error (unknown value %i %i )", vs, vs2);
+ _("Internal error (unknown value %i %i)"), vs, vs2);
break;
}
strncpy (val, items2[i].elem[j].string, maxlen);
case MNOTE_PENTAX_TAG_PRINTIM:
CF (entry->format, EXIF_FORMAT_UNDEFINED, val, maxlen);
CC (entry->components, 124, val, maxlen);
- snprintf (val, maxlen, "%li bytes unknown data",
- entry->components);
+ snprintf (val, maxlen, _("%i bytes unknown data"),
+ entry->size);
break;
case MNOTE_PENTAX_TAG_TZ_CITY:
CF (entry->format, EXIF_FORMAT_UNDEFINED, val, maxlen);
break;
case EXIF_FORMAT_UNDEFINED:
default:
- snprintf (val, maxlen, "%li bytes unknown data",
- entry->components);
+ snprintf (val, maxlen, _("%i bytes unknown data"),
+ entry->size);
break;
}
break;