Projet

Général

Profil

Révision 5d12d676

Ajouté par Assos Assos il y a environ 6 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/tests/views_translatable.test
31 31
          'help' => t('This is a test description.'),
32 32
          'handler' => 'views_plugin_localization_test',
33 33
          'parent' => 'parent',
34
          'path' => drupal_get_path('module', 'views') .'/tests',
34
          'path' => drupal_get_path('module', 'views') . '/tests',
35 35
        ),
36 36
      ),
37 37
    );
......
100 100
    $view->init_display();
101 101

  
102 102
    // Don't run translation. We just want to get the right keys.
103

  
104 103
    foreach ($view->display as $display_id => $display) {
105 104
      $translatables = array();
106 105
      $display->handler->unpack_translatables($translatables);
......
145 144
  }
146 145

  
147 146
  public function view_unpack_translatable() {
148
    $view = new view;
147
    $view = new view();
149 148
    $view->name = 'view_unpack_translatable';
150 149
    $view->description = '';
151 150
    $view->tag = '';
......
218 217

  
219 218
    return $view;
220 219
  }
220

  
221 221
}

Formats disponibles : Unified diff