summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlrpc_server.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-17 13:40:14 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-17 13:40:14 -0300
commitb53f56d937a5754bc50b0d680c466a7eba59d960 (patch)
tree9b15639bc145d0c6a84a95cb8ffd4171e485f393 /etc/inc/xmlrpc_server.inc
parent9eda6186fb788c712b534517f1788bc2522fbc1f (diff)
downloadpfsense-b53f56d937a5754bc50b0d680c466a7eba59d960.zip
pfsense-b53f56d937a5754bc50b0d680c466a7eba59d960.tar.gz
Implement gettext() calls on xmlrpc_server.inc
Diffstat (limited to 'etc/inc/xmlrpc_server.inc')
-rw-r--r--etc/inc/xmlrpc_server.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/etc/inc/xmlrpc_server.inc b/etc/inc/xmlrpc_server.inc
index 8887bdf..ff828e6 100644
--- a/etc/inc/xmlrpc_server.inc
+++ b/etc/inc/xmlrpc_server.inc
@@ -62,8 +62,8 @@ $GLOBALS['XML_RPC_Server_listMethods_sig'] = array(
* docstring for system.listMethods
* @global string $GLOBALS['XML_RPC_Server_listMethods_doc']
*/
-$GLOBALS['XML_RPC_Server_listMethods_doc'] = 'This method lists all the'
- . ' methods that the XML-RPC server knows how to dispatch';
+$GLOBALS['XML_RPC_Server_listMethods_doc'] = gettext('This method lists all the'
+ . ' methods that the XML-RPC server knows how to dispatch');
/**
* signature for system.methodSignature: return = array,
@@ -80,10 +80,10 @@ $GLOBALS['XML_RPC_Server_methodSignature_sig'] = array(
* docstring for system.methodSignature
* @global string $GLOBALS['XML_RPC_Server_methodSignature_doc']
*/
-$GLOBALS['XML_RPC_Server_methodSignature_doc'] = 'Returns an array of known'
+$GLOBALS['XML_RPC_Server_methodSignature_doc'] = gettext('Returns an array of known'
. ' signatures (an array of arrays) for the method name passed. If'
. ' no signatures are known, returns a none-array (test for type !='
- . ' array to detect missing signature)';
+ . ' array to detect missing signature)');
/**
* signature for system.methodHelp: return = string,
@@ -100,8 +100,8 @@ $GLOBALS['XML_RPC_Server_methodHelp_sig'] = array(
* docstring for methodHelp
* @global string $GLOBALS['XML_RPC_Server_methodHelp_doc']
*/
-$GLOBALS['XML_RPC_Server_methodHelp_doc'] = 'Returns help text if defined'
- . ' for the method passed, otherwise returns an empty string';
+$GLOBALS['XML_RPC_Server_methodHelp_doc'] = gettext('Returns help text if defined'
+ . ' for the method passed, otherwise returns an empty string');
/**
* dispatch map for the automatically declared XML-RPC methods.
@@ -685,4 +685,4 @@ class XML_RPC_Server
* End:
*/
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud