From 944af739070652910d12195245968f13c6021be5 Mon Sep 17 00:00:00 2001 From: William Oldham Date: Mon, 30 Dec 2024 13:28:11 +0000 Subject: [PATCH] Add editorconfig, format script, and format all files consistently --- .editorconfig | 5 +++++ .gitignore | 1 + data/102/0001/en_US.json | 24 ++++++++++++------------ data/102/1001/en_US.json | 24 ++++++++++++------------ data/102/1021/en_US.json | 24 ++++++++++++------------ data/102/2107/en_US.json | 24 ++++++++++++------------ data/102/2472/en_US.json | 24 ++++++++++++------------ data/102/2594/en_US.json | 24 ++++++++++++------------ data/102/2595/en_US.json | 24 ++++++++++++------------ data/102/2612/en_US.json | 24 ++++++++++++------------ data/102/2613/en_US.json | 26 +++++++++++++------------- data/102/2631/en_US.json | 24 ++++++++++++------------ data/102/2633/en_US.json | 24 ++++++++++++------------ data/102/2672/en_US.json | 24 ++++++++++++------------ data/102/2674/en_US.json | 24 ++++++++++++------------ data/102/2675/en_US.json | 24 ++++++++++++------------ data/102/2676/en_US.json | 24 ++++++++++++------------ data/102/2814/en_US.json | 24 ++++++++++++------------ data/102/2815/en_US.json | 24 ++++++++++++------------ data/102/2882/en_US.json | 24 ++++++++++++------------ data/104/0440/en_US.json | 24 ++++++++++++------------ data/160/0101/en_US.json | 24 ++++++++++++------------ data/160/0105/en_US.json | 24 ++++++++++++------------ data/160/0106/en_US.json | 26 +++++++++++++------------- data/160/1400/en_US.json | 26 +++++++++++++------------- data/160/1402/en_US.json | 26 +++++++++++++------------- data/160/1710/en_US.json | 26 +++++++++++++------------- data/160/2203/en_US.json | 26 +++++++++++++------------- data/160/2246/en_US.json | 24 ++++++++++++------------ data/160/2701/en_US.json | 24 ++++++++++++------------ data/160/2706/en_US.json | 24 ++++++++++++------------ data/160/2713/en_US.json | 24 ++++++++++++------------ data/160/2793/en_US.json | 26 +++++++++++++------------- data/160/3219/en_US.json | 26 +++++++++++++------------- data/160/4711/en_US.json | 26 +++++++++++++------------- data/160/4714/en_US.json | 26 +++++++++++++------------- data/160/4792/en_US.json | 26 +++++++++++++------------- data/165/2738/en_US.json | 24 ++++++++++++------------ data/165/3000/en_US.json | 24 ++++++++++++------------ data/165/3423/en_US.json | 26 +++++++++++++------------- data/165/6596/en_US.json | 24 ++++++++++++------------ data/165/7457/en_US.json | 24 ++++++++++++------------ data/165/8426/en_US.json | 24 ++++++++++++------------ data/165/9901/en_US.json | 26 +++++++++++++------------- format.sh | 29 +++++++++++++++++++++++++++++ 45 files changed, 552 insertions(+), 517 deletions(-) create mode 100644 .editorconfig create mode 100644 .gitignore create mode 100644 format.sh diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e2692020 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +[*] +indent_style = tab +indent_size = 2 +end_of_line = lf +insert_final_newline = false \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..bdf6ba9d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +error.log diff --git a/data/102/0001/en_US.json b/data/102/0001/en_US.json index 21d0a195..0ac4ae63 100644 --- a/data/102/0001/en_US.json +++ b/data/102/0001/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "0001": { - "name": "MAIL_ADDRESS_NOT_CONFIRMED", - "message": "", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-0001" - } - } +{ + "102": { + "0001": { + "name": "MAIL_ADDRESS_NOT_CONFIRMED", + "message": "", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-0001" + } + } } \ No newline at end of file diff --git a/data/102/1001/en_US.json b/data/102/1001/en_US.json index 45321192..ca2c6e26 100644 --- a/data/102/1001/en_US.json +++ b/data/102/1001/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "1001": { - "name": "ACCOUNT_NOT_FOUND", - "message": "Unable to find the specified user.", - "short_description": "The Nintendo/Pretendo Network ID entered was incorrect or does not exist.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-1001" - } - } +{ + "102": { + "1001": { + "name": "ACCOUNT_NOT_FOUND", + "message": "Unable to find the specified user.", + "short_description": "The Nintendo/Pretendo Network ID entered was incorrect or does not exist.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-1001" + } + } } \ No newline at end of file diff --git a/data/102/1021/en_US.json b/data/102/1021/en_US.json index ff2e8e36..f36e36c1 100644 --- a/data/102/1021/en_US.json +++ b/data/102/1021/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "1021": { - "name": "NOT_NETWORK_ACCOUNT", - "message": "Use of this feature requires a linked\nNintendo Network ID.\n\nYou can link an ID from User Settings.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Link a Nintendo/Pretendo Network ID to your user.", - "long_solution": "Link a Nintendo/Pretendo Network ID to your user.", - "support_link": "https://preten.do/102-1021" - } - } +{ + "102": { + "1021": { + "name": "NOT_NETWORK_ACCOUNT", + "message": "Use of this feature requires a linked\nNintendo Network ID.\n\nYou can link an ID from User Settings.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Link a Nintendo/Pretendo Network ID to your user.", + "long_solution": "Link a Nintendo/Pretendo Network ID to your user.", + "support_link": "https://preten.do/102-1021" + } + } } \ No newline at end of file diff --git a/data/102/2107/en_US.json b/data/102/2107/en_US.json index e21ff170..e753f644 100644 --- a/data/102/2107/en_US.json +++ b/data/102/2107/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2107": { - "name": "HTTP_COULDNT_CONNECT", - "message": "Could not connect to internet.\n\nThe network may be busy.\nPlease try again later.\n\nIf you are using a Wi-Fi network,\nthe signal strength may be poor.\nPlease make sure there are no\nobstructions between the console\nand network device, then try again.\n\nIf this problem persists, please check\nwhether or not you can connect to\nthe internet from a PC or other\ndevice using the same settings.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2107" - } - } +{ + "102": { + "2107": { + "name": "HTTP_COULDNT_CONNECT", + "message": "Could not connect to internet.\n\nThe network may be busy.\nPlease try again later.\n\nIf you are using a Wi-Fi network,\nthe signal strength may be poor.\nPlease make sure there are no\nobstructions between the console\nand network device, then try again.\n\nIf this problem persists, please check\nwhether or not you can connect to\nthe internet from a PC or other\ndevice using the same settings.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2107" + } + } } \ No newline at end of file diff --git a/data/102/2472/en_US.json b/data/102/2472/en_US.json index 3dd59e9c..1f038de4 100644 --- a/data/102/2472/en_US.json +++ b/data/102/2472/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2472": { - "name": "INVALID_CLIENT_ID", - "message": "An error has occurred.\n\nPlease try again later.\n\nIf the problem persists, please\nvisit support.nintendo.com", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2472" - } - } +{ + "102": { + "2472": { + "name": "INVALID_CLIENT_ID", + "message": "An error has occurred.\n\nPlease try again later.\n\nIf the problem persists, please\nvisit support.nintendo.com", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2472" + } + } } \ No newline at end of file diff --git a/data/102/2594/en_US.json b/data/102/2594/en_US.json index 55952ade..3266c458 100644 --- a/data/102/2594/en_US.json +++ b/data/102/2594/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2594": { - "name": "PARENTAL_CONTROLS_REQUIRED", - "message": "Parental Controls restrictions\nmust be set up first.", - "short_description": "You have not set up the required Parental Controls restrictions.", - "long_description": "Unknown cause.", - "short_solution": "Set up the required Parental Controls restrictions.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2594" - } - } +{ + "102": { + "2594": { + "name": "PARENTAL_CONTROLS_REQUIRED", + "message": "Parental Controls restrictions\nmust be set up first.", + "short_description": "You have not set up the required Parental Controls restrictions.", + "long_description": "Unknown cause.", + "short_solution": "Set up the required Parental Controls restrictions.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2594" + } + } } \ No newline at end of file diff --git a/data/102/2595/en_US.json b/data/102/2595/en_US.json index 305e48aa..e93aca4e 100644 --- a/data/102/2595/en_US.json +++ b/data/102/2595/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2595": { - "name": "MII_NOT_REGISTERED", - "message": "You have not registered a Mii.", - "short_description": "A Mii has not been registred to the account. ", - "long_description": "Unknown cause.", - "short_solution": "Register a Mii and try again.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2595" - } - } +{ + "102": { + "2595": { + "name": "MII_NOT_REGISTERED", + "message": "You have not registered a Mii.", + "short_description": "A Mii has not been registred to the account. ", + "long_description": "Unknown cause.", + "short_solution": "Register a Mii and try again.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2595" + } + } } \ No newline at end of file diff --git a/data/102/2612/en_US.json b/data/102/2612/en_US.json index fd60e3e6..fe9ca148 100644 --- a/data/102/2612/en_US.json +++ b/data/102/2612/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2612": { - "name": "WRONG_MAIL_ADDRESS", - "message": "The e-mail address you entered is not\ncorrect.\n\nPlease check the e-mail address\nyou entered and try again.", - "short_description": "The entered e-mail address is incorrect.", - "long_description": "Unknown cause.", - "short_solution": "Enter the correct e-mail address.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2612" - } - } +{ + "102": { + "2612": { + "name": "WRONG_MAIL_ADDRESS", + "message": "The e-mail address you entered is not\ncorrect.\n\nPlease check the e-mail address\nyou entered and try again.", + "short_description": "The entered e-mail address is incorrect.", + "long_description": "Unknown cause.", + "short_solution": "Enter the correct e-mail address.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2612" + } + } } \ No newline at end of file diff --git a/data/102/2613/en_US.json b/data/102/2613/en_US.json index a50c04ce..1d78fd2a 100644 --- a/data/102/2613/en_US.json +++ b/data/102/2613/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2613": { - "name": "WRONG_ACCOUNT_PASSWORD_OR_MAIL_ADDRESS", - "message": "The information entered is not correct.\nYou may have entered the ID of another\nservice.\n\nPlease enter the details again, making\nsure that the Nintendo Network ID,\npassword, and e-mail address are\ncorrect.", - "short_description": "Invalid account information provided. Either your username, password, or email address does not match.", - "long_description": "Invalid account information provided. Either your username, password, or email address does not match.", - "short_solution": "Enter the correct information and try again. You might also be connected to Pretendo Network while trying to sign in with an NNID, or Nintendo Network while trying to sign in with a PNID.", - "long_solution": "Enter the correct information and try again. Double check if your information is correct by attempting to sign in on the Pretendo website. You might also be connected to Pretendo Network while trying to sign in with an NNID, or Nintendo Network while trying to sign in with a PNID.", - "support_link": "https://preten.do/102-2613" - } - } -} +{ + "102": { + "2613": { + "name": "WRONG_ACCOUNT_PASSWORD_OR_MAIL_ADDRESS", + "message": "The information entered is not correct.\nYou may have entered the ID of another\nservice.\n\nPlease enter the details again, making\nsure that the Nintendo Network ID,\npassword, and e-mail address are\ncorrect.", + "short_description": "Invalid account information provided. Either your username, password, or email address does not match.", + "long_description": "Invalid account information provided. Either your username, password, or email address does not match.", + "short_solution": "Enter the correct information and try again. You might also be connected to Pretendo Network while trying to sign in with an NNID, or Nintendo Network while trying to sign in with a PNID.", + "long_solution": "Enter the correct information and try again. Double check if your information is correct by attempting to sign in on the Pretendo website. You might also be connected to Pretendo Network while trying to sign in with an NNID, or Nintendo Network while trying to sign in with a PNID.", + "support_link": "https://preten.do/102-2613" + } + } +} \ No newline at end of file diff --git a/data/102/2631/en_US.json b/data/102/2631/en_US.json index 724e2b8a..b8939155 100644 --- a/data/102/2631/en_US.json +++ b/data/102/2631/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2631": { - "name": "ACCOUNT_ALREADY_DELETED", - "message": "This user cannot use network services.\n\nThe Nintendo Network ID linked to this\nuser has been deleted.", - "short_description": "The account linked to the user has been deleted.", - "long_description": "Unknown cause.", - "short_solution": "Link a new Nintendo/Pretendo Network ID to the user.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2631" - } - } +{ + "102": { + "2631": { + "name": "ACCOUNT_ALREADY_DELETED", + "message": "This user cannot use network services.\n\nThe Nintendo Network ID linked to this\nuser has been deleted.", + "short_description": "The account linked to the user has been deleted.", + "long_description": "Unknown cause.", + "short_solution": "Link a new Nintendo/Pretendo Network ID to the user.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2631" + } + } } \ No newline at end of file diff --git a/data/102/2633/en_US.json b/data/102/2633/en_US.json index a7ea15f3..631408eb 100644 --- a/data/102/2633/en_US.json +++ b/data/102/2633/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2633": { - "name": "AUTHENTICATION_LOCKED", - "message": "Due to repeated incorrect password\nentries, you are temporarily unable\nto sign in to Nintendo Network\n\nPlease try again later.", - "short_description": "You entered an incorrect password multiple times and have now been temporarily locked out", - "long_description": "Unknown cause.", - "short_solution": "Wait for the timeout to end and enter the correct password.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2633" - } - } +{ + "102": { + "2633": { + "name": "AUTHENTICATION_LOCKED", + "message": "Due to repeated incorrect password\nentries, you are temporarily unable\nto sign in to Nintendo Network\n\nPlease try again later.", + "short_description": "You entered an incorrect password multiple times and have now been temporarily locked out", + "long_description": "Unknown cause.", + "short_solution": "Wait for the timeout to end and enter the correct password.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2633" + } + } } \ No newline at end of file diff --git a/data/102/2672/en_US.json b/data/102/2672/en_US.json index 51a67d4e..cdd1823c 100644 --- a/data/102/2672/en_US.json +++ b/data/102/2672/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2672": { - "name": "CREDIT_CARD_DECLINED", - "message": "The use of this credit card has\nbeen stopped.", - "short_description": "The credit card has been declined.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2672" - } - } +{ + "102": { + "2672": { + "name": "CREDIT_CARD_DECLINED", + "message": "The use of this credit card has\nbeen stopped.", + "short_description": "The credit card has been declined.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2672" + } + } } \ No newline at end of file diff --git a/data/102/2674/en_US.json b/data/102/2674/en_US.json index a348de0d..224c3237 100644 --- a/data/102/2674/en_US.json +++ b/data/102/2674/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2674": { - "name": "INVALID_CREDIT_CARD_NUMBER", - "message": "Please check the credit-card\nnumber and try entering it again.", - "short_description": "The entered credit card number is incorrect.", - "long_description": "Unknown cause.", - "short_solution": "Enter the correct credit card number.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2674" - } - } +{ + "102": { + "2674": { + "name": "INVALID_CREDIT_CARD_NUMBER", + "message": "Please check the credit-card\nnumber and try entering it again.", + "short_description": "The entered credit card number is incorrect.", + "long_description": "Unknown cause.", + "short_solution": "Enter the correct credit card number.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2674" + } + } } \ No newline at end of file diff --git a/data/102/2675/en_US.json b/data/102/2675/en_US.json index 3ffbaf09..fa303749 100644 --- a/data/102/2675/en_US.json +++ b/data/102/2675/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2675": { - "name": "INVALID_CREDIT_CARD_DATE", - "message": "Please check the credit-card\nexpiration date and try entering\nit again.", - "short_description": "The entered credit card expiration date is incorrect.", - "long_description": "Unknown cause.", - "short_solution": "Enter the correct credit card expiration date.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2675" - } - } +{ + "102": { + "2675": { + "name": "INVALID_CREDIT_CARD_DATE", + "message": "Please check the credit-card\nexpiration date and try entering\nit again.", + "short_description": "The entered credit card expiration date is incorrect.", + "long_description": "Unknown cause.", + "short_solution": "Enter the correct credit card expiration date.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2675" + } + } } \ No newline at end of file diff --git a/data/102/2676/en_US.json b/data/102/2676/en_US.json index b4dedb37..41c8d3bf 100644 --- a/data/102/2676/en_US.json +++ b/data/102/2676/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2676": { - "name": "INVALID_CREDIT_CARD_PIN", - "message": "Please check the credit-card\nPIN and try entering it again.", - "short_description": "The entered credit card PIN is incorrect.", - "long_description": "Unknown cause.", - "short_solution": "Enter the correct credit card PIN.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/102-2676" - } - } +{ + "102": { + "2676": { + "name": "INVALID_CREDIT_CARD_PIN", + "message": "Please check the credit-card\nPIN and try entering it again.", + "short_description": "The entered credit card PIN is incorrect.", + "long_description": "Unknown cause.", + "short_solution": "Enter the correct credit card PIN.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/102-2676" + } + } } \ No newline at end of file diff --git a/data/102/2814/en_US.json b/data/102/2814/en_US.json index a4ab9c56..baa55cd8 100644 --- a/data/102/2814/en_US.json +++ b/data/102/2814/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2814": { - "name": "BANNED_DEVICE_IN_NEX_SERVICE", - "message": "Online services cannot be used.\n\nPlease make note of the error code\nand visit support.nintendo.com.", - "short_description": "Your console is permanently banned from this game", - "long_description": "Your console is permanently banned from this game", - "short_solution": "Don't do whatever you did to get banned", - "long_solution": "Don't do whatever you did to get banned", - "support_link": "https://preten.do/102-2814" - } - } +{ + "102": { + "2814": { + "name": "BANNED_DEVICE_IN_NEX_SERVICE", + "message": "Online services cannot be used.\n\nPlease make note of the error code\nand visit support.nintendo.com.", + "short_description": "Your console is permanently banned from this game", + "long_description": "Your console is permanently banned from this game", + "short_solution": "Don't do whatever you did to get banned", + "long_solution": "Don't do whatever you did to get banned", + "support_link": "https://preten.do/102-2814" + } + } } \ No newline at end of file diff --git a/data/102/2815/en_US.json b/data/102/2815/en_US.json index 0854c1b1..41426551 100644 --- a/data/102/2815/en_US.json +++ b/data/102/2815/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2815": { - "name": "BANNED_DEVICE_IN_INDEPENDENT_SERVICE", - "message": "Online services cannot be used.\n\nPlease make note of the error code\nand visit support.nintendo.com.", - "short_description": "Your console is permanently banned from this service", - "long_description": "Your console is permanently banned from this service", - "short_solution": "Don't do whatever you did to get banned", - "long_solution": "Don't do whatever you did to get banned", - "support_link": "https://preten.do/102-2815" - } - } +{ + "102": { + "2815": { + "name": "BANNED_DEVICE_IN_INDEPENDENT_SERVICE", + "message": "Online services cannot be used.\n\nPlease make note of the error code\nand visit support.nintendo.com.", + "short_description": "Your console is permanently banned from this service", + "long_description": "Your console is permanently banned from this service", + "short_solution": "Don't do whatever you did to get banned", + "long_solution": "Don't do whatever you did to get banned", + "support_link": "https://preten.do/102-2815" + } + } } \ No newline at end of file diff --git a/data/102/2882/en_US.json b/data/102/2882/en_US.json index acadd3d9..f30fd0da 100644 --- a/data/102/2882/en_US.json +++ b/data/102/2882/en_US.json @@ -1,13 +1,13 @@ -{ - "102": { - "2882": { - "name": "SERVICE_CLOSED", - "message": "This online service is no longer\navailable.\n\nSorry for the inconvenience.", - "short_description": "The server you requested is closed and no longer maintained", - "long_description": "The server you requested is closed and no longer maintained", - "short_solution": "Self host the server or use another hosted instance.", - "long_solution": "Self host the server or use another hosted instance", - "support_link": "https://preten.do/102-2882" - } - } +{ + "102": { + "2882": { + "name": "SERVICE_CLOSED", + "message": "This online service is no longer\navailable.\n\nSorry for the inconvenience.", + "short_description": "The server you requested is closed and no longer maintained", + "long_description": "The server you requested is closed and no longer maintained", + "short_solution": "Self host the server or use another hosted instance.", + "long_solution": "Self host the server or use another hosted instance", + "support_link": "https://preten.do/102-2882" + } + } } \ No newline at end of file diff --git a/data/104/0440/en_US.json b/data/104/0440/en_US.json index 5ed2ef86..cfecd0b0 100644 --- a/data/104/0440/en_US.json +++ b/data/104/0440/en_US.json @@ -1,13 +1,13 @@ - -"104": { - "0440": { - "name": "Unknown", - "message": "An error has occurred./n/nPlease try again later./n/nIf the problem persists, please\nmake a note of the error code and\nvisit support.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/104-0440" - } -} +{ + "104": { + "0440": { + "name": "Unknown", + "message": "An error has occurred./n/nPlease try again later./n/nIf the problem persists, please\nmake a note of the error code and\nvisit support.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/104-0440" + } + } } \ No newline at end of file diff --git a/data/160/0101/en_US.json b/data/160/0101/en_US.json index ecd89d18..e66f46da 100644 --- a/data/160/0101/en_US.json +++ b/data/160/0101/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "0101": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "May occur when attempting to format a console that has CBHC installed.", - "long_description": "May occur when attempting to format a console that has CBHC installed.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-0101" - } - } +{ + "160": { + "0101": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "May occur when attempting to format a console that has CBHC installed.", + "long_description": "May occur when attempting to format a console that has CBHC installed.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-0101" + } + } } \ No newline at end of file diff --git a/data/160/0105/en_US.json b/data/160/0105/en_US.json index ba639aad..c623b2b3 100644 --- a/data/160/0105/en_US.json +++ b/data/160/0105/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "0105": { - "name": "Unknown", - "message": "There is a problem with the USB storage device.\n\nPlease contact the manufacturer of the device.\nCheck the device documentation for contact details.", - "short_description": "USB device error", - "long_description": "There is a problem with the USB device that the console is attempting to read from. This could mean that the data is corrupted.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-0105" - } - } +{ + "160": { + "0105": { + "name": "Unknown", + "message": "There is a problem with the USB storage device.\n\nPlease contact the manufacturer of the device.\nCheck the device documentation for contact details.", + "short_description": "USB device error", + "long_description": "There is a problem with the USB device that the console is attempting to read from. This could mean that the data is corrupted.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-0105" + } + } } \ No newline at end of file diff --git a/data/160/0106/en_US.json b/data/160/0106/en_US.json index 3f459986..aa4de63a 100644 --- a/data/160/0106/en_US.json +++ b/data/160/0106/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "0106": { - "name": "Unknown", - "message": "The USB storage device has been disconnected.\nPress and hold the POWER Button for at least four\nseconds to turn the console off, then make sure the device\nis connected properly.\n\nIf the problem persists, the USB storage device may not\nbe receiving enough power. Please use an AC adapter\nor USB Y cable, as applicable.", - "short_description": "USB device error", - "long_description": "The USB device was disconnected from the console while powered on.", - "short_solution": "Force power-off the console by holding down the POWER button, then re-connect the device and try again.", - "long_solution": "Force power-off the console by holding down the POWER button, then re-connect the device and try again. This may also be occurring because games are attempted to be played off a USB flash drive rather than an external HDD with a USB Y cable.", - "support_link": "https://preten.do/160-0106" - } - } -} +{ + "160": { + "0106": { + "name": "Unknown", + "message": "The USB storage device has been disconnected.\nPress and hold the POWER Button for at least four\nseconds to turn the console off, then make sure the device\nis connected properly.\n\nIf the problem persists, the USB storage device may not\nbe receiving enough power. Please use an AC adapter\nor USB Y cable, as applicable.", + "short_description": "USB device error", + "long_description": "The USB device was disconnected from the console while powered on.", + "short_solution": "Force power-off the console by holding down the POWER button, then re-connect the device and try again.", + "long_solution": "Force power-off the console by holding down the POWER button, then re-connect the device and try again. This may also be occurring because games are attempted to be played off a USB flash drive rather than an external HDD with a USB Y cable.", + "support_link": "https://preten.do/160-0106" + } + } +} \ No newline at end of file diff --git a/data/160/1400/en_US.json b/data/160/1400/en_US.json index cedd551c..234acd9a 100644 --- a/data/160/1400/en_US.json +++ b/data/160/1400/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "1400": { - "name": "Unknown", - "message": "There is a problem with the disc drive.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", - "short_description": "Optical Disc Drive error", - "long_description": "Optical Disc Drive error - Likely an issue with the Common Mode Filter.", - "short_solution": "To fix this requires soldering. Visit the support page for more information.", - "long_solution": "To fix this requires soldering. See https://gbatemp.net/threads/572879/ for more. (Thanks, Homebrew Discord. Speak to them for further assistance.)", - "support_link": "https://preten.do/160-1400" - } - } -} +{ + "160": { + "1400": { + "name": "Unknown", + "message": "There is a problem with the disc drive.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", + "short_description": "Optical Disc Drive error", + "long_description": "Optical Disc Drive error - Likely an issue with the Common Mode Filter.", + "short_solution": "To fix this requires soldering. Visit the support page for more information.", + "long_solution": "To fix this requires soldering. See https://gbatemp.net/threads/572879/ for more. (Thanks, Homebrew Discord. Speak to them for further assistance.)", + "support_link": "https://preten.do/160-1400" + } + } +} \ No newline at end of file diff --git a/data/160/1402/en_US.json b/data/160/1402/en_US.json index dc10864c..232980c5 100644 --- a/data/160/1402/en_US.json +++ b/data/160/1402/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "1402": { - "name": "Unknown", - "message": "There is a problem with the disc drive.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", - "short_description": "Optical Disc Drive error", - "long_description": "Optical Disc Drive error", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-1402" - } - } -} +{ + "160": { + "1402": { + "name": "Unknown", + "message": "There is a problem with the disc drive.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", + "short_description": "Optical Disc Drive error", + "long_description": "Optical Disc Drive error", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-1402" + } + } +} \ No newline at end of file diff --git a/data/160/1710/en_US.json b/data/160/1710/en_US.json index 8beea5c7..fa485132 100644 --- a/data/160/1710/en_US.json +++ b/data/160/1710/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "1710": { - "name": "Unknown", - "message": "There is a problem with the system memory.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-1710" - } - } -} +{ + "160": { + "1710": { + "name": "Unknown", + "message": "There is a problem with the system memory.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-1710" + } + } +} \ No newline at end of file diff --git a/data/160/2203/en_US.json b/data/160/2203/en_US.json index 2bcd885b..37264ae3 100644 --- a/data/160/2203/en_US.json +++ b/data/160/2203/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "2203": { - "name": "Unknown", - "message": "There is a problem with the system memory.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-2203" - } - } -} +{ + "160": { + "2203": { + "name": "Unknown", + "message": "There is a problem with the system memory.\n\nFor help, make a note of the error code and visit\nsupport.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-2203" + } + } +} \ No newline at end of file diff --git a/data/160/2246/en_US.json b/data/160/2246/en_US.json index 829ccaf2..f948b610 100644 --- a/data/160/2246/en_US.json +++ b/data/160/2246/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "2246": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-2246" - } - } +{ + "160": { + "2246": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-2246" + } + } } \ No newline at end of file diff --git a/data/160/2701/en_US.json b/data/160/2701/en_US.json index 409baa7a..246e0fce 100644 --- a/data/160/2701/en_US.json +++ b/data/160/2701/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "2701": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-2701" - } - } +{ + "160": { + "2701": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-2701" + } + } } \ No newline at end of file diff --git a/data/160/2706/en_US.json b/data/160/2706/en_US.json index 366b66e1..a8330712 100644 --- a/data/160/2706/en_US.json +++ b/data/160/2706/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "2706": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-2706" - } - } +{ + "160": { + "2706": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-2706" + } + } } \ No newline at end of file diff --git a/data/160/2713/en_US.json b/data/160/2713/en_US.json index e5ce9909..5f94670f 100644 --- a/data/160/2713/en_US.json +++ b/data/160/2713/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "2713": { - "name": "Unknown", - "message": "The USB storage device has been disconnected.\nPress and hold the POWER Button for at least four\nseconds to turn the console off, then make sure the device\nis connected properly.\n\nIf the problem persists, the USB storage device may not\nbe receiving enough power. Please use an AC adapter\nor USB Y cable, as applicable.", - "short_description": "USB device error", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-2713" - } - } +{ + "160": { + "2713": { + "name": "Unknown", + "message": "The USB storage device has been disconnected.\nPress and hold the POWER Button for at least four\nseconds to turn the console off, then make sure the device\nis connected properly.\n\nIf the problem persists, the USB storage device may not\nbe receiving enough power. Please use an AC adapter\nor USB Y cable, as applicable.", + "short_description": "USB device error", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-2713" + } + } } \ No newline at end of file diff --git a/data/160/2793/en_US.json b/data/160/2793/en_US.json index be24652c..8c9386c9 100644 --- a/data/160/2793/en_US.json +++ b/data/160/2793/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "2793": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "Possibly missing files on the vWii", - "long_description": "Possibly missing files on the vWii", - "short_solution": "Run vWii decaffinator and then update the console.", - "long_solution": "Run vWii decaffinator and then update the console.", - "support_link": "https://preten.do/160-2793" - } - } -} +{ + "160": { + "2793": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "Possibly missing files on the vWii", + "long_description": "Possibly missing files on the vWii", + "short_solution": "Run vWii decaffinator and then update the console.", + "long_solution": "Run vWii decaffinator and then update the console.", + "support_link": "https://preten.do/160-2793" + } + } +} \ No newline at end of file diff --git a/data/160/3219/en_US.json b/data/160/3219/en_US.json index 27306f0a..2da2ce99 100644 --- a/data/160/3219/en_US.json +++ b/data/160/3219/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "3219": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-3219" - } - } -} +{ + "160": { + "3219": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-3219" + } + } +} \ No newline at end of file diff --git a/data/160/4711/en_US.json b/data/160/4711/en_US.json index 271f37cb..40d7229c 100644 --- a/data/160/4711/en_US.json +++ b/data/160/4711/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "4711": { - "name": "Unknown", - "message": "There is a problem with the USB storage device.\n\nPlease contact the manufacturer of the device.\nCheck the device's documentation for contact details.", - "short_description": "USB device error", - "long_description": "USB device error - may indicate a dying or dead USB storage device.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-4711" - } - } -} +{ + "160": { + "4711": { + "name": "Unknown", + "message": "There is a problem with the USB storage device.\n\nPlease contact the manufacturer of the device.\nCheck the device's documentation for contact details.", + "short_description": "USB device error", + "long_description": "USB device error - may indicate a dying or dead USB storage device.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-4711" + } + } +} \ No newline at end of file diff --git a/data/160/4714/en_US.json b/data/160/4714/en_US.json index 87bb6ac4..37af4858 100644 --- a/data/160/4714/en_US.json +++ b/data/160/4714/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "4714": { - "name": "USB device error", - "message": "There is a problem with the USB storage device.\n\nPlease contact the manufacturer of the device.\nCheck the device's documentation for contact details.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-4714" - } - } -} +{ + "160": { + "4714": { + "name": "USB device error", + "message": "There is a problem with the USB storage device.\n\nPlease contact the manufacturer of the device.\nCheck the device's documentation for contact details.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-4714" + } + } +} \ No newline at end of file diff --git a/data/160/4792/en_US.json b/data/160/4792/en_US.json index ad7142ee..b4ef62ff 100644 --- a/data/160/4792/en_US.json +++ b/data/160/4792/en_US.json @@ -1,13 +1,13 @@ -{ - "160": { - "4792": { - "name": "Unknown", - "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-4792" - } - } -} +{ + "160": { + "4792": { + "name": "Unknown", + "message": "An error has occured.\n\nPlease press and hold the POWER Button for\nat least four seconds to turn the console off.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-4792" + } + } +} \ No newline at end of file diff --git a/data/165/2738/en_US.json b/data/165/2738/en_US.json index 7449f59d..7d3a4f74 100644 --- a/data/165/2738/en_US.json +++ b/data/165/2738/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "2738": { - "name": "Unknown", - "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/165-2738" - } - } +{ + "165": { + "2738": { + "name": "Unknown", + "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/165-2738" + } + } } \ No newline at end of file diff --git a/data/165/3000/en_US.json b/data/165/3000/en_US.json index 253c8b33..1bee18f0 100644 --- a/data/165/3000/en_US.json +++ b/data/165/3000/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "3000": { - "name": "Unknown", - "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-3000" - } - } +{ + "165": { + "3000": { + "name": "Unknown", + "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-3000" + } + } } \ No newline at end of file diff --git a/data/165/3423/en_US.json b/data/165/3423/en_US.json index 2aa7e340..7d5bc89a 100644 --- a/data/165/3423/en_US.json +++ b/data/165/3423/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "3423": { - "name": "Unknown", - "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-3423" - } - } -} +{ + "165": { + "3423": { + "name": "Unknown", + "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-3423" + } + } +} \ No newline at end of file diff --git a/data/165/6596/en_US.json b/data/165/6596/en_US.json index 77f506c9..b6841749 100644 --- a/data/165/6596/en_US.json +++ b/data/165/6596/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "6596": { - "name": "Unknown", - "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-6596" - } - } +{ + "165": { + "6596": { + "name": "Unknown", + "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-6596" + } + } } \ No newline at end of file diff --git a/data/165/7457/en_US.json b/data/165/7457/en_US.json index 23ddb05d..35d39349 100644 --- a/data/165/7457/en_US.json +++ b/data/165/7457/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "7457": { - "name": "Unknown", - "message": "An error has occurred. Please visit the website below.\nsupport.nintendo.com", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-7457" - } - } +{ + "165": { + "7457": { + "name": "Unknown", + "message": "An error has occurred. Please visit the website below.\nsupport.nintendo.com", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-7457" + } + } } \ No newline at end of file diff --git a/data/165/8426/en_US.json b/data/165/8426/en_US.json index 9792404b..0fd383bc 100644 --- a/data/165/8426/en_US.json +++ b/data/165/8426/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "8426": { - "name": "Unknown", - "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-8426" - } - } +{ + "165": { + "8426": { + "name": "Unknown", + "message": "An error has occurred with the Wii U GamePad.\nPlease hold down the POWER Button on the\nGamePad to turn it off, and then turn it on again.\n\nIf the problem persists, please make note of the\nerror code and visit support.nintendo.com.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-8426" + } + } } \ No newline at end of file diff --git a/data/165/9901/en_US.json b/data/165/9901/en_US.json index b4c8f3e9..b1344c72 100644 --- a/data/165/9901/en_US.json +++ b/data/165/9901/en_US.json @@ -1,13 +1,13 @@ -{ - "165": { - "9901": { - "name": "Unknown", - "message": "The update cannot be completed using a\nWii U GamePad designed for a different region.\nPlease check the GamePad screen.\n\nAfter the console has restarted, pair the\nGamePad supplied with your console by pressing the consoles SYNC Button twice.", - "short_description": "Unknown cause.", - "long_description": "Unknown cause.", - "short_solution": "Unknown solution.", - "long_solution": "Unknown solution.", - "support_link": "https://preten.do/160-9901" - } - } -} +{ + "165": { + "9901": { + "name": "Unknown", + "message": "The update cannot be completed using a\nWii U GamePad designed for a different region.\nPlease check the GamePad screen.\n\nAfter the console has restarted, pair the\nGamePad supplied with your console by pressing the consoles SYNC Button twice.", + "short_description": "Unknown cause.", + "long_description": "Unknown cause.", + "short_solution": "Unknown solution.", + "long_solution": "Unknown solution.", + "support_link": "https://preten.do/160-9901" + } + } +} \ No newline at end of file diff --git a/format.sh b/format.sh new file mode 100644 index 00000000..321097a1 --- /dev/null +++ b/format.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +# Remove any existing error log +rm -f error.log + +# Enable recursive globbing +shopt -s globstar + +# Process files in parallel using xargs +find data -type f -name "*.json" | xargs -n 1 -P "$(nproc)" -I {} bash -c ' + file="{}" + echo "Processing file: $file" + jq --tab -j . <"$file" >"$file.out" 2>"$file.err" + if [ $? -eq 0 ]; then + mv "$file.out" "$file" + rm "$file.err" + else + echo "$file.err" >> error.log + rm "$file.out" + fi +' + +# Print any files that failed to process +if [ -f error.log ] && [ "$(cat error.log | wc -l)" -gt 0 ]; then + echo "The following files failed to process:" + cat error.log | sed 's/^/ - /' +else + echo "All files processed successfully." +fi