Merge pull request #33197 from sonikf/sonikf-patch-21-1
fix trans for non latin languages
This commit is contained in:
commit
c073a0738d
1 changed files with 5 additions and 2 deletions
|
|
@ -39,8 +39,11 @@
|
|||
* @var Translate $langs
|
||||
* @var User $user
|
||||
*
|
||||
* @var array $toselect
|
||||
* @var ?int[] $toselect Items selected on page, only used to see if not empty here
|
||||
*/
|
||||
'
|
||||
@phan-var-force ?int[] $toselect
|
||||
';
|
||||
|
||||
if (!defined('USE_CUSTOM_REPORT_AS_INCLUDE')) {
|
||||
require '../main.inc.php';
|
||||
|
|
@ -646,7 +649,7 @@ if (!defined('MAIN_CUSTOM_REPORT_KEEP_GRAPH_ONLY')) {
|
|||
foreach ($arrayofmesures as $key => $val) {
|
||||
$simplearrayofmesures[$key] = $arrayofmesures[$key]['label'];
|
||||
}
|
||||
print $form->multiselectarray('search_measures', $simplearrayofmesures, $search_measures, 0, 0, 'minwidth300 widthcentpercentminusx', 1, 0, '', '', $langs->trans("Measures")); // Fill the array $arrayofmeasures with possible fields
|
||||
print $form->multiselectarray('search_measures', $simplearrayofmesures, $search_measures, 0, 0, 'minwidth300 widthcentpercentminusx', 1, 0, '', '', $langs->transnoentitiesnoconv("Measures")); // Fill the array $arrayofmeasures with possible fields
|
||||
print '</div>';
|
||||
|
||||
// XAxis
|
||||
|
|
|
|||
Loading…
Reference in a new issue