mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	add missing translations
This commit is contained in:
		| @@ -228,7 +228,7 @@ final class FilterOrderHelper | ||||
|         foreach ($this->checkboxes as $name => ['choices' => $choices, 'trans' => $trans]) { | ||||
|             $translatedChoice = array_combine($choices, [...$trans]); | ||||
|             foreach ($this->getCheckboxData($name) as $keyChoice) { | ||||
|                 $result[] = ['value' => $translatedChoice[$keyChoice], 'label' => '', 'position' => FilterOrderPositionEnum::Checkboxes->value, 'name' => $name]; | ||||
|                 $result[] = ['value' => $this->translator->trans($translatedChoice[$keyChoice]), 'label' => '', 'position' => FilterOrderPositionEnum::Checkboxes->value, 'name' => $name]; | ||||
|             } | ||||
|         } | ||||
|  | ||||
| @@ -246,7 +246,7 @@ final class FilterOrderHelper | ||||
|                     $value = (string) $selected; | ||||
|                 } | ||||
|  | ||||
|                 $result[] = ['value' => $value, 'label' => $label, 'position' => FilterOrderPositionEnum::EntityChoice->value, 'name' => $name]; | ||||
|                 $result[] = ['value' => $this->translator->trans($value), 'label' => $label, 'position' => FilterOrderPositionEnum::EntityChoice->value, 'name' => $name]; | ||||
|             } | ||||
|         } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user