@@ -38,7 +38,7 @@ public function register_routes() {
3838 array (
3939 'args ' => array (
4040 'version ' => array (
41- 'description ' => __ ( 'The NodeInfo2 schema version. ' , ' nodeinfo ' ) ,
41+ 'description ' => 'The NodeInfo2 schema version. ' ,
4242 'type ' => 'string ' ,
4343 'enum ' => array ( '1.0 ' ),
4444 'required ' => true ,
@@ -143,12 +143,12 @@ public function get_item_schema() {
143143 'type ' => 'object ' ,
144144 'properties ' => array (
145145 'version ' => array (
146- 'description ' => __ ( 'The NodeInfo2 schema version. ' , ' nodeinfo ' ) ,
146+ 'description ' => 'The NodeInfo2 schema version. ' ,
147147 'type ' => 'string ' ,
148148 'enum ' => array ( '1.0 ' ),
149149 ),
150150 'server ' => array (
151- 'description ' => __ ( 'Metadata about the server. ' , ' nodeinfo ' ) ,
151+ 'description ' => 'Metadata about the server. ' ,
152152 'type ' => 'object ' ,
153153 'properties ' => array (
154154 'baseUrl ' => array (
@@ -167,14 +167,14 @@ public function get_item_schema() {
167167 ),
168168 ),
169169 'protocols ' => array (
170- 'description ' => __ ( 'The protocols supported on this server. ' , ' nodeinfo ' ) ,
170+ 'description ' => 'The protocols supported on this server. ' ,
171171 'type ' => 'array ' ,
172172 'items ' => array (
173173 'type ' => 'string ' ,
174174 ),
175175 ),
176176 'services ' => array (
177- 'description ' => __ ( 'Third party sites this server can connect to. ' , ' nodeinfo ' ) ,
177+ 'description ' => 'Third party sites this server can connect to. ' ,
178178 'type ' => 'object ' ,
179179 'properties ' => array (
180180 'inbound ' => array (
@@ -192,11 +192,11 @@ public function get_item_schema() {
192192 ),
193193 ),
194194 'openRegistrations ' => array (
195- 'description ' => __ ( 'Whether this server allows open self-registration. ' , ' nodeinfo ' ) ,
195+ 'description ' => 'Whether this server allows open self-registration. ' ,
196196 'type ' => 'boolean ' ,
197197 ),
198198 'usage ' => array (
199- 'description ' => __ ( 'Usage statistics for this server. ' , ' nodeinfo ' ) ,
199+ 'description ' => 'Usage statistics for this server. ' ,
200200 'type ' => 'object ' ,
201201 'properties ' => array (
202202 'users ' => array (
@@ -222,7 +222,7 @@ public function get_item_schema() {
222222 ),
223223 ),
224224 'metadata ' => array (
225- 'description ' => __ ( 'Free form key value pairs for software specific values. ' , ' nodeinfo ' ) ,
225+ 'description ' => 'Free form key value pairs for software specific values. ' ,
226226 'type ' => 'object ' ,
227227 ),
228228 ),
0 commit comments