Skip to content

Commit

Permalink
Merge pull request #18 from binaryoverload/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow authored Dec 30, 2024
2 parents 908e78d + 9a38a59 commit f3fd23c
Show file tree
Hide file tree
Showing 92 changed files with 639 additions and 328 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
insert_final_newline = false

[*.json]
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2
20 changes: 20 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish to NPM

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
registry-url: "https://registry.npmjs.org"
- name: Publishing
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
error.log
4 changes: 2 additions & 2 deletions data/102/0000/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"0000": {
"name": "MY_SUCCESS",
"message": "",
"short_description": "Unknown cause.",
"long_description": "Unknown cause.",
"short_description": "Indicates a success.",
"long_description": "Indicates a success.",
"short_solution": "Unknown solution.",
"long_solution": "Unknown solution.",
"support_link": "https://preten.do/102-0000"
Expand Down
4 changes: 2 additions & 2 deletions data/102/1001/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"1001": {
"name": "ACCOUNT_NOT_FOUND",
"message": "Unable to find the specified user.",
"short_description": "Unknown cause.",
"long_description": "Unknown cause.",
"short_description": "The Nintendo/Pretendo Network ID entered was incorrect or does not exist.",
"long_description": "The Nintendo/Pretendo Network ID entered was incorrect or does not exist.",
"short_solution": "Unknown solution.",
"long_solution": "Unknown solution.",
"support_link": "https://preten.do/102-1001"
Expand Down
4 changes: 2 additions & 2 deletions data/102/1021/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"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": "Unknown solution.",
"long_solution": "Unknown solution.",
"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"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/1022/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"1022": {
"name": "NOT_LOCAL_ACCOUNT",
"message": "The current user already has\na Nintendo Network ID.",
"short_description": "Unknown cause.",
"long_description": "Unknown cause.",
"short_solution": "Unknown solution.",
"long_solution": "Unknown solution.",
"short_description": "The user you are attempting to link an Nintendo/Pretendo Network ID to already has one linked.",
"long_description": "The user you are attempting to link an Nintendo/Pretendo Network ID to already has one linked.",
"short_solution": "Unlink the account or make a new user.",
"long_solution": "Unlink the account or make a new user.",
"support_link": "https://preten.do/102-1022"
}
}
Expand Down
2 changes: 1 addition & 1 deletion data/102/2107/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"102": {
"2107": {
"name": "HTTP_COULDNT_CONNECT",
"message": "",
"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.",
Expand Down
8 changes: 4 additions & 4 deletions data/102/2402/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2402": {
"name": "BAD_FORMAT_REQUEST",
"message": "",
"short_description": "The HTTP request contained invalid data",
"long_description": "Unknown cause.",
"short_solution": "Try again later or try a different input",
"long_solution": "Unknown solution.",
"short_description": "The HTTP request contained invalid data.",
"long_description": "The HTTP request contained invalid data.",
"short_solution": "Try again later or try a different input.",
"long_solution": "Try again later or try a different input.",
"support_link": "https://preten.do/102-2402"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2452/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2452": {
"name": "UNAUTHORIZED_DEVICE",
"message": "",
"short_description": "The device you are using was not authorized to make the request",
"long_description": "Unknown cause.",
"short_solution": "Try again later or on a different device",
"long_solution": "Unknown solution.",
"short_description": "The device you are using was not authorized to make the request.",
"long_description": "The device you are using was not authorized to make the request.",
"short_solution": "Try again later or on a different device.",
"long_solution": "Try again later or on a different device.",
"support_link": "https://preten.do/102-2452"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2458/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2458": {
"name": "UNAUTHORIZED_CLIENT",
"message": "Unable to connect to the server.\n\nEither the server is experiencing high\ntraffic volumes or a server error has\noccurred. Please try again later.\n\nTo learn more about the server's current\nstatus, visit support.nintendo.com.",
"short_description": "The HTTP client was not authorized to make the request",
"long_description": "Unknown cause.",
"short_solution": "Try again later or on a different device",
"long_solution": "Unknown solution.",
"short_description": "The HTTP client was not authorized to make the request.",
"long_description": "The HTTP client was not authorized to make the request.",
"short_solution": "Try again later or on a different device.",
"long_solution": "Try again later or on a different device.",
"support_link": "https://preten.do/102-2458"
}
}
Expand Down
2 changes: 1 addition & 1 deletion data/102/2472/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"102": {
"2472": {
"name": "INVALID_CLIENT_ID",
"message": "",
"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.",
Expand Down
4 changes: 2 additions & 2 deletions data/102/2482/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"2482": {
"name": "INVALID_GAME_SERVER_ID",
"message": "Unable to connect to the server. Please try again later. If the problem persists, please make a note of the error code and visit support.nintendo.com.",
"short_description": "The game server requested could not be found. Either the game is not supported or is tester-only",
"short_description": "The game server requested could not be found. Either the game is not supported or is tester-only.",
"long_description": "This error indicates one of the following:\n\n1. The server you're connecting to is offline for maintenance.\n\n2. Pretendo does not yet support the game or application in question.\n3. The game or application's server is not available for your accounts environment. This typically means the server is in beta testing and is not available to the public. Beta servers are generally only available to [supporters](https://pretendo.network/account/upgrade).",
"short_solution": "Check to see if your game is supported at https://pretendo.network/progress. If you're a tester, check your account is set to Beta at https://pretendo.network/account",
"short_solution": "Check to see if your game is supported at https://pretendo.network/progress. If you're a tester, check your account is set to Beta at https://pretendo.network/account.",
"long_solution": "- **Check our network status information**\n> Check our [Network Status page](https://stats.uptimerobot.com/R7E4wiGjJq) and ensure that there are no ongoing service outages.\n\n- **Check Pretendo has a server for your game**\n> Check our [Progress page](https://pretendo.network/progress) to see if a server exists and is in development. We don't support everything yet!\n\n- **Upgrade your account**\n> Certain beta and development servers are available to supporters for beta-testing. If you'd like to help test these ahead of a public release, [consider supporting Pretendo](https://pretendo.network/account/upgrade).",
"support_link": "https://preten.do/102-2482"
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2484/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2484": {
"name": "GAME_SERVER_ID_UNIQUE_ID_NOT_LINKED",
"message": "",
"short_description": "The game server ID and title ID were not linked, or the request did not send a game server ID. This error should never happen normally",
"long_description": "Unknown cause.",
"short_solution": "File a bug report with as much detail as possible at https://github.com/PretendoNetwork/account/issues/new",
"long_solution": "Unknown solution.",
"short_description": "The game server ID and title ID were not linked, or the request did not send a game server ID. This error should never happen normally.",
"long_description": "The game server ID and title ID were not linked, or the request did not send a game server ID. This error should never happen normally.",
"short_solution": "File a bug report with as much detail as possible at https://github.com/PretendoNetwork/account/issues/new.",
"long_solution": "File a bug report with as much detail as possible at https://github.com/PretendoNetwork/account/issues/new.",
"support_link": "https://preten.do/102-2484"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2501/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2501": {
"name": "DEVICE_MISMATCH",
"message": "This Nintendo Network ID cannot\nbe used on this console.",
"short_description": "The console certificate sent in the request was invalid or missing",
"long_description": "Unknown cause.",
"short_solution": "Ensure your console certificate is untampered with and try again later. If using Cemu, dump your system files again",
"long_solution": "Unknown solution.",
"short_description": "The console certificate sent in the request was invalid or missing.",
"long_description": "The console certificate sent in the request was invalid or missing.",
"short_solution": "Ensure your console certificate is untampered with and try again later. If using Cemu, dump your system files again.",
"long_solution": "Ensure your console certificate is untampered with and try again later. If using Cemu, dump your system files again.",
"support_link": "https://preten.do/102-2501"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2511/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2511": {
"name": "SYSTEM_UPDATE_REQUIRED",
"message": "In order to use online services, a\nsystem update is required.\n\nGo to System Settings to perform a\nsystem update.",
"short_description": "Your console is not up to date",
"long_description": "Unknown cause.",
"short_solution": "Update your console",
"long_solution": "Unknown solution.",
"short_description": "Your console is not up to date.",
"long_description": "Your console is not up to date.",
"short_solution": "Update your console.",
"long_solution": "Update your console.",
"support_link": "https://preten.do/102-2511"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2512/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2512": {
"name": "APPLICATION_UPDATE_REQUIRED",
"message": "This software must be updated before\nonline services can be used.\n\nTo update the software, go to the Wii U\nMenu and then start the software again.",
"short_description": "Your game is not up to date",
"long_description": "Unknown cause.",
"short_solution": "Update your game",
"long_solution": "Unknown solution.",
"short_description": "Your game is not up to date.",
"long_description": "Your game is not up to date.",
"short_solution": "Update your game.",
"long_solution": "Update your game.",
"support_link": "https://preten.do/102-2512"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2571/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2571": {
"name": "ACCOUNT_ID_ALREADY_EXISTS",
"message": "The Nintendo Network ID you entered\nis already in use.\n\nPlease enter a different ID.",
"short_description": "You are trying to create a PNID using a username that is either already in use by another Pretendo user, or is used by a different NNID on your console",
"long_description": "Unknown cause.",
"short_solution": "Choose a different username",
"long_solution": "Unknown solution.",
"short_description": "You are trying to create a PNID using a username that is either already in use by another Pretendo user, or is used by a different NNID on your console.",
"long_description": "You are trying to create a PNID using a username that is either already in use by another Pretendo user, or is used by a different NNID on your console.",
"short_solution": "Choose a different username.",
"long_solution": "Choose a different username.",
"support_link": "https://preten.do/102-2571"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2572/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2572": {
"name": "ACCOUNT_ID_NOT_ACCEPTABLE",
"message": "The Nintendo Network ID you entered\nincludes text that cannot be used.\n\nPlease enter a different ID.",
"short_description": "The username you entered contains rejected text",
"long_description": "Unknown cause.",
"short_solution": "Choose a different username",
"long_solution": "Unknown solution.",
"short_description": "The username you entered contains rejected text.",
"long_description": "The username you entered contains rejected text.",
"short_solution": "Choose a different username.",
"long_solution": "Choose a different username.",
"support_link": "https://preten.do/102-2572"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2573/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2573": {
"name": "ACCOUNT_PASSWORD_NOT_ACCEPTABLE",
"message": "The password you entered\ncannot be used.\n\nPlease try again, following the\ninstructions on your TV screen.",
"short_description": "The password entered did not follow the instructions",
"long_description": "Unknown cause.",
"short_solution": "Choose a different password",
"long_solution": "Unknown solution.",
"short_description": "The password entered did not follow the instructions.",
"long_description": "The password entered did not follow the instructions.",
"short_solution": "Choose a different password.",
"long_solution": "Choose a different password.",
"support_link": "https://preten.do/102-2573"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2574/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2574": {
"name": "MII_NAME_NOT_ACCEPTABLE",
"message": "The nickname you entered\ncannot be used.",
"short_description": "The Mii nickname you entered contains rejected text",
"long_description": "Unknown cause.",
"short_solution": "Choose a different nickname",
"long_solution": "Unknown solution.",
"short_description": "The Mii nickname you entered contains rejected text.",
"long_description": "The Mii nickname you entered contains rejected text.",
"short_solution": "Choose a different nickname.",
"long_solution": "Choose a different nickname.",
"support_link": "https://preten.do/102-2574"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2575/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2575": {
"name": "MAIL_ADDRESS_NOT_ACCEPTABLE",
"message": "The e-mail address you entered is not\ncorrect.\n\nPlease check the e-mail address\nyou entered and try again.",
"short_description": "Invalid email address entered",
"long_description": "Unknown cause.",
"short_solution": "Enter a valid email address",
"long_solution": "Unknown solution.",
"short_description": "Invalid email address entered.",
"long_description": "Invalid email address entered.",
"short_solution": "Enter a valid email address.",
"long_solution": "Enter a valid email address.",
"support_link": "https://preten.do/102-2575"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2577/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2577": {
"name": "ACCOUNT_ID_PASSWORD_SAME",
"message": "Your Nintendo Network ID and\npassword are the same.\n\nPlease use a different password.",
"short_description": "Your username and password are the same",
"long_description": "Unknown cause.",
"short_solution": "Change either your username or password",
"long_solution": "Unknown solution.",
"short_description": "Your username and password are the same.",
"long_description": "Your username and password are the same.",
"short_solution": "Change either your username or password.",
"long_solution": "Change either your username or password.",
"support_link": "https://preten.do/102-2577"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2586/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2586": {
"name": "MAIL_ADDRESS_DOMAIN_NAME_NOT_RESOLVED",
"message": "",
"short_description": "The email address entered uses a domain which could not be located",
"long_description": "Unknown cause.",
"short_solution": "Enter a different email address",
"long_solution": "Unknown solution.",
"short_description": "The email address entered uses a domain which could not be located.",
"long_description": "The email address entered uses a domain which could not be located.",
"short_solution": "Enter a different email address.",
"long_solution": "Enter a different email address.",
"support_link": "https://preten.do/102-2586"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2594/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2594": {
"name": "PARENTAL_CONTROLS_REQUIRED",
"message": "Parental Controls restrictions\nmust be set up first.",
"short_description": "Unknown cause.",
"long_description": "Unknown cause.",
"short_solution": "Unknown solution.",
"long_solution": "Unknown solution.",
"short_description": "You have not set up the required Parental Controls restrictions.",
"long_description": "You have not set up the required Parental Controls restrictions.",
"short_solution": "Set up the required Parental Controls restrictions.",
"long_solution": "Set up the required Parental Controls restrictions.",
"support_link": "https://preten.do/102-2594"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2595/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2595": {
"name": "MII_NOT_REGISTERED",
"message": "You have not registered a Mii.",
"short_description": "Unknown cause.",
"long_description": "Unknown cause.",
"short_solution": "Unknown solution.",
"long_solution": "Unknown solution.",
"short_description": "A Mii has not been registred to the account. .",
"long_description": "A Mii has not been registred to the account. .",
"short_solution": "Register a Mii and try again.",
"long_solution": "Register a Mii and try again.",
"support_link": "https://preten.do/102-2595"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2611/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"2611": {
"name": "WRONG_ACCOUNT_PASSWORD",
"message": "Incorrect password.\n\nPlease go to the Wii U Menu and\nenter your password again.",
"short_description": "Incorrect password",
"long_description": "Unknown cause.",
"short_solution": "Enter your password again or reset your password and try again",
"long_solution": "Unknown solution.",
"short_description": "Incorrect password.",
"long_description": "Incorrect password.",
"short_solution": "Enter your password again or reset your password and try again.",
"long_solution": "Enter your password again or reset your password and try again.",
"support_link": "https://preten.do/102-2611"
}
}
Expand Down
8 changes: 4 additions & 4 deletions data/102/2612/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"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": "Unknown cause.",
"long_description": "Unknown cause.",
"short_solution": "Unknown solution.",
"long_solution": "Unknown solution.",
"short_description": "The entered e-mail address is incorrect.",
"long_description": "The entered e-mail address is incorrect.",
"short_solution": "Enter the correct e-mail address.",
"long_solution": "Enter the correct e-mail address.",
"support_link": "https://preten.do/102-2612"
}
}
Expand Down
Loading

0 comments on commit f3fd23c

Please sign in to comment.