function potx_test_8_sample in Translation template extractor 6.3
Same name and namespace in other branches
- 7.2 tests/potx_test_8.module \potx_test_8_sample()
Let's see if we catch errors in
Plugin annotation
@Translation() annotation.
@TestAnnotation2(
test_1 = @Translation("Bad translation annotation),
test_2 = @Translation("Another good translation annotation"),
test_3 = @Translation Even worse,
test_4 = @Translation("Final good translation annotation"),
)
1 call to potx_test_8_sample()
- potx_test_8_example in tests/
potx_test_8.module - Plugin annotation @TestAnnotation( id = "test_annotation", test_label = @Translation("Good translation annotation"), test_label_context = @Translation("Translation in good context", context="Translation test") )
File
- tests/
potx_test_8.module, line 48 - File used purely to test the parser in potx.
Code
function potx_test_8_sample() {
}