Skip to content

Commit 410efa2

Browse files
author
Benedikt Weber
committed
fixed button description to language string
1 parent ad40655 commit 410efa2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

administrator/components/com_content/View/Article/HtmlView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function (Toolbar $childBar) use ($checkedOut, $itemEditable, $canDo)
207207
$modalId = 'jform_request_id';
208208

209209
// Add button to open the modal
210-
ToolbarHelper::modal('ModalNewItem_' . $modalId, 'icon-new', 'New Menu Item');
210+
ToolbarHelper::modal('ModalNewItem_' . $modalId, 'icon-new', 'COM_CONTENT_ADD_NEW_MENU_ITEM');
211211

212212
// Add the modal field script to the document head.
213213
HTMLHelper::_('jquery.framework');

administrator/language/en-GB/en-GB.com_content.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
; Note : All ini files need to be saved as UTF-8
55

66
COM_CONTENT="Articles"
7+
COM_CONTENT_ADD_NEW_MENU_ITEM="New Menu Item"
78
COM_CONTENT_ARTICLE_CONTENT="Content"
89
COM_CONTENT_ARTICLES_TITLE="Articles"
910
COM_CONTENT_ATTRIBS_ARTICLE_SETTINGS_LABEL="Options"

0 commit comments

Comments
 (0)