Skip to content

Commit fdc3682

Browse files
committed
console: Remove unnecessary message
1 parent 8d11d3d commit fdc3682

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

pkg/webui/lib/errors/utils.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,7 @@ export const getClaimGatewayErrorMessage = error => {
602602
const m = defineMessages({
603603
notFound: "Gateway doesn't exist. Please confirm that the gateway EUI is correct.",
604604
subscriptionNotActive:
605-
'There is no gateway subscription attached or active. Please get a <link>Gateway Subscription</link> or activate your subscription following the steps in the documentation. If this gateway is part of a fleet, you should use a <link>Fleet Owner Token</link> during the registration process.',
606-
activationCodeExpired:
607-
'The activation code has expired. To reactivate it, extend your <link>Gateway Subscription</link>.',
605+
'There is no gateway subscription attached or active. Please get a <link>Gateway Subscription</link> or activate your subscription following the steps in the documentation. If this gateway is part of a fleet, you should use a Fleet Owner Token during the registration process.',
608606
permissionDenied: 'The owner token is invalid.',
609607
})
610608

pkg/webui/locales/en.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,8 +1091,7 @@
10911091
"lib.errors.status-code-messages.503": "Service unavailable",
10921092
"lib.errors.status-code-messages.504": "Gateway timeout",
10931093
"lib.errors.utils.notFound": "Gateway doesn't exist. Please confirm that the gateway EUI is correct.",
1094-
"lib.errors.utils.subscriptionNotActive": "There is no gateway subscription attached or active. Please get a <link>Gateway Subscription</link> or activate your subscription following the steps in the documentation. If this gateway is part of a fleet, you should use a <link>Fleet Owner Token</link> during the registration process.",
1095-
"lib.errors.utils.activationCodeExpired": "The activation code has expired. To reactivate it, extend your <link>Gateway Subscription</link>.",
1094+
"lib.errors.utils.subscriptionNotActive": "There is no gateway subscription attached or active. Please get a <link>Gateway Subscription</link> or activate your subscription following the steps in the documentation. If this gateway is part of a fleet, you should use a Fleet Owner Token during the registration process.",
10961095
"lib.errors.utils.permissionDenied": "The owner token is invalid.",
10971096
"lib.field-description-messages.idLocation": "Enter a value using lowercase letters, numbers, and dashes. You can choose this freely.",
10981097
"lib.field-description-messages.freqPlanDescription": "A frequency plan defines data rates that your end device or gateway is setup to use. It is important that gateways and end devices within reach use the same frequency plan to be able to communicate.",

pkg/webui/locales/ja.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,6 @@
10921092
"lib.errors.status-code-messages.504": "",
10931093
"lib.errors.utils.notFound": "",
10941094
"lib.errors.utils.subscriptionNotActive": "",
1095-
"lib.errors.utils.activationCodeExpired": "",
10961095
"lib.errors.utils.permissionDenied": "",
10971096
"lib.field-description-messages.idLocation": "",
10981097
"lib.field-description-messages.freqPlanDescription": "周波数プランは、エンドデバイスやゲートウェイが使用するように設定されたデータレートを定義します。ゲートウェイとエンドデバイスが通信できるようにするためには、同じ周波数プランを使用することが重要です",

0 commit comments

Comments
 (0)