StyledEdit: fix replace menu item

Regression after hrev54812.

Change-Id: I5f8e06c5b161eb859afc7f03b08e1c0cb07a99d0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3604
Reviewed-by: humdinger <humdingerb@gmail.com>
This commit is contained in:
X512 2021-01-06 20:19:44 +09:00 committed by humdinger
parent 96fbe0f747
commit 18f5075784

View File

@ -1177,7 +1177,7 @@ StyledEditWindow::_InitWindow(uint32 encoding)
new BMessage(MENU_FIND_AGAIN), 'G');
fFindAgainItem->SetEnabled(false);
fReplaceItem = new BMenuItem(B_TRANSLATE(B_UTF8_ELLIPSIS),
fReplaceItem = new BMenuItem(B_TRANSLATE("Replace" B_UTF8_ELLIPSIS),
new BMessage(MENU_REPLACE), 'R');
fReplaceSameItem = new BMenuItem(B_TRANSLATE("Replace next"),
@ -1310,7 +1310,7 @@ StyledEditWindow::_InitWindow(uint32 encoding)
.AddItem(B_TRANSLATE("Find" B_UTF8_ELLIPSIS), MENU_FIND, 'F')
.AddItem(fFindAgainItem)
.AddItem(B_TRANSLATE("Find selection"), MENU_FIND_SELECTION, 'H')
.AddItem(B_TRANSLATE("Replace" B_UTF8_ELLIPSIS), MENU_REPLACE, 'R')
.AddItem(fReplaceItem)
.AddItem(fReplaceSameItem)
.End()
.AddItem(fFontMenu)