|
_potx_find_t_calls_with_context |
./potx.inc |
Detect all occurances of t()-like calls from Drupal 7 (with context). |
1 |
|
|
_potx_find_version_number |
./potx.inc |
Get the exact CVS version number from the file. |
1 |
|
|
_potx_find_watchdog_calls |
./potx.inc |
Detect all occurances of watchdog() calls. Only in Drupal 6 and Drupal 7. |
1 |
|
|
_potx_find_yaml_translatables |
./potx.inc |
Recursively look for translatable strings in a YAML file. |
1 |
|
|
_potx_format_quoted_string |
./potx.inc |
Escape quotes in a strings. |
21 |
|
|
_potx_get_header |
./potx.inc |
Returns a header generated for a given file. |
|
6 |
|
_potx_get_plural_form |
./potx.inc |
Return the plural form of a language. source: the gettext library. |
1 |
|
|
_potx_init_yaml_translation_patterns |
./potx.inc |
Initialize the list of translation patterns for YAML files. |
3 |
|
|
_potx_is_beginning_of_array |
./potx.inc |
Determines if processing an array. |
1 |
|
|
_potx_is_end_of_array |
./potx.inc |
Determines if at the end of an array. |
1 |
|
|
_potx_load_module_metadata |
./potx.local.inc |
Load a module's metadata. |
|
1 |
|
_potx_load_yaml_translation_patterns |
./potx.inc |
Load the list of YAML translation patterns from a file. |
1 |
|
|
_potx_marker_error |
./potx.inc |
Output a marker error with an extract of where the error was found. |
7 |
|
|
_potx_merge_processed_schema |
./potx.inc |
Merge a module's processed schema with the global schema storage. |
1 |
|
|
_potx_parse_js_file |
./potx.inc |
Parse a JavaScript file for translatables. Only from Drupal 6. |
1 |
|
|
_potx_parse_js_string |
./potx.inc |
Clean up string found in JavaScript source code. Only from Drupal 6. |
1 |
|
|
_potx_parse_php_file |
./potx.inc |
Parse a PHP file for translatables. |
2 |
|
|
_potx_parse_shipped_configuration |
./potx.inc |
Parse shipped configuration for translatables. Drupal 8+. |
2 |
|
|
_potx_parse_twig_file |
./potx.inc |
Parse a Twig template for translatables. Drupal 8+. |
2 |
|
|
_potx_parse_yaml |
./potx.inc |
Helper function for parsing yaml files. |
3 |
|
|
_potx_parse_yaml_file |
./potx.inc |
Parse a YAML file for translatables. Drupal 8+. |
1 |
|
|
_potx_process_config_schema |
./potx.inc |
Recursively process config schema into a flat structure. |
1 |
|
|
_potx_process_file |
./potx.inc |
Process a file and put extracted information to the given parameters. |
5 |
|
|
_potx_process_inline_templates |
./potx.inc |
Process Twig inline templates inside PHP files. Drupal 8+. |
1 |
|
|
_potx_process_module_schemas |
./potx.inc |
Recursively process and merge the schema required for parsing shipped config. |
1 |
|
|
_potx_process_twig_trans_tag |
./potx.inc |
Parses a single {% trans %} tag, and extracts the translatable string. |
1 |
|
|
_potx_process_twig_t_filter |
./potx.inc |
Parses a single |t filter, and extracts the translatable string. |
1 |
|
|
_potx_replace_variable |
./potx.inc |
Replaces variable values in included names with configuration data. |
1 |
|
|
_potx_save_string |
./potx.inc |
Default $save_callback used by the potx system. |
2 |
8 |
|
_potx_save_version |
./potx.inc |
Default $version_callback used by the potx system. |
|
7 |
|
_potx_schema_load |
./potx.local.inc |
Load a module's processed schema. |
|
1 |
|
_potx_schema_reverse_lookup |
./potx.local.inc |
Find the module containing the schema for a specific config file. |
|
1 |
|
_potx_schema_store |
./potx.local.inc |
Store a module's processed schema. |
|
1 |
|
_potx_schema_store_lookup |
./potx.local.inc |
Store config schema file's matching keys and their module in a lookup table. |
|
1 |
|
_potx_skip_args |
./potx.inc |
Helper to move past t() and format_plural() arguments in search of context. |
1 |
|
|
_potx_store_module_metadata |
./potx.local.inc |
Store the metadata for a module, including its dependencies. |
|
1 |
|
_potx_translation_export |
./potx.inc |
Export translations with a specific language. |
1 |
|
|
_potx_write_files |
./potx.inc |
Write out generated files to the current folder. |
6 |
|