From 78145f9162b64a047e14a160ceed688897303010 Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sat, 23 May 2015 22:44:10 +0400 Subject: [PATCH] Fix typo when converting font to user-readable string If a font uses both underline and strike-through the user-readable string would read "underlinedstrikethrough". Prepend a space to the strike-through translation as is already the case for the other font adjectives (except the very first one). Not prepending a space outside of the translation for i18n reasons (such as RTL though in this case that doesn't apply because of the way the string gets concatenated). --- src/common/fontcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index 9256c7a5f0..b850783b69 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -802,7 +802,7 @@ wxString wxNativeFontInfo::ToUserString() const if ( GetStrikethrough() ) { - desc << _("strikethrough"); + desc << _(" strikethrough"); } switch ( GetWeight() )