Changeset 8412
- Timestamp:
- 03/08/2019 04:36:10 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/i18n/class-i18n-import.php
r6287 r8412 116 116 * 117 117 * @param string $project GP project slug to import to 118 * @param string $branch GP project branch to import to (dev|stable) 118 * @param string $branch GP project branch to import to (dev|stable)-readme 119 119 * @param string $file Path to POT file 120 120 * @param array $str_priorities GP string priorities … … 131 131 } 132 132 133 // @todo: Fixthis.134 $gp_branch_id = Plugin_I18n::instance()->get_gp_branch_id( $project, "{$branch}-readme");133 // @todo: Make the `glotpress import-originals` CLI command handle this. 134 $gp_branch_id = Plugin_I18n::instance()->get_gp_branch_id( $project, $branch ); 135 135 if ( $gp_branch_id ) { 136 136 foreach ( $str_priorities as $str => $prio ) {
Note: See TracChangeset
for help on using the changeset viewer.