public function translateSelectOptions($optSelect) {
	
		// load translation strings
		$this->loadStrings();
		
		foreach ($optSelect as $value=>$text) {
			
			// tricks to leave untranslated english-only options
			if (strtoupper($text) == $text and strlen($text) > 3) {
				$optSelect[$value] = $this->get($text);
			}
			
		}
	
		return $optSelect;
	
	}
public function translateSelectOptions($optSelect) {
	
		// load translation strings
		$this->loadStrings();
		
		foreach ($optSelect as $value=>$text) {
			
			// tricks to leave untranslated english-only options
			if (strtoupper($text) == $text and strlen($text) > 3) {
				$optSelect[$value] = $this->get($text);
			}
			
		}
	
		return $optSelect;
	
	}
public function translateSelectOptions ( $ optSelect ) { // load translation strings $ this -> loadStrings ( ) ; foreach ( $ optSelect as $ value => $ text ) { // tricks to leave untranslated english-only options if ( strtoupper ( $ text ) == $ text and strlen ( $ text ) > 3 ) { $ optSelect [ $ value ] = $ this -> get ( $ text ) ; } } return $ optSelect ; }
Translate the text in an array of select-options strings if uppercase.

@param	array	List of (value=>text)s to translate.
@return	array
Translate the text in an array of select - options strings if uppercase .