Свойство | Тип | Описание | |
---|---|---|---|
Empty |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
Encode ( string text ) : string |
Encodes a string line of text suitable for msgstr
|
public GetText ( bool plural = false ) : string | ||
plural | bool | |
Результат | string |
public Message ( string msgID, string msgStr ) : System | ||
msgID | string | |
msgStr | string | |
Результат | System |
public Message ( string msgID, string msgStr, string firstContext ) : System | ||
msgID | string | |
msgStr | string | |
firstContext | string | |
Результат | System |