Revision b53f56d9
Added by Renato Botelho about 15 years ago
etc/inc/xmlrpc_server.inc | ||
---|---|---|
62 | 62 |
* docstring for system.listMethods |
63 | 63 |
* @global string $GLOBALS['XML_RPC_Server_listMethods_doc'] |
64 | 64 |
*/ |
65 |
$GLOBALS['XML_RPC_Server_listMethods_doc'] = 'This method lists all the' |
|
66 |
. ' methods that the XML-RPC server knows how to dispatch'; |
|
65 |
$GLOBALS['XML_RPC_Server_listMethods_doc'] = gettext('This method lists all the'
|
|
66 |
. ' methods that the XML-RPC server knows how to dispatch');
|
|
67 | 67 |
|
68 | 68 |
/** |
69 | 69 |
* signature for system.methodSignature: return = array, |
... | ... | |
80 | 80 |
* docstring for system.methodSignature |
81 | 81 |
* @global string $GLOBALS['XML_RPC_Server_methodSignature_doc'] |
82 | 82 |
*/ |
83 |
$GLOBALS['XML_RPC_Server_methodSignature_doc'] = 'Returns an array of known' |
|
83 |
$GLOBALS['XML_RPC_Server_methodSignature_doc'] = gettext('Returns an array of known'
|
|
84 | 84 |
. ' signatures (an array of arrays) for the method name passed. If' |
85 | 85 |
. ' no signatures are known, returns a none-array (test for type !=' |
86 |
. ' array to detect missing signature)'; |
|
86 |
. ' array to detect missing signature)');
|
|
87 | 87 |
|
88 | 88 |
/** |
89 | 89 |
* signature for system.methodHelp: return = string, |
... | ... | |
100 | 100 |
* docstring for methodHelp |
101 | 101 |
* @global string $GLOBALS['XML_RPC_Server_methodHelp_doc'] |
102 | 102 |
*/ |
103 |
$GLOBALS['XML_RPC_Server_methodHelp_doc'] = 'Returns help text if defined' |
|
104 |
. ' for the method passed, otherwise returns an empty string'; |
|
103 |
$GLOBALS['XML_RPC_Server_methodHelp_doc'] = gettext('Returns help text if defined'
|
|
104 |
. ' for the method passed, otherwise returns an empty string');
|
|
105 | 105 |
|
106 | 106 |
/** |
107 | 107 |
* dispatch map for the automatically declared XML-RPC methods. |
... | ... | |
685 | 685 |
* End: |
686 | 686 |
*/ |
687 | 687 |
|
688 |
?> |
|
688 |
?> |
Also available in: Unified diff
Implement gettext() calls on xmlrpc_server.inc