| 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 |
| 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 |
|
|
| 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() { |