This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v2020.48.0' into production
- Loading branch information
Showing
30 changed files
with
2,625 additions
and
1,074 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
crowdin: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
|
||
strategy: | ||
matrix: | ||
|
@@ -28,18 +28,20 @@ jobs: | |
run: | | ||
python -m redgettext -c tdx | ||
- name: Update Crowdin | ||
uses: crowdin/[email protected].9 | ||
uses: crowdin/[email protected].13 | ||
with: | ||
upload_sources: true | ||
source: 'tdx/locales/messages.pot' | ||
translation: 'tdx/locales/%locale%.po' | ||
upload_translations: false | ||
download_translations: true | ||
commit_message: 'chore: update translations via Crowdin' | ||
pull_request_title: 'chore: update translations via Crowdin' | ||
pull_request_labels: 'i18n' | ||
crowdin_branch_name: 'master' | ||
project_id: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} | ||
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | ||
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
## Versioning | ||
We're using CalVer for versioning with the `YYYY.0W` format! I think we'll aim for Wednesday releases but that's tbd | ||
We're using CalVer for versioning with the `YYYY.0W` format! | ||
|
||
## Style | ||
This is largely copied from Cog-Creators/Red-DiscordBot. I might change things eventually but this 'just works' for now. | ||
|
||
Our style checker of choice, [black](https://github.com/ambv/black), actually happens to be an auto-formatter. The checking functionality simply detects whether or not it would try to reformat something in your code, should you run the formatter on it. For this reason, we recommend using this tool as a formatter, regardless of any disagreements you might have with the style it enforces. | ||
|
||
Use the command `black --help` to see how to use this tool. The full style guide is explained in detail on [black's GitHub repository](https://github.com/ambv/black). **There is one exception to this**, however, which is that we set the line length to 99, instead of black's default 88. This is already set in `pyproject.toml` configuration file in the repo so you can simply format code with Black like so: `black <src>`. | ||
|
||
|
||
## Commit Messages | ||
We are using [Semantic Commit Messages](https://seesparkbox.com/foundry/semantic_commit_messages). | ||
|
||
``` | ||
feat: add hat wobble | ||
^--^ ^------------^ | ||
| | | ||
| +-> Summary in present tense. | ||
| | ||
+-------> Type: chore, docs, deps, feat, fix, refactor, style, or test. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
git+https://github.com/Ext-Creators/discord-ext-alternatives@5482a4e7a5387563fe1662ba95e22134572a369c#egg=discord-ext-alternatives | ||
discord-ext-alternatives>=2020.10.11 | ||
humanize | ||
PogoOCR==0.3.4 | ||
PogoOCR==0.3.6 | ||
python-dateutil | ||
git+https://github.com/Kowlin/Red-DiscordBot@pr/guild-i18n#egg=Red-DiscordBot | ||
trainerdex==3.6.1 | ||
Red-DiscordBot>=3.4.1,<3.5.0 | ||
git+https://github.com/TrainerDex/TrainerDex.py.git@release/3.7.0#trainerdex>=3.6.2,<3.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,10 +6,10 @@ | |
"end_user_data_statement": "We use several terms in this document which could be considered ambiguous so I would like to clear these up:\n * the Website - any website hosted on the trainerdex.co.uk domain or any subdomains thereof\n * the Discord Bot - Our official bot instance, TrainerDex#8522, on Discord, or any third party instances that may or may not launch in the future.\n\n By signing up to TrainerDex through any of the various methods such as; the Website, the Discord Bot or any of our other apps, present and future, you are agreeing to these Terms of Service. These terms of service are subject to change at any time.\n\n We, TrainerDex, have the right to save and store screenshots of your stats for future audits and verification. We reserve the right to deny a user access to TrainerDex at any time, however, we will always try to provide the reason to the user.\n\n The following rules/terms are in place and violation of these rules can result in termination of your profile and a permanent ban from the service;\n\n * No use of tools and/or apps to falsify your location in Pokémon Go\n * No use of any tools or software or other methods to falsify your screenshots before submitting them.\n * No submitting anybody else’s screenshots as your own\n * No knowingly submitting false data to TrainerDex\n\n We endeavour to be open with data. We have a public API for information such as your Pokémon Go profile data. As such, your data may be used on third party tools such as PokeNav.\n\n The types of information we may store on you include;\n * Various datapoints about your Pokémon Go profile, including username, team, start date and any of the badges information provided to us\n * Your first name, if provided\n * Your email address, if provided\n * Your Discord UID, if provided via the Website or via using the Discord Bot\n * Your Twitter UID, if provided via the Website\n * Your Facebook name, if provided via the Website\n\n It is within your right to request to be removed from TrainerDex or have your information hidden at any time. However, we are not responsible for third party services caching your public data.\n\n To request removal or to be hidden from TrainerDex, email <[email protected]> or message TurnrDev#0117 on Discord.", | ||
"min_bot_version": "3.4.0", | ||
"requirements": [ | ||
"git+https://github.com/TurnrDev/discord-ext-alternatives@patch-1#egg=discord-ext-alternatives", | ||
"discord-ext-alternatives>=2020.10.11", | ||
"humanize", | ||
"PogoOCR==0.3.4", | ||
"PogoOCR==0.3.6", | ||
"python-dateutil", | ||
"trainerdex==3.6.1" | ||
"git+https://github.com/TrainerDex/TrainerDex.py.git@release/3.7.0#trainerdex>=3.6.2,<3.8.0" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.