Patch #642

string formatting of error #31

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

Status:ClosedStart date:27 Jul 2009
Priority:LowDue date:
Assignee:-% Done:

100%

Category:miscellaneousEstimated time:0.50 hour
Target version:0.19

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
Added by Andreas Huggel over 8 years ago

#642: Applied patch from Matthias Barkhoff.

History

#1 Updated by Andreas Huggel over 8 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 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux