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

Diff of /contributions/modules/potx/tests/potx_test_5.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_5.module,v 1.1.4.2 2009/11/17 12:33:17 goba Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 19  function potx_test_5_menu($may_cache) { Line 19  function potx_test_5_menu($may_cache) {
19        'access' => user_access('access content'),        'access' => user_access('access content'),
20        'callback' => 'potx_test_5_page',        'callback' => 'potx_test_5_page',
21      );      );
22        $items[] = array('path' =>
23          'test-empty-t',
24          'title' => t(''),
25        );
26    }    }
27    return $items;    return $items;
28  }  }
# Line 32  function potx_test_5_page() { Line 36  function potx_test_5_page() {
36    $t('Dynamic callback test string');    $t('Dynamic callback test string');
37    
38    t('Test string in context', array(), array('context' => 'Test context'));    t('Test string in context', array(), array('context' => 'Test context'));
39      t('');
40  }  }
41    
42  function potx_test_5_perm() {  function potx_test_5_perm() {
43    return array('test potx permission', 'one more test potx permission');    return array('test potx permission', 'one more test potx permission', '');
44  }  }
45    
46  function potx_test_5_permission() {  function potx_test_5_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