Bug 399764 - i18n: No support for plurals in "... seconds"
Summary: i18n: No support for plurals in "... seconds"
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 18.04.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-13 16:25 UTC by Alexander Potashev
Modified: 2018-10-17 22:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 18.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2018-10-13 16:25:14 UTC
SUMMARY
No support for plurals in the spinbox suffix "... second"/" seconds". "2 seconds" and "5 seconds" should be translated differently into Russian ("2 секунды", "5 секунд" - note the difference in ending), but in the current version this can't be done.

SOFTWARE VERSIONS
spectacle 18.04.3
KDE Frameworks 5.48.0,
Qt 5.11.1 (собрана с версией 5.11.1),
Оконная система xcb.

ADDITIONAL INFORMATION
Discussed here:
- https://git.reviewboard.kde.org/r/129568/
- this thread: https://marc.info/?l=kde-i18n-doc&m=148024960716903&w=1
Comment 1 Nate Graham 2018-10-13 20:37:03 UTC
https://phabricator.kde.org/D16186. Let me know if that works for you. Thanks!
Comment 2 Nate Graham 2018-10-17 22:31:36 UTC
Git commit f53c2d09f30b370a42f1c3fb40d26b381d853e0e by Nate Graham.
Committed on 17/10/2018 at 22:31.
Pushed by ngraham into branch 'master'.

Fix localization for number of seconds in spinbox

Summary:
FIXED-IN: 18.12.0

Test Plan:
Works for English::
```
0.5 seconds
1 second
1.5 seconds
2 seconds
2.5 seconds
[etc]
```

Reviewers: #localization, #spectacle, aspotashev, aacid

Reviewed By: #localization, aacid

Subscribers: stikonas, sdepiets, kde-i18n-doc, aacid

Tags: #spectacle

Differential Revision: https://phabricator.kde.org/D16186

M  +4    -3    src/Gui/SmartSpinBox.cpp

https://commits.kde.org/spectacle/f53c2d09f30b370a42f1c3fb40d26b381d853e0e