Explorar el Código

pa #676: renommer "supports de cours" en "supports pedagogiques"

FGM hace 13 años
padre
commit
7d6e3bc53c
Se han modificado 2 ficheros con 5 adiciones y 5 borrados
  1. 2 2
      fgcf.features.content.inc
  2. 3 3
      fgcf.module

+ 2 - 2
fgcf.features.content.inc

@@ -186,7 +186,7 @@ o|Oui',
       'show_depth' => 1,
       'default_value' => NULL,
       'default_value_php' => NULL,
-      'label' => 'Supports de cours',
+      'label' => 'Supports pédagogiques',
       'weight' => '11',
       'description' => '',
       'type' => 'content_taxonomy_autocomplete',
@@ -983,7 +983,7 @@ o|Oui',
     t('Référence'),
     t('Sanction'),
     t('Site'),
-    t('Supports de cours'),
+    t('Supports pédagogiques'),
   );
 
   return $fields;

+ 3 - 3
fgcf.module

@@ -124,7 +124,7 @@ function fgcf_term_path($term) {
       return 'fgcf/theme/'. $term->tid;
       break;
 
-    case _fgcf_get_vocabulary_by_name('FGCF Supports de cours'):
+    case _fgcf_get_vocabulary_by_name('FGCF Supports pédagogiques'):
       return 'fgcf/support/'. $term->tid;
       break;
 
@@ -244,7 +244,7 @@ function fgcf_page_support($format = 0) {
   $filter_form = drupal_get_form('fgcf_filter_form');
 
   $ret = $filter_form;
-  $vid = _fgcf_get_vocabulary_by_name('FGCF Supports de cours');
+  $vid = _fgcf_get_vocabulary_by_name('FGCF Supports pédagogiques');
   if (empty($format)) {
     $ret .= views_embed_view('fgcf_supports_de_formations', 'default', $vid);
   }
@@ -254,7 +254,7 @@ function fgcf_page_support($format = 0) {
       $format = 0;
     }
     else {
-      $bc[] = l(t('Supports de formation'), 'fgcf/support');
+      $bc[] = l(t('Supports pédagogiques'), 'fgcf/support');
       drupal_set_title(t('Support: @term', array('@term' => $term->name)));
       $values = _fgcf_filter_form_translate_values();
     }