original_string: protected static function get_component_filename($component) {
          if (is_null(self::$components)) {
              self::$components = self::list_components();
          }
          $return = false;
          foreach (self::$components as $legacy => $normalized) {
              if ($component === $normalized) {
                  $return = $legacy.'.php';
                  break;
              }
          }
          return $return;
      }
code: protected static function get_component_filename($component) {
          if (is_null(self::$components)) {
              self::$components = self::list_components();
          }
          $return = false;
          foreach (self::$components as $legacy => $normalized) {
              if ($component === $normalized) {
                  $return = $legacy.'.php';
                  break;
              }
          }
          return $return;
      }
code_tokens: protected static function get_component_filename ( $ component ) { if ( is_null ( self :: $ components ) ) { self :: $ components = self :: list_components ( ) ; } $ return = false ; foreach ( self :: $ components as $ legacy => $ normalized ) { if ( $ component === $ normalized ) { $ return = $ legacy . '.php' ; break ; } } return $ return ; }
docstring: Returns the name of the file where the component's local strings should be exported into
  
  @param string $component normalized name of the component, eg 'core' or 'mod_workshop'
  @return string|boolean filename eg 'moodle.php' or 'workshop.php', false if not found
docstring_tokens: Returns the name of the file where the component s local strings should be exported into