Skip to content

Commit

Permalink
Merge pull request #11043 from thingsboard/fix/rpc-request-timeout
Browse files Browse the repository at this point in the history
"Request Timeout." -> "Request timeout"
  • Loading branch information
ViacheslavKlimov committed Jun 19, 2024
2 parents b7891df + e0e5fa1 commit 4a3697f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ class PersistentDatasource implements DataSource<PersistentRpcData> {
if (!this.executingRpcRequest || rejection.status === 504) {
this.subscription.rpcRejection = rejection;
if (rejection.status === 504) {
this.subscription.rpcErrorText = 'Request Timeout.';
this.subscription.rpcErrorText = 'Request timeout';
} else {
this.subscription.rpcErrorText = 'Error : ' + rejection.status + ' - ' + rejection.statusText;
const error = parseHttpErrorMessage(rejection, this.translate);
Expand Down
2 changes: 1 addition & 1 deletion ui-ngx/src/assets/locale/locale.constant-en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -4088,7 +4088,7 @@
"target-device-is-not-set": "Target device is not set!",
"invalid-target-entity": "RPC commands are not supported by <b>{{entityType}}</b> entity.",
"failed-to-resolve-target-device": "Failed to resolve target device!",
"request-timeout": "Request Timeout.",
"request-timeout": "Request timeout",
"rpc-http-error": "Error: {{status}} - {{statusText}}"
}
},
Expand Down

0 comments on commit 4a3697f

Please sign in to comment.