Skip to content

Commit fbf9780

Browse files
committed
Changing the translation system again
1 parent 15a67dc commit fbf9780

File tree

223 files changed

+17391
-1521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+17391
-1521
lines changed

.env.exemple

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11

22
# TODO: Clean and format to new patter
33
# APIs Config
4-
IMAGEM_LINK_UPLOAD_THING_URL="https://im.exemple.org/api/imgur/"
5-
SITE_API_KEY="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
6-
SHLINK_URL="https://shlink.exemplo.org/rest/v3/short-urls"
4+
IMAGE_CAROUSEL_API_KEY="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
5+
FILE_UPLOAD_API_KEY="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
76
SHLINK_KEY="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
87
ACCESS_TOKEN="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
9-
ACCESS_OAUTH_TOKEN="oauth:aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
8+
ACCESS_OAUTH_TOKEN="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
109
REFRESH_TOKEN="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
1110
CLIENT_ID="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
12-
API_CLIENT_SECRET="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
11+
12+
# Application Gorenmu
1313
API_CLIENT_ID="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
14-
FILE_UPLOAD_URL="https://file.exemple.org/api/files/"
14+
API_CLIENT_SECRET="aspdlkjfqweuirzlxcvjlwejthasdlkfjzxclpvjaer"
15+
16+
# Discord Stuff
17+
DISCORD_BUG_WEBHOOK="https://blablablablablabla"
18+
DISCORD_SUGGEST_WEBHOOK="https://blablablablablabla"
19+
DISCORD_LOG_WEBHOOK="https://blablablablablabla"
1520

1621
# Database Config
1722
DB_LOGIN="super_login"

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,14 @@ repos:
2828
language: system
2929
pass_filenames: false
3030
always_run: true
31+
- repo: https://github.com/astral-sh/uv-pre-commit
32+
rev: 0.8.9
33+
hooks:
34+
- id: pip-compile
35+
name: pip-compile requirements.in
36+
args: [requirements.txt, -o, requirements.txt]
37+
- id: pip-compile
38+
name: pip-compile requirements-dev.in
39+
args: [requirements-dev.txt, -o, requirements-dev.txt]
40+
files: ^requirements-dev\.(in|txt)$
41+
- id: uv-lock

bot/apis/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from .color import Color
33
from .currency import Currency
44
from .dictionary import Dictionary
5+
from .discord_webhook.discord_webhook import DiscordEmbed, DiscordWebhook
56
from .emotes import Emotes
67
from .ivrfi import ApiIvrFi
78
from .math import Math

bot/apis/discord_webhook/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018-2020 lovvskillz
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# -*- coding: utf-8 -*-

0 commit comments

Comments
 (0)