[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-templates/ -> translation-row.php (source)

   1  <?php
   2  /**
   3   * Template for a single translation row in a translation set display
   4   *
   5   * @package GlotPress
   6   * @subpackage Templates
   7   */
   8  
   9  $user            = wp_get_current_user();
  10  $can_reject_self = ( isset( $translation->user->user_login ) && $user->user_login === $translation->user->user_login && 'waiting' === $translation->translation_status );
  11  
  12  if ( is_object( $glossary ) ) {
  13      $translation = map_glossary_entries_to_translation_originals( $translation, $glossary );
  14  }
  15  
  16  $translation_singular = isset( $translation->singular_glossary_markup ) ? $translation->singular_glossary_markup : esc_translation( $translation->singular );
  17  
  18  gp_tmpl_load( 'translation-row-preview', get_defined_vars() );
  19  gp_tmpl_load( 'translation-row-editor', get_defined_vars() );


Generated: Thu Jun 30 01:01:05 2022 Cross-referenced by PHPXref 0.7.1