C# Class GettextLib.Catalog.GettextCatalog

Mostrar archivo Open project: while-true/gettext Class Usage Examples

Private Properties

Property Type Description
AddTranslation void
AddTranslations void
Convert string
Convert void
ConvertStringsToUtf8 void
Finalize void
GettextCatalog System
Lookup Translation
LookupKey string
ParseComments void
ParseHeaders void
ParsePluralFormsHeader void

Public Methods

Method Description
ParseFromStream ( Stream poStream ) : GettextCatalog

Private Methods

Method Description
AddTranslation ( Translation translation ) : void
AddTranslations ( IEnumerable translations ) : void
Convert ( String str, Encoding enc ) : string
Convert ( MultiLineString str, Encoding enc ) : void
ConvertStringsToUtf8 ( ) : void
Finalize ( ) : void

Builds lookup structures

GettextCatalog ( ) : System
Lookup ( string messageContext, string messageId, string messageIdPlural ) : Translation
LookupKey ( string messageContext, string messageId, string messageIdPlural ) : string
ParseComments ( ) : void
ParseHeaders ( ) : void
ParsePluralFormsHeader ( ) : void

Method Details

ParseFromStream() public static method

public static ParseFromStream ( Stream poStream ) : GettextCatalog
poStream Stream
return GettextCatalog