-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'translate-aria-label' into develop
(close #2120)
- Loading branch information
Showing
8 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?php | ||
$element = new \Laminas\Form\Element\Select('has_media'); | ||
$element->setLabel($this->translate('Search by media presence')) | ||
$element | ||
->setLabel('Search by media presence') // @translate | ||
->setValueOptions([ | ||
'1' => $this->translate('Has media'), | ||
'0' => $this->translate('Has no media'), | ||
'1' => 'Has media', // @translate | ||
'0' => 'Has no media', // @translate | ||
]) | ||
->setEmptyOption($this->translate('Select media presence…')) | ||
->setEmptyOption('Select media presence…') // @translate | ||
->setValue($query['has_media'] ?? '') | ||
->setAttribute('id', 'has_media'); | ||
echo $this->formRow($element); | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,3 @@ | |
]); ?> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
<?php | ||
$element = new \Laminas\Form\Element\Select('is_public'); | ||
$element->setLabel($this->translate('Search by visibility')) | ||
$element->setLabel('Search by visibility') // @translate | ||
->setValueOptions([ | ||
'1' => $this->translate('Public'), | ||
'0' => $this->translate('Not public'), | ||
'1' => 'Public', // @translate | ||
'0' => 'Not public', // @translate | ||
]) | ||
->setEmptyOption($this->translate('Select visibility…')) | ||
->setEmptyOption('Select visibility…') // @translate | ||
->setValue($query['is_public'] ?? '') | ||
->setAttribute('id', 'is_public'); | ||
echo $this->formRow($element); | ||
?> |