mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Unify wording for statistics
Use 'no blanks' uniformly. Also remove separator in zoom menu.
This commit is contained in:
parent
974534f28a
commit
8319bdbbbe
@ -739,7 +739,7 @@ Menuset
|
||||
Separator
|
||||
Item "Word Count|W" "ui-toggle statistics-w"
|
||||
Item "Character Count|C" "ui-toggle statistics-cb"
|
||||
Item "Character Count (Without Blanks)|h" "ui-toggle statistics-c"
|
||||
Item "Character Count (No Blanks)|h" "ui-toggle statistics-c"
|
||||
End
|
||||
|
||||
End
|
||||
|
@ -1876,16 +1876,14 @@ void BufferView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
message += _("One word");
|
||||
message += "\n";
|
||||
if (chars_blanks != 1)
|
||||
message += bformat(_("%1$d characters (including blanks)"),
|
||||
chars_blanks);
|
||||
message += bformat(_("%1$d characters"), chars_blanks);
|
||||
else
|
||||
message += _("One character (including blanks)");
|
||||
message += _("One character");
|
||||
message += "\n";
|
||||
if (chars != 1)
|
||||
message += bformat(_("%1$d characters (excluding blanks)"),
|
||||
chars);
|
||||
message += bformat(_("%1$d characters (no blanks)"), chars);
|
||||
else
|
||||
message += _("One character (excluding blanks)");
|
||||
message += _("One character (no blanks)");
|
||||
|
||||
Alert::information(_("Statistics"), message);
|
||||
}
|
||||
|
@ -1831,7 +1831,6 @@ void MenuDefinition::expandZoomOptions(BufferView const * bv)
|
||||
toqstr(bformat(_("Reset to Default (%1$d%)|R"),
|
||||
lyxrc.defaultZoom)),
|
||||
FuncRequest(LFUN_BUFFER_ZOOM)));
|
||||
add(MenuItem(MenuItem::Separator));
|
||||
add(MenuItem(MenuItem::Command, qt_("Zoom In|I"),
|
||||
FuncRequest(LFUN_BUFFER_ZOOM_IN)));
|
||||
add(MenuItem(MenuItem::Command, qt_("Zoom Out|O"),
|
||||
|
Loading…
Reference in New Issue
Block a user