potx_coder_review |
./potx.module |
Callback implementation for coder review of one file. |
|
1 |
potx_drush_command |
./potx.drush.inc |
Implements hook_drush_command(). |
|
|
potx_drush_extract |
./potx.drush.inc |
Drush command callback. |
|
1 |
potx_drush_help |
./potx.drush.inc |
Implementation of hook_drush_help(). |
|
|
potx_help |
./potx.module |
Implementation of hook_help(). |
|
|
potx_menu |
./potx.module |
Implementation of hook_menu(). |
|
|
potx_requirements |
./potx.install |
Implementation of hook_requirements(). |
|
|
potx_reviews |
./potx.module |
Implementation of hook_reviews(). Coder module integration. |
|
|
potx_select_component_form |
./potx.admin.inc |
Component selection interface. |
|
1 |
potx_select_component_form_submit |
./potx.admin.inc |
Generate translation template or translation file for the requested component. |
|
|
potx_select_component_form_validate |
./potx.admin.inc |
Validation handler for potx component selection form. |
|
|
potx_status |
./potx.inc |
Status notification function. |
11 |
|
potx_test_5_menu |
tests/potx_test_5.module |
Implementation of hook_menu() |
|
|
potx_test_5_page |
tests/potx_test_5.module |
|
|
1 |
potx_test_5_perm |
tests/potx_test_5.module |
|
|
|
potx_test_5_permission |
tests/potx_test_5.module |
|
|
|
potx_test_6_menu |
tests/potx_test_6.module |
Implementation of hook_menu() |
|
|
potx_test_6_menu_alter |
tests/potx_test_6.module |
Implementation of hook_menu_alter() |
|
|
potx_test_6_page |
tests/potx_test_6.module |
|
|
1 |
potx_test_6_perm |
tests/potx_test_6.module |
|
|
|
potx_test_6_permission |
tests/potx_test_6.module |
|
|
|
potx_test_7_menu |
tests/potx_test_7.module |
Implementation of hook_menu() |
|
|
potx_test_7_menu_alter |
tests/potx_test_7.module |
Implementation of hook_menu_alter() |
|
|
potx_test_7_page |
tests/potx_test_7.module |
|
|
1 |
potx_test_7_perm |
tests/potx_test_7.module |
|
|
|
potx_test_7_permission |
tests/potx_test_7.module |
|
|
|
potx_test_8_empty |
tests/potx_test_8.module |
Empty annotations are not allowed either. |
|
|
potx_test_8_example |
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")
) |
|
|
potx_test_8_sample |
tests/potx_test_8.module |
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… |
1 |
|
_potx_add_date_strings |
./potx.inc |
Add date strings, which cannot be extracted otherwise.
This is called for locale.module. |
1 |
|
_potx_add_default_region_names |
./potx.inc |
Add default theme region names, which cannot be extracted otherwise.
These default names are defined in system.module |
1 |
|
_potx_add_format_interval_strings |
./potx.inc |
Add format_interval special strings, which cannot be
extracted otherwise. This is called for common.inc |
1 |
|
_potx_build_files |
./potx.inc |
Creates complete file strings with _potx_store() |
4 |
|
_potx_component_list |
./potx.admin.inc |
Generate a hierarchical structured list of components. |
1 |
|
_potx_component_selector |
./potx.admin.inc |
Build a chunk of the component selection form. |
1 |
|
_potx_config_replace_name |
./potx.inc |
Replaces variables in configuration name. |
1 |
|
_potx_element_has_schema |
./potx.inc |
Checks whether an element exists in the processed schema. |
2 |
|
_potx_explore_dir |
./potx.inc |
Collect a list of file names relevant for extraction,
starting from the given path. |
3 |
|
_potx_find_constraint_messages |
./potx.inc |
Detect validation constraint messages. Drupal 8+ |
1 |
|
_potx_find_context |
./potx.inc |
Helper to find the value for 'context' on t() and format_plural(). |
2 |
|
_potx_find_end_of_function |
./potx.inc |
Helper function to look up the token closing the current function. |
2 |
|
_potx_find_format_plural_calls |
./potx.inc |
Detect all occurances of format_plural calls. |
1 |
|
_potx_find_info_file_strings |
./potx.inc |
Parse an .info file and add relevant strings to the list. |
1 |
|
_potx_find_language_names |
./potx.inc |
Get languages names from Drupal's locale.inc. |
1 |
|
_potx_find_log_calls |
./potx.inc |
Detect all occurances of log() calls. |
1 |
|
_potx_find_matching_schema |
./potx.inc |
Find the schema element matching with a specific type. |
2 |
|
_potx_find_menu_hooks |
./potx.inc |
List of menu item titles. Only from Drupal 6. |
1 |
|
_potx_find_perm_hook |
./potx.inc |
Detect permission names from the hook_perm() implementations.
Note that this will get confused with a similar pattern in a comment,
and with dynamic permissions, which need to be accounted for. |
1 |
|
_potx_find_shipped_config_translatables |
./potx.inc |
Recursively check elements in shipped configuration with the processed schema. |
1 |
|
_potx_find_translation_annotations |
./potx.inc |
Detect all occurances of @Translation annotations in doc comments. |
1 |
|