/[drupal]/contributions/modules/potx/tests/potx_test_6.module
ViewVC logotype

Diff of /contributions/modules/potx/tests/potx_test_6.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.4.2 by goba, Tue Nov 17 12:33:17 2009 UTC revision 1.1.4.3 by goba, Tue Nov 17 12:35:09 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: l10n_test.module,v 1.1.2.1 2009/09/08 11:23:30 goba Exp $  // $Id: potx_test_6.module,v 1.1.4.2 2009/11/17 12:33:17 goba Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 16  function potx_test_6_menu() { Line 16  function potx_test_6_menu() {
16      'description' => 'This is a test menu item',      'description' => 'This is a test menu item',
17      'page callback' => 'potx_test_6_page',      'page callback' => 'potx_test_6_page',
18    );    );
19      $items['translate/test-empty'] = array(
20        'title' => '',
21      );
22    return $items;    return $items;
23  }  }
24    
# Line 28  function potx_test_6_page() { Line 31  function potx_test_6_page() {
31    $t('Dynamic callback test string');    $t('Dynamic callback test string');
32    
33    t('Test string in context', array(), array('context' => 'Test context'));    t('Test string in context', array(), array('context' => 'Test context'));
34      t('');
35  }  }
36    
37  function potx_test_6_perm() {  function potx_test_6_perm() {
38    return array('test potx permission', 'one more test potx permission');    return array('test potx permission', 'one more test potx permission', '');
39  }  }
40    
41  function potx_test_6_permission() {  function potx_test_6_permission() {

Legend:
Removed from v.1.1.4.2  
changed lines
  Added in v.1.1.4.3

  ViewVC Help
Powered by ViewVC 1.1.3