Skip to content

Commit

Permalink
feat: jsdoc and improvements to daemon logic (#2227)
Browse files Browse the repository at this point in the history
* feat: jsdoc and improvements to daemon logic

* fix: only check for config iff api file not exists

* fix: re-add Object.freeze to STATUS

* docs: clear comment
  • Loading branch information
hacdias committed Aug 29, 2022
1 parent df81055 commit 68535e8
Show file tree
Hide file tree
Showing 7 changed files with 461 additions and 200 deletions.
14 changes: 11 additions & 3 deletions assets/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,20 @@
"title": "IPFS Desktop Startup Has Failed",
"message": "IPFS node has encountered an error and startup could not be completed:"
},
"invalidRepositoryDialog": {
"title": "Invalid IPFS Repository or Configuration File",
"message": "The repository at “{ path }” is invalid. The “config” file must be a valid JSON.\n\nBefore starting IPFS Desktop again, please fix the configuration file or rename the old repository to “.ipfs.backup”."
"repositoryMustBeDirectoryDialog": {
"title": "IPFS Repository Must Be a Directory",
"message": "The repository at “{ path }” is invalid, as it is not a directory.\n\nBefore starting IPFS Desktop again, please rename the old repository to “.ipfs.backup”. Please note that this will make IPFS Desktop generate a new repository."
},
"repositoryConfigurationIsMissingDialog": {
"title": "IPFS Repository Configuration Is Missing",
"message": "The repository at “{ path }” does not have a “config” file. The “config” file must be a valid JSON file.\n\nBefore starting IPFS Desktop again, please fix the configuration file or rename the old repository to “.ipfs.backup”. Please note that by renaming the old repository, IPFS Desktop will generate a new repository."
},
"privateNetworkDialog": {
"title": "Private Network IPFS Repository",
"message": "The repository at “{ path }” is part of a private network, which is not supported by IPFS Desktop."
},
"invalidRepositoryDialog": {
"title": "Invalid IPFS Repository or Configuration File",
"message": "The repository at “{ path }” or its configuration is invalid. The “config” file must be a valid JSON.\n\nBefore starting IPFS Desktop again, please fix the configuration file or rename the old repository to “.ipfs.backup”. Please note that by renaming the old repository, IPFS Desktop will generate a new repository"
}
}
Loading

0 comments on commit 68535e8

Please sign in to comment.