private PoItem::formatSingular()
Formats a singular translation.
File
- core/lib/Drupal/Component/Gettext/PoItem.php, line 252
Class
- PoItem
- PoItem handles one translation.
Namespace
Drupal\Component\Gettext
Code
1 2 3 4 5 6 | private function formatSingular() { $output = '' ; $output .= 'msgid ' . $this ->formatString( $this ->_source); $output .= 'msgstr ' . (isset( $this ->_translation) ? $this ->formatString( $this ->_translation) : '""' ); return $output ; } |
Please login to continue.