From: Dan F. <da...@co...> - 2010-01-29 05:08:09
|
libexif is pretty inconsistent about whether it returns strings in upper case, lower case or mixed case. For example: Resolution Unit |Inch YCbCr Positioning |centerd Exposure Program |Normal program Orientation |top - left Metering Mode |Center-Weighted Average Quality |BASIC Unknown tag |0 FlashPixVersion |Unknown FlashPix Version This not only looks funny, but makes the job of translators more difficult; forty strings appear up to three times each, differing only in case and spacing. I'm going to make these more consistent. If I don't hear any objections, I'm going to make the names/titles (the part before the |) mixed upper and lower case like an actual title (as most of them above are), and the values (after the |) all lower case, except when certain words or abbreviations have to be capitalized. The examples above would then look like this: Resolution Unit |inch YCbCr Positioning |centerd Exposure Program |normal program Orientation |top - left Metering Mode |center-weighted average Quality |basic Unknown Tag |0 FlashPixVersion |unknown FlashPix version This is going to mean translators are going to have to fix lots of translations in the short term, but the output will be nicer in the long term. I'll send the new .pot file to the translators right away to give them lots of time to update translations before the next release. >>> Dan |