From: Pavel Sanda Date: Fri, 18 Jan 2008 22:50:19 +0000 (+0000) Subject: Get rid of ugly strings in .po file X-Git-Tag: 1.6.10~6555 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f0f485e40d9bc8aa130f6783afecc64fd61111f7;p=lyx.git Get rid of ugly strings in .po file git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22625 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 4884fe9993..2a543ff5a7 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -1143,23 +1143,26 @@ bool BufferView::dispatch(FuncRequest const & cmd) int const chars_blanks = countChars(from, to, true); docstring message; if (cur.selection()) - message = _("Statistics for the selection:\n"); + message = _("Statistics for the selection:"); else - message = _("Statistics for the document:\n"); + message = _("Statistics for the document:"); + message += "\n\n"; if (words != 1) - message += bformat(_("\n%1$d words"), words); + message += bformat(_("%1$d words"), words); else - message += _("\nOne word"); + message += _("One word"); + message += "\n"; if (chars_blanks != 1) - message += bformat(_("\n%1$d characters (including blanks)"), + message += bformat(_("%1$d characters (including blanks)"), chars_blanks); else - message += _("\nOne character (including blanks)"); + message += _("One character (including blanks)"); + message += "\n"; if (chars != 1) - message += bformat(_("\n%1$d characters (excluding blanks)"), + message += bformat(_("%1$d characters (excluding blanks)"), chars); else - message += _("\nOne character (excluding blanks)"); + message += _("One character (excluding blanks)"); Alert::information(_("Statistics"), message); }