Skip to content

Commit

Permalink
console: FIx messages
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaplots committed Dec 30, 2024
1 parent 1e13b9b commit 80aa80b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
5 changes: 2 additions & 3 deletions pkg/webui/console/containers/shortcut-panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import ShortcutItem from './shortcut-item'
const m = defineMessages({
shortcuts: 'Quick actions',
addEndDevice: 'Add end device',
addPersonalApiKey: 'Add API key',
})

const ShortcutPanel = ({ panelClassName, mobile }) => {
Expand Down Expand Up @@ -73,7 +72,7 @@ const ShortcutPanel = ({ panelClassName, mobile }) => {
/>
<ShortcutItem
icon={IconKey}
title={m.addPersonalApiKey}
title={sharedMessages.addApiKey}
link="/user-settings/api-keys/add"
mobile
/>
Expand Down Expand Up @@ -107,7 +106,7 @@ const ShortcutPanel = ({ panelClassName, mobile }) => {
/>
<ShortcutItem
icon={IconKey}
title={m.addPersonalApiKey}
title={sharedMessages.addApiKey}
link="/user-settings/api-keys/add"
/>
<ShortcutItem
Expand Down
6 changes: 5 additions & 1 deletion pkg/webui/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@
"console.components.gateway-api-keys-modal.index.downloadLns": "Download LNS key",
"console.components.gateway-api-keys-modal.index.downloadCups": "Download CUPS key",
"console.components.gateway-visibility-form.index.saveDefaultGatewayVisibility": "Save default gateway visibility",
"console.components.live-data-tutorial.index.liveDataSplitView": "Live data split view",
"console.components.live-data-tutorial.index.liveDataSplitViewDescription": "Debug, make changes while keeping an eye on live data from everywhere with split view.",
"console.components.live-data-tutorial.index.gotIt": "Got it",
"console.components.live-data-tutorial.index.tryIt": "Try it",
"console.components.location-form.index.deleteAllLocations": "Delete all location data",
"console.components.location-form.index.deleteFailure": "An error occurred and the location could not be deleted",
"console.components.location-form.index.deleteLocation": "Remove location data",
Expand Down Expand Up @@ -793,7 +797,7 @@
"console.containers.sessions-table.index.endSession": "Logout to end this session",
"console.containers.sessions-table.index.currentSession": "(This is the current session)",
"console.containers.shortcut-panel.index.shortcuts": "Quick actions",
"console.containers.shortcut-panel.index.addPersonalApiKey": "Add new personal API key",
"console.containers.shortcut-panel.index.addEndDevice": "Add end device",
"console.containers.sidebar.navigation.app-side-navigation.buttonMessage": "Back to Applications list",
"console.containers.sidebar.navigation.gtw-side-navigation.buttonMessage": "Back to Gateways list",
"console.containers.sidebar.navigation.top-entities-section.topGateways": "Top gateways",
Expand Down
6 changes: 5 additions & 1 deletion pkg/webui/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@
"console.components.gateway-api-keys-modal.index.downloadLns": "LNSキーをダウンロード",
"console.components.gateway-api-keys-modal.index.downloadCups": "CUPSキーをダウンロード",
"console.components.gateway-visibility-form.index.saveDefaultGatewayVisibility": "デフォルトゲートウェイの可視性を保存",
"console.components.live-data-tutorial.index.liveDataSplitView": "",
"console.components.live-data-tutorial.index.liveDataSplitViewDescription": "",
"console.components.live-data-tutorial.index.gotIt": "",
"console.components.live-data-tutorial.index.tryIt": "",
"console.components.location-form.index.deleteAllLocations": "",
"console.components.location-form.index.deleteFailure": "",
"console.components.location-form.index.deleteLocation": "",
Expand Down Expand Up @@ -793,7 +797,7 @@
"console.containers.sessions-table.index.endSession": "",
"console.containers.sessions-table.index.currentSession": "",
"console.containers.shortcut-panel.index.shortcuts": "",
"console.containers.shortcut-panel.index.addPersonalApiKey": "",
"console.containers.shortcut-panel.index.addEndDevice": "",
"console.containers.sidebar.navigation.app-side-navigation.buttonMessage": "",
"console.containers.sidebar.navigation.gtw-side-navigation.buttonMessage": "",
"console.containers.sidebar.navigation.top-entities-section.topGateways": "",
Expand Down

0 comments on commit 80aa80b

Please sign in to comment.