Bug 468017

Summary: Percentage value not localised
Product: [Applications] okular Reporter: Emir SARI <emir_sari>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: oliver.sander
Priority: NOR    
Version: 23.03.90   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Emir SARI 2023-03-31 22:33:46 UTC
Created attachment 157753 [details]
screenshot

See screenshot. The QSpinbox in the Settings view is not localisable.

There is a recent helper Lukas Sommer has kindly provided[1], it might be helpful for fixing this.

[1]: https://invent.kde.org/libraries/perceptualcolor/-/snippets/2565
Comment 1 Oliver Sander 2023-04-02 12:04:19 UTC
Is this fixed by your patch https://invent.kde.org/graphics/okular/-/merge_requests/675 ?
Comment 2 Emir SARI 2023-04-02 12:19:12 UTC
No, this one is different. Since the percentage value in Settings is within a QSpinbox, it is not possible to expose it for translation in the %1% format (AFAIK). My patch fixes the zoom drop-down menu percentage value.