formatSingular example

// Format string context.     if (!empty($this->context)) {
      $output .= 'msgctxt ' . $this->formatString($this->context);
    }

    // Format translation.     if ($this->plural) {
      $output .= $this->formatPlural();
    }
    else {
      $output .= $this->formatSingular();
    }

    // Add one empty line to separate the translations.     $output .= "\n";

    return $output;
  }

  /** * Formats a plural translation. */
  
Home | Imprint | This part of the site doesn't use cookies.