From bc2c095db69be01837d07af1151b0f0a3061713f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 4 Jan 2016 15:44:31 +0300 Subject: Add missing TRANSLATORS comments to translation strings. --- src/gui/widgets/tabs/setup_colors.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/setup_colors.cpp') diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp index 94a380b98..22a07f23d 100644 --- a/src/gui/widgets/tabs/setup_colors.cpp +++ b/src/gui/widgets/tabs/setup_colors.cpp @@ -45,8 +45,8 @@ #include "debug.h" -// TRANSLATORS: color selection preview message const char *const Setup_Colors::rawmsg = + // TRANSLATORS: color selection preview message N_("This is what the color looks like"); Setup_Colors::Setup_Colors(const Widget2 *const widget) : @@ -105,16 +105,19 @@ Setup_Colors::Setup_Colors(const Widget2 *const widget) : std::string longText = _("Static"); const Font *const font = getFont(); + // TRANSLATORS: color type if (getFont()->getWidth(_("Pulse")) > font->getWidth(longText)) { // TRANSLATORS: color type longText = _("Pulse"); } + // TRANSLATORS: color type if (getFont()->getWidth(_("Rainbow")) > font->getWidth(longText)) { // TRANSLATORS: color type longText = _("Rainbow"); } + // TRANSLATORS: color type if (getFont()->getWidth(_("Spectrum")) > font->getWidth(longText)) { // TRANSLATORS: color type -- cgit v1.2.3-60-g2f50