Property | Type | Description | |
---|---|---|---|
Empty |
Method | Description | |
---|---|---|
GetText ( bool plural = false ) : string |
Returns either the text or the msgid. You can specify whether to return the plural form.
|
|
Message ( ) : System |
Create a new, empty Message
|
|
Message ( string msgID ) : System |
Create a new Message, setting the msgID to the supplied value
|
|
Message ( string msgID, string msgStr ) : System |
Create a new Message, setting the supplied values
|
|
Message ( string msgID, string msgStr, string firstContext ) : System |
Create a new Message, setting the supplied values
|
|
ToPOBlock ( ) : string |
Return this message, formatted as it would appear in a .po file
|
|
ToString ( ) : string |
Return the translated version of this message. If no translation is available, return the message itself
|
Method | Description | |
---|---|---|
Encode ( string text ) : string |
Encodes a string line of text suitable for msgstr
|
public Message ( string msgID, string msgStr ) : System | ||
msgID | string | |
msgStr | string | |
return | System |
public Message ( string msgID, string msgStr, string firstContext ) : System | ||
msgID | string | |
msgStr | string | |
firstContext | string | |
return | System |