Table of Contents

Class PoEntry

Namespace
Yarhl.Media.Text
Assembly
Yarhl.Media.Text.dll

Entry in PO formats. Represents a translation unit.

public class PoEntry
Inheritance
PoEntry
Inherited Members

Constructors

PoEntry()

Initializes a new instance of the PoEntry class.

public PoEntry()

PoEntry(string)

Initializes a new instance of the PoEntry class.

public PoEntry(string original)

Parameters

original string

Original text to translate.

PoEntry(PoEntry)

Initializes a new instance of the PoEntry class.

public PoEntry(PoEntry entry)

Parameters

entry PoEntry

The entry to copy.

Properties

Context

Gets or sets the context.

public string Context { get; set; }

Property Value

string

The context.

Remarks

It's possible to have multiple entries with the same Original content if the context is different.

ExtractedComments

Gets or sets the programmers' comments.

public string ExtractedComments { get; set; }

Property Value

string

The extracted comments.

Flags

Gets or sets the flags.

public string Flags { get; set; }

Property Value

string

The flags.

Original

Gets or sets the original content to translate.

public string Original { get; set; }

Property Value

string

The original content.

Remarks

Entries with the same original content will be merged.

PreviousContext

Gets or sets the previous context.

public string PreviousContext { get; set; }

Property Value

string

The previous context.

PreviousOriginal

Gets or sets the previous original content.

public string PreviousOriginal { get; set; }

Property Value

string

The previous original content.

Reference

Gets or sets the comments with reference to the origin of the content.

public string Reference { get; set; }

Property Value

string

The reference.

Text

Gets the translated text if any, otherwise the original text.

public string Text { get; }

Property Value

string

The final text.

Translated

Gets or sets the translated content.

public string Translated { get; set; }

Property Value

string

The translated content.

TranslatorComment

Gets or sets the translators' comments.

public string TranslatorComment { get; set; }

Property Value

string

The translator comment.