Метод |
Описание |
|
append ( $message ) : void |
Add a untranslated message to the source. Need to call save()
to save the messages to source. |
|
catalogues ( ) : array |
Returns a list of catalogue as key and all it variants as value. |
|
delete ( $message, $catalogue = 'messages' ) : boolean |
Delete a particular message from the specified catalogue. |
|
getCulture ( ) : string |
Get the culture identifier for the source. |
|
load ( $catalogue = 'messages' ) : boolean |
Load the translation table for this particular catalogue. |
|
read ( ) : array |
Get the translation table. This includes all the loaded sections. |
|
save ( $catalogue = 'messages' ) : boolean |
Save the list of untranslated blocks to the translation source. |
|
setCulture ( $culture ) |
Set the culture for this particular message source. |
|
update ( $text, $target, $comments, $catalogue = 'messages' ) : boolean |
Update the translation. |
|