translation_status ) { $translation_permalink = gp_url_project_locale( $project, $locale->slug, $translation_set->slug, array( 'filters[status]' => 'either', 'filters[original_id]' => $translation->original_id, 'filters[translation_id]' => $translation->id, ) ); $more_links['translation-permalink'] = '' . __( 'Permalink to this translation', 'glotpress' ) . ''; } else { $original_permalink = gp_url_project_locale( $project, $locale->slug, $translation_set->slug, array( 'filters[original_id]' => $translation->original_id ) ); $more_links['original-permalink'] = '' . __( 'Permalink to this original', 'glotpress' ) . ''; } $original_history = gp_url_project_locale( $project, $locale->slug, $translation_set->slug, array( 'filters[status]' => 'either', 'filters[original_id]' => $translation->original_id, 'sort[by]' => 'translation_date_added', 'sort[how]' => 'asc', ) ); $more_links['history'] = '' . __( 'All translations of this original', 'glotpress' ) . ''; /** * Allows to modify the more links in the translation editor. * * @since 2.3.0 * * @param array $more_links The links to be output. * @param GP_Project $project Project object. * @param GP_Locale $locale Locale object. * @param GP_Translation_Set $translation_set Translation Set object. * @param GP_Translation $translation Translation object. */ $more_links = apply_filters( 'gp_translation_row_template_more_links', $more_links, $project, $locale, $translation_set, $translation ); ?>

context ) : ?>
context ); ?>
extracted_comments ) : ?>
extracted_comments, $translation ); ?>
translation_added && '0000-00-00 00:00:00' !== $translation->translation_added ) : ?>
translation_added ); ?>
user ) : ?>
user ); ?>
user_last_modified && ( ! $translation->user || $translation->user->ID !== $translation->user_last_modified->ID ) ) : ?>
translation_status ) { _e( 'Approved by:', 'glotpress' ); } elseif ( 'rejected' === $translation->translation_status ) { _e( 'Rejected by:', 'glotpress' ); } else { _e( 'Last updated by:', 'glotpress' ); } ?>
user_last_modified ); ?>
original_id, GP::$original->get_static( 'priorities' ), $translation->priority, array( 'class' => 'priority', 'tabindex' => '-1', 'data-nonce' => wp_create_nonce( 'set-priority_' . $translation->original_id ), ) ); ?>
get_static( 'priorities' ), $translation->priority, _x( 'Unknown', 'priority', 'glotpress' ) ) ); ?>