]> git.lyx.org Git - features.git/commitdiff
Get rid of ugly strings in .po file
authorPavel Sanda <sanda@lyx.org>
Fri, 18 Jan 2008 22:50:19 +0000 (22:50 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 18 Jan 2008 22:50:19 +0000 (22:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22625 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.cpp

index 4884fe9993402c2b36c52e4210acb62490d8a45f..2a543ff5a7e2cf29b573c7e890aa0a51f6a0f68f 100644 (file)
@@ -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);
        }