[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/gp-includes/formats/ -> format-pomo.php (summary)

(no description)

File Size: 127 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

GP_Format_PO:: (5 methods):
  print_exported_file()
  read_translations_from_file()
  read_originals_from_file()
  set_header()
  add_comments_before_headers()

GP_Format_MO:: (1 method):
  add_comments_before_headers()


Class: GP_Format_PO  - X-Ref

print_exported_file( $project, $locale, $translation_set, $entries )   X-Ref
No description

read_translations_from_file( $file_name, $project = null )   X-Ref
No description

read_originals_from_file( $file_name )   X-Ref
No description

set_header( $format, $header, $text )   X-Ref
Add a header to the selected format, overrideable by child classes.

param: GP_Format $format The format object to set the header for.
param: string    $header The header name to set.
param: string    $text   The text to set the header to.
since: 2.1.0

add_comments_before_headers( $format, $text )   X-Ref
Add a comment before the headers for the selected format, overrideable by child classes.

param: GP_Format $format The format object to set the header for.
param: string    $text   The text to add to the comment.
since: 2.1.0

Class: GP_Format_MO  - X-Ref

add_comments_before_headers( $format, $text )   X-Ref
Override the comments function as PO files do not use it.

param: GP_Format $format The format object to set the header for.
param: string    $text   The text to add to the comment.
since: 2.1.0



Generated: Thu Dec 26 01:01:15 2024 Cross-referenced by PHPXref 0.7.1