Project

General

Profile

Patch #642

string formatting of error #31

Added by Matthias Barkhoff over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
miscellaneous
Target version:
Start date:
27 Jul 2009
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

exiv2 prints out "Writing to %2 images is not supported" when trying to write unsupported file types.
This should fix it:

$ svn diff
Index: src/error.cpp
===================================================================
--- src/error.cpp       (revision 1874)
+++ src/error.cpp       (working copy)
@@ -78,7 +78,7 @@
         { 28, N_("Invalid charset: `%1'") }, // %1=charset name
         { 29, N_("Unsupported date format") },
         { 30, N_("Unsupported time format") },
-        { 31, N_("Writing to %2 images is not supported") }, // %2=image format
+        { 31, N_("Writing to %1 images is not supported") }, // %1=image format
         { 32, N_("Setting %1 in %2 images is not supported") }, // %1=metadata type, %2=image format
         { 33, N_("This does not look like a CRW image") },
         { 34, N_("%1: Not supported") }, // %1=function

Associated revisions

Revision 1877 (diff)
Added by Andreas Huggel over 12 years ago

#642: Applied patch from Matthias Barkhoff.

History

#1

Updated by Andreas Huggel over 12 years ago

  • Status changed from New to Resolved
  • Target version set to 0.19
  • % Done changed from 0 to 100

Thanks for the patch!

#2

Updated by Andreas Huggel almost 12 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF