Browse Source

Write "JSON" in capitals in English UI texts (#16507)

- content-type.json: the first option of the Payload content type dropdown
  in the Test decoder function dialog is "JSON"
- device profile MQTT and LwM2M labels and hints use "JSON"
- other en_US texts with "Json" or "json" are updated for consistency

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
pull/16508/head
Serhii Titenko 1 month ago
committed by GitHub
parent
commit
77b511ace3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 30
      ui-ngx/src/assets/locale/locale.constant-en_US.json

30
ui-ngx/src/assets/locale/locale.constant-en_US.json

@ -2127,7 +2127,7 @@
"update-raw-payload": "Updated RAW payload" "update-raw-payload": "Updated RAW payload"
}, },
"content-type": { "content-type": {
"json": "Json", "json": "JSON",
"text": "Text", "text": "Text",
"binary": "Binary (Base64)", "binary": "Binary (Base64)",
"hex": "Binary (Hex)" "hex": "Binary (Hex)"
@ -3080,9 +3080,9 @@
"mqtt-device-payload-type-json": "JSON", "mqtt-device-payload-type-json": "JSON",
"mqtt-device-payload-type-proto": "Protobuf", "mqtt-device-payload-type-proto": "Protobuf",
"mqtt-enable-compatibility-with-json-payload-format": "Enable compatibility with other payload formats.", "mqtt-enable-compatibility-with-json-payload-format": "Enable compatibility with other payload formats.",
"mqtt-enable-compatibility-with-json-payload-format-hint": "When enabled, the platform will use a Protobuf payload format by default. If parsing fails, the platform will attempt to use JSON payload format. Useful for backward compatibility during firmware updates. For example, the initial release of the firmware uses Json, while the new release uses Protobuf. During the process of firmware update for the fleet of devices, it is required to support both Protobuf and JSON simultaneously. The compatibility mode introduces slight performance degradation, so it is recommended to disable this mode once all devices are updated.", "mqtt-enable-compatibility-with-json-payload-format-hint": "When enabled, the platform will use a Protobuf payload format by default. If parsing fails, the platform will attempt to use JSON payload format. Useful for backward compatibility during firmware updates. For example, the initial release of the firmware uses JSON, while the new release uses Protobuf. During the process of firmware update for the fleet of devices, it is required to support both Protobuf and JSON simultaneously. The compatibility mode introduces slight performance degradation, so it is recommended to disable this mode once all devices are updated.",
"mqtt-use-json-format-for-default-downlink-topics": "Use Json format for default downlink topics", "mqtt-use-json-format-for-default-downlink-topics": "Use JSON format for default downlink topics",
"mqtt-use-json-format-for-default-downlink-topics-hint": "When enabled, the platform will use Json payload format to push attributes and RPC via the following topics: <b>v1/devices/me/attributes/response/$request_id</b>, <b>v1/devices/me/attributes</b>, <b>v1/devices/me/rpc/request/$request_id</b>, <b>v1/devices/me/rpc/response/$request_id</b>. This setting does not impact attribute and rpc subscriptions sent using new (v2) topics: <b>v2/a/res/$request_id</b>, <b>v2/a</b>, <b>v2/r/req/$request_id</b>, <b>v2/r/res/$request_id</b>. Where <b>$request_id</b> is an integer request identifier.", "mqtt-use-json-format-for-default-downlink-topics-hint": "When enabled, the platform will use JSON payload format to push attributes and RPC via the following topics: <b>v1/devices/me/attributes/response/$request_id</b>, <b>v1/devices/me/attributes</b>, <b>v1/devices/me/rpc/request/$request_id</b>, <b>v1/devices/me/rpc/response/$request_id</b>. This setting does not impact attribute and rpc subscriptions sent using new (v2) topics: <b>v2/a/res/$request_id</b>, <b>v2/a</b>, <b>v2/r/req/$request_id</b>, <b>v2/r/res/$request_id</b>. Where <b>$request_id</b> is an integer request identifier.",
"mqtt-send-ack-on-validation-exception": "Send PUBACK on PUBLISH message validation failure", "mqtt-send-ack-on-validation-exception": "Send PUBACK on PUBLISH message validation failure",
"mqtt-send-ack-on-validation-exception-hint": "By default, the platform will close the MQTT session on message validation failure. When enabled, the platform will send publish acknowledgment instead of closing the session.", "mqtt-send-ack-on-validation-exception-hint": "By default, the platform will close the MQTT session on message validation failure. When enabled, the platform will send publish acknowledgment instead of closing the session.",
"mqtt-protocol-version": "Protocol version", "mqtt-protocol-version": "Protocol version",
@ -3371,7 +3371,7 @@
"fw-update-resource-required": "Firmware update CoAP resource is required.", "fw-update-resource-required": "Firmware update CoAP resource is required.",
"sw-update-resource": "Software update CoAP resource", "sw-update-resource": "Software update CoAP resource",
"sw-update-resource-required": "Software update CoAP resource is required.", "sw-update-resource-required": "Software update CoAP resource is required.",
"config-json-tab": "Json Config Profile Device", "config-json-tab": "JSON Config Profile Device",
"attributes-name": { "attributes-name": {
"min-period": "Minimum period", "min-period": "Minimum period",
"max-period": "Maximum period", "max-period": "Maximum period",
@ -4988,8 +4988,8 @@
"custom": "Custom", "custom": "Custom",
"to-double": "To Double", "to-double": "To Double",
"transformer": "Transformer", "transformer": "Transformer",
"json-required": "Transformer json is required.", "json-required": "Transformer JSON is required.",
"json-parse": "Unable to parse transformer json.", "json-parse": "Unable to parse transformer JSON.",
"attributes": "Attributes", "attributes": "Attributes",
"add-attribute": "Add attribute", "add-attribute": "Add attribute",
"add-map": "Add mapping element", "add-map": "Add mapping element",
@ -5018,23 +5018,23 @@
"mapping": "Mapping", "mapping": "Mapping",
"topic-filter": "Topic filter", "topic-filter": "Topic filter",
"converter-type": "Converter type", "converter-type": "Converter type",
"converter-json": "Json", "converter-json": "JSON",
"json-name-expression": "Device name json expression", "json-name-expression": "Device name JSON expression",
"topic-name-expression": "Device name topic expression", "topic-name-expression": "Device name topic expression",
"json-type-expression": "Device type json expression", "json-type-expression": "Device type JSON expression",
"topic-type-expression": "Device type topic expression", "topic-type-expression": "Device type topic expression",
"attribute-key-expression": "Attribute key expression", "attribute-key-expression": "Attribute key expression",
"attr-json-key-expression": "Attribute key json expression", "attr-json-key-expression": "Attribute key JSON expression",
"attr-topic-key-expression": "Attribute key topic expression", "attr-topic-key-expression": "Attribute key topic expression",
"request-id-expression": "Request id expression", "request-id-expression": "Request id expression",
"request-id-json-expression": "Request id json expression", "request-id-json-expression": "Request id JSON expression",
"request-id-topic-expression": "Request id topic expression", "request-id-topic-expression": "Request id topic expression",
"response-topic-expression": "Response topic expression", "response-topic-expression": "Response topic expression",
"value-expression": "Value expression", "value-expression": "Value expression",
"topic": "Topic", "topic": "Topic",
"timeout": "Timeout in milliseconds", "timeout": "Timeout in milliseconds",
"converter-json-required": "Converter json is required.", "converter-json-required": "Converter JSON is required.",
"converter-json-parse": "Unable to parse converter json.", "converter-json-parse": "Unable to parse converter JSON.",
"filter-expression": "Filter expression", "filter-expression": "Filter expression",
"connect-requests": "Connect requests", "connect-requests": "Connect requests",
"add-connect-request": "Add connect request", "add-connect-request": "Add connect request",
@ -7474,7 +7474,7 @@
"relation-filters": "Relation filters", "relation-filters": "Relation filters",
"relation-filter": "Relation filter", "relation-filter": "Relation filter",
"additional-info": "Additional info (JSON)", "additional-info": "Additional info (JSON)",
"invalid-additional-info": "Unable to parse additional info json.", "invalid-additional-info": "Unable to parse additional info JSON.",
"no-relations-text": "No relations found", "no-relations-text": "No relations found",
"not": "Not", "not": "Not",
"copy-type": "Copy type" "copy-type": "Copy type"

Loading…
Cancel
Save