function potx_test_7_page in Translation template extractor 7
Same name and namespace in other branches
- 8 tests/potx_test_7.module \potx_test_7_page()
- 6.3 tests/potx_test_7.module \potx_test_7_page()
- 7.2 tests/potx_test_7.module \potx_test_7_page()
1 string reference to 'potx_test_7_page'
- potx_test_7_menu in tests/
potx_test_7.module - Implementation of hook_menu()
File
- tests/
potx_test_7.module, line 39 - File used purely to test the parser in potx.
Code
function potx_test_7_page() {
t('This is a test string.');
format_plural($count, '1 test string', '@count test strings');
watchdog('test watchdog type', 'My watchdog message');
st('Installer only test string');
$t('Dynamic callback test string');
t('Test string in context', array(), array(
'context' => 'Test context',
));
t('');
st('Installer string in context', array(), array(
'context' => 'Installer context',
));
$t('Dynamic string in context', array(), array(
'context' => 'Dynamic context',
));
}