Skip to content

Commit 03acbb7

Browse files
committed
MINOR Translatable strings in CMSMain (fixes #6523, thanks Tonyair)
1 parent dc045d0 commit 03acbb7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

code/CMSMain.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,9 +1342,16 @@ function SearchTreeForm() {
13421342
'Title',
13431343
_t('CMSMain.TITLEOPT', 'Title')
13441344
),
1345-
new TextField('Content', 'Text'),
1345+
new TextField('Content', _t('CMSMain.TEXTOPT','Text', PR_MEDIUM, 'Text field for fulltext search in page content')),
13461346
new DateField('EditedSince', _t('CMSMain_left.ss.EDITEDSINCE','Edited Since')),
1347-
new DropdownField('ClassName', 'Page Type', $pageTypes, null, null, 'Any'),
1347+
new DropdownField(
1348+
'ClassName',
1349+
_t('CMSMain.PAGETYPEOPT','Page Type', PR_MEDIUM, 'Dropdown for limiting search to a page type'),
1350+
$pageTypes,
1351+
null,
1352+
null,
1353+
_t('CMSMain.PAGETYPEANYOPT','Any')
1354+
),
13481355
new TextField(
13491356
'MenuTitle',
13501357
_t('CMSMain.MENUTITLEOPT', 'Navigation Label')

0 commit comments

Comments
 (0)