[ Index ] |
PHP Cross Reference of GlotPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 176 lines (5 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
GP_CLI_Translation_Set:: (4 methods):
get_translation_set()
export()
import()
recheck_warnings()
Class: GP_CLI_Translation_Set - X-Ref
get_translation_set( $project, $locale, $set = 'default' ) X-Ref |
Get a translation set for a project. return: GP_Translation_Set|WP_Error Translation set if available, error otherwise. param: string $project Project path param: string $locale Locale slug param: string $set Set slug |
export( $args, $assoc_args ) X-Ref |
Export the translation set ## OPTIONS <project> : Project path <locale> : Locale to export [--set=<set>] : Translation set slug; default is "default" [--format=<format>] : Format for output (one of "po", "mo", "android", "resx", "strings"; default is "po") [--search=<search>] : Search term [--status=<status>] : Translation string status; default is "current" [--priority=<priorities>] : Original priorities, comma separated. Possible values are "hidden,low,normal,high" |
import( $args, $assoc_args ) X-Ref |
Import a file into the translation set ## OPTIONS <project> : Project path <locale> : Locale to export <file> : File to import [--set=<set>] : Translation set slug; default is "default" [--status=<status>] : Translation string status; default is "current" |
recheck_warnings( $args, $assoc_args ) X-Ref |
Recheck warnings for the translation set ## OPTIONS <project> : Project path <locale> : Locale to export [--set=<set>] : Translation set slug; default is "default" |
Generated: Thu Nov 21 01:01:07 2024 | Cross-referenced by PHPXref 0.7.1 |