Bug 196629

Summary: PDF version metadata wrongly uses localised format specifier
Product: [Applications] okular Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.8.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Karl Ove Hufthammer 2009-06-15 16:22:48 UTC
Version:           0.8.3 (using 4.2.3 (KDE 4.2.3), 4.2.3-2.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.24-170.2.68.fc10.i686

The ‘File → Properties’ dialogue wrongly uses a localised number specifier for the ‘Format’ field. The version number is formatted as number, but should be formatted as a string.

E.g., in Norwegian, the field is shown as ‘PDF v. 1,7‘ instead of ‘PDF v. 1.7‘ (a comma instead of a period).

And really, the field should say ‘PDF 1.7‘, as PDF doesn’t use a ‘v.’ or ‘version’ prefix in its version names.
Comment 1 Pino Toscano 2009-06-16 16:17:52 UTC
(In reply to comment #0)
> And really, the field should say ‘PDF 1.7‘, as PDF doesn’t use a ‘v.’ or
> ‘version’ prefix in its version names.

The field is called "Format", so the value is "PDF v[ersion] 1.x"; don't see anything wrong with it.
Comment 2 Pino Toscano 2009-06-16 16:19:32 UTC
SVN commit 982664 by pino:

format the PDF version as string
BUG: 196629


 M  +1 -1      generator_pdf.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=982664