| [ Index ] |
PHP Cross Reference of GlotPress |
[Source view] [Print] [Project Stats]
Defines helper functions used by GlotPress.
| File Size: | 490 lines (18 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| prepare_original( $text ) X-Ref |
| Prepare an original string to be printed out in a translation row by adding encoding special characters, adding glossary entires and other markup. return: string The prepared string for output. param: string $text A single style handle to enqueue or an array or style handles to enqueue. |
| gp_prepare_translation_textarea( $text ) X-Ref |
| No description |
| gp_glossary_add_suffixes( $glossary_entries ) X-Ref |
| Adds suffixes for use in map_glossary_entries_to_translation_originals(). return: array The suffixed entries. param: array $glossary_entries An array of glossary entries to sort. |
| map_glossary_entries_to_translation_originals( $translation, $glossary ) X-Ref |
| No description |
| textareas( $entry, $permissions, $index = 0 ) X-Ref |
| No description |
| display_status( $status ) X-Ref |
| No description |
| references( $project, $entry ) X-Ref |
| No description |
| gp_translations_bulk_actions_toolbar( $bulk_action, $can_write, $translation_set, $location = 'top' ) X-Ref |
| Output the bulk actions toolbar in the translations page. param: string $bulk_action The URL to submit the form to. param: string $can_write Can the current user write translations to the database. param: string $translation_set The current translation set. param: string $location The location of this toolbar, used to make id's unique for each instance on a page. |
| Generated: Thu Nov 13 01:01:28 2025 | Cross-referenced by PHPXref 0.7.1 |