Bug 468017 - Percentage value not localised
Summary: Percentage value not localised
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.03.90
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-31 22:33 UTC by Emir SARI
Modified: 2023-04-02 12:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot (722.23 KB, image/png)
2023-03-31 22:33 UTC, Emir SARI
Details

Note You need to log in before you can comment on or make changes to this bug.
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.