diff --git a/public/locales/en/app.json b/public/locales/en/app.json index 171374c2b..11a160a22 100644 --- a/public/locales/en/app.json +++ b/public/locales/en/app.json @@ -1,4 +1,8 @@ { + "cliModal": { + "description": "Paste the following into your terminal to do this task in IPFS via the command line. Remember that you'll need to replace placeholders with your specific parameters.", + "extraNotes": "If you've made changes to the config in this page's code editor that you'd like to save, click the download icon next to the copy button to download it as a JSON file." + }, "tour": { "back": "Back", "close": "Close", diff --git a/public/locales/en/files.json b/public/locales/en/files.json index f65c1f057..ffe8beab1 100644 --- a/public/locales/en/files.json +++ b/public/locales/en/files.json @@ -121,8 +121,5 @@ "more": "More", "files": "Files", "cidNotFileNorDir": "The current link isn't a file, nor a directory. Try to <0>inspect it instead.", - "sortBy": "Sort items by {name}", - "cliModal": { - "description": "Paste the following into your terminal to do this task in IPFS via the command line. Remember that you'll need to replace placeholders with your specific parameters." - } + "sortBy": "Sort items by {name}" } diff --git a/public/locales/en/peers.json b/public/locales/en/peers.json index a1a075cbd..4e43ee1a0 100644 --- a/public/locales/en/peers.json +++ b/public/locales/en/peers.json @@ -39,8 +39,5 @@ "edit": "Change", "close": "Close", "copyCommand": "Copy" - }, - "cliModal": { - "description": "Paste the following into your terminal to do this task in IPFS via the command line. Remember that you'll need to replace placeholders with your specific parameters." } } diff --git a/public/locales/en/settings.json b/public/locales/en/settings.json index b56d5a012..7a68361e9 100644 --- a/public/locales/en/settings.json +++ b/public/locales/en/settings.json @@ -14,10 +14,6 @@ "translationProjectIntro": "Add or improve translations and make IPFS better for everyone!", "translationProjectLink": "Join the IPFS Translation Project" }, - "cliModal": { - "description": "Paste the following into your terminal to do this task in IPFS via the command line. Remember that you'll need to replace placeholders with your specific parameters.", - "extraNotes": "If you've made changes to the config in this page's code editor that you'd like to save, click the download icon next to the copy button to download it as a JSON file." - }, "actions": { "edit": "Change", "close": "Close", diff --git a/public/locales/en/welcome.json b/public/locales/en/welcome.json index 7dcbf090b..e5ab92319 100644 --- a/public/locales/en/welcome.json +++ b/public/locales/en/welcome.json @@ -45,8 +45,5 @@ "actions": { "close": "Close", "copyCommand": "Copy" - }, - "cliModal": { - "description": "Paste the following into your terminal to do this task in IPFS via the command line. Remember that you'll need to replace placeholders with your specific parameters." } } diff --git a/src/components/cli-tutor-mode/CliTutorMode.js b/src/components/cli-tutor-mode/CliTutorMode.js index 45006e263..625f74dd3 100644 --- a/src/components/cli-tutor-mode/CliTutorMode.js +++ b/src/components/cli-tutor-mode/CliTutorMode.js @@ -22,10 +22,10 @@ export const CliTutorialModal = ({ command, t, onLeave, className, downloadConfi

- {t('cliModal.description')} + {t('app:cliModal.description')}

- { command && command === cliCommandList[cliCmdKeys.UPDATE_IPFS_CONFIG]() ? t('cliModal.extraNotes') : ''} + { command && command === cliCommandList[cliCmdKeys.UPDATE_IPFS_CONFIG]() ? t('app:cliModal.extraNotes') : ''}