Bug 401108 - Suspend prevention notification truncated in Russian
Summary: Suspend prevention notification truncated in Russian
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power and Battery widget (show other bugs)
Version: 5.13.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-16 13:53 UTC by Alexander Potashev
Modified: 2020-05-22 12:47 UTC (History)
2 users (show)

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


Attachments
screenshot (26.40 KB, image/png)
2018-11-16 13:53 UTC, Alexander Potashev
Details
translations before Russian translation was shortened (1.23 MB, image/png)
2019-12-02 10:22 UTC, Alexander Potashev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2018-11-16 13:53:19 UTC
Created attachment 116349 [details]
screenshot

SUMMARY
Suspend prevention notification truncated in Russian.

When using Plasma in Russian, the notification "Your notebook is configured not to suspend when closing the lid while an external monitor is connected" is truncated because it can't fit in three lines, see screenshot. Please enlarge the text area when needed to fit the whole text.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:  5.13.5
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2019-11-14 02:57:56 UTC
There's just not a huge amount of space there. Can you maybe use a shorter translation?
Comment 2 Alexander Potashev 2019-12-02 10:21:29 UTC
Russian translation was indeed too long. I have now shortened it to about the same length as the Greek one. Not sure if it was enough though.
Comment 3 Alexander Potashev 2019-12-02 10:22:14 UTC
Created attachment 124256 [details]
translations before Russian translation was shortened
Comment 6 Nate Graham 2020-05-22 12:47:20 UTC
Git commit 544f917efae3b7a580adba66aee5b53fd5d69ab1 by Nate Graham.
Committed on 22/05/2020 at 12:47.
Pushed by ngraham into branch 'master'.

[applets/batterymonitor] Improve UI for power management inhibition

This patch improves the UI for inhibiting power management and seeing
which apps are automatically doing it. Here are the changes, explained:

1. Use less jargonistic terminology for the feature itself, and remove
   the explanatory tooltip which is no longer necessary
2. Show the full list of apps which are inhibiting power management,
   because we have the space now that app icons are smaller
3. Correctly show and hide the list of inhibitions based on count and
   Whether or not the user has independently suppressed PM
4. Leave a bit more room for long reasons and alert translators to
   minimize string length as much as possible
FIXED-IN: 5.20.0

M  +1    -1    applets/batterymonitor/package/contents/ui/InhibitionHint.qml
M  +28   -28   applets/batterymonitor/package/contents/ui/PowerManagementItem.qml
M  +1    -1    applets/batterymonitor/package/contents/ui/batterymonitor.qml

https://invent.kde.org/plasma/plasma-workspace/commit/544f917efae3b7a580adba66aee5b53fd5d69ab1