[JA] translate websocket-api-tool page and related component

This commit is contained in:
tequ
2024-07-08 12:51:41 +09:00
parent 2283609785
commit d528533d39
5 changed files with 42 additions and 13 deletions

View File

@@ -54,9 +54,9 @@ export const CurlModal: React.FC<CurlProps> = ({
<form>
<div className="form-group">
<label htmlFor="curl-box-1">
Use the following syntax to make the equivalent JSON-RPC
request using <a href="https://curl.se/">cURL</a> from a
commandline interface:
{translate('resources.dev-tools.websocket-api.curl.modal.desc.part1', 'Use the following syntax to make the equivalent JSON-RPC request using ')}
<a href="https://curl.se/">cURL</a>
{translate('resources.dev-tools.websocket-api.curl.modal.desc.part2',' from a commandline interface:')}
</label>
<textarea
id="curl-box-1"