kwin/effects
David Edmundson 254690e899 Correctly set i18n suffix in mousemark spinbox.
Summary:
QSpinBox can't handle plural suffixes. Something previously done by
KIntSpinBox.

Using setSuffix(ki18np("pixel", "pixels")).toString() does nothing, as
at the time of conversion we don't know which one to use.

This patch uses KPluralHandlingSpinBox and correct ki18np.

Note, "new" dependency was already linked implicitly in other kwin, but
we need to add it for this KCM.

Test Plan:
Opened KCM (in English) set counter to 1 pixel and 2 pixels.
No longer had a big warning. Also appropriate number of s's appeared.

Reviewers: #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3222
2016-11-02 13:07:39 +00:00
..
backgroundcontrast [effects] Disable Blur and BackgroundContrast on software emulation 2016-08-09 14:56:13 +02:00
blur [effects] Disable Blur and BackgroundContrast on software emulation 2016-08-09 14:56:13 +02:00
coverswitch Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
cube Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
desktopgrid Adding more frameless hints 2016-08-11 08:45:41 +02:00
dialogparent SVN_SILENT made messages (.desktop file) - always resolve ours 2016-10-02 12:02:41 +00:00
diminactive
dimscreen
eyeonscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2016-09-13 10:27:05 +00:00
fade SVN_SILENT made messages (.desktop file) - always resolve ours 2016-02-20 09:52:01 +00:00
fadedesktop
fallapart Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
flipswitch Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
glide Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
highlightwindow [effects] Repaint expandedGeometry in HighlightWindowsEffect 2016-09-14 10:44:07 +02:00
invert Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
kscreen
login SVN_SILENT made messages (.desktop file) - always resolve ours 2016-02-20 09:52:01 +00:00
logout/data [effects] Drop the logout effect 2016-08-24 10:09:22 +02:00
lookingglass [effects] Check for LimitedNPOT 2016-02-02 12:37:14 +01:00
magiclamp Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
magnifier Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
maximize SVN_SILENT made messages (.desktop file) - always resolve ours 2016-05-31 11:06:54 +00:00
minimizeanimation
morphingpopups SVN_SILENT made messages (.desktop file) - always resolve ours 2016-10-21 12:01:48 +00:00
mouseclick SVN_SILENT made messages (.desktop file) - always resolve ours 2016-02-20 09:52:01 +00:00
mousemark Correctly set i18n suffix in mousemark spinbox. 2016-11-02 13:07:39 +00:00
presentwindows Add support for touch events in the Effect system 2016-08-16 14:18:40 +02:00
resize SVN_SILENT made messages (.desktop file) - always resolve ours 2016-10-31 12:00:16 +00:00
scalein
screenedge
screenshot
sheet Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
showfps SVN_SILENT made messages (.desktop file) - always resolve ours 2016-05-31 11:06:54 +00:00
showpaint
slide Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
slideback
slidingpopups [effects/slidingpopups] Don't reference previous pixmap 2016-07-15 12:45:10 +02:00
snaphelper
startupfeedback [effects] Combine all shaders in resources 2016-02-01 08:42:30 +01:00
thumbnailaside Port to CMake AUTOMOC 2016-02-01 21:05:36 +01:00
touchpoints [effects] Add new effect for touch point visualization 2016-08-18 10:36:48 +02:00
trackmouse
translucency [effects/translucency] Cancel existing animations before starting new 2016-10-28 16:24:49 +02:00
windowaperture SVN_SILENT made messages (.desktop file) - always resolve ours 2016-02-09 10:37:25 +00:00
windowgeometry
wobblywindows Introduce an EffectsHandler::animationsSupported -> bool 2016-08-15 17:38:33 +02:00
zoom [effects/zoom] Remove unused variable 2016-06-29 10:51:47 +02:00
CMakeLists.txt [effects] Drop the logout effect 2016-08-24 10:09:22 +02:00
effect_builtins.cpp [effects] Drop the logout effect 2016-08-24 10:09:22 +02:00
effect_builtins.h [effects] Add enum value for new TouchPoints effect 2016-08-24 16:24:04 +02:00
kwineffect.desktop
logging.cpp pedantic fixes 2016-07-16 13:14:44 -04:00
Messages.sh
shaders.qrc [effects] Drop the logout effect 2016-08-24 10:09:22 +02:00