mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
Merge pull request #33197 from sonikf/sonikf-patch-21-1
fix trans for non latin languages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user