Skip to content

Commit 9a63fd6

Browse files
authored
Fix some typos (#193)
1 parent c5d8483 commit 9a63fd6

File tree

7 files changed

+53
-57
lines changed

7 files changed

+53
-57
lines changed

adminutils/adminutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ async def emoji_add(self, ctx, name: str, url: str, *roles: discord.Role):
210210
except discord.InvalidArgument:
211211
await ctx.send(chat.error(_("This image type is unsupported, or link is incorrect")))
212212
except discord.HTTPException as e:
213-
await ctx.send(chat.error(_("An error occured on adding an emoji: {}").format(e)))
213+
await ctx.send(chat.error(_("An error occurred on adding an emoji: {}").format(e)))
214214
else:
215215
await ctx.tick()
216216

adminutils/locales/messages.pot

Lines changed: 45 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
msgid ""
33
msgstr ""
44
"Project-Id-Version: PACKAGE VERSION\n"
5-
"POT-Creation-Date: 2022-01-10 17:32+0400\n"
5+
"POT-Creation-Date: 2022-10-01 20:26+0400\n"
66
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -16,96 +16,96 @@ msgstr ""
1616
msgid "Useful commands for server administrators."
1717
msgstr ""
1818

19-
#: adminutils\adminutils.py:53
19+
#: adminutils\adminutils.py:57
2020
msgid "You are not allowed to edit this channel."
2121
msgstr ""
2222

23-
#: adminutils\adminutils.py:55
23+
#: adminutils\adminutils.py:59
2424
msgid "You are not allowed to edit in this category."
2525
msgstr ""
2626

27-
#: adminutils\adminutils.py:64
27+
#: adminutils\adminutils.py:68
2828
#, docstring
2929
msgid "Cleanup inactive server members"
3030
msgstr ""
3131

32-
#: adminutils\adminutils.py:68
32+
#: adminutils\adminutils.py:72
3333
msgid ""
3434
"Due to Discord Restrictions, you cannot use more than 30 days for that cmd."
3535
msgstr ""
3636

37-
#: adminutils\adminutils.py:75
37+
#: adminutils\adminutils.py:79
3838
msgid "\"days\" arg cannot be less than 1..."
3939
msgstr ""
4040

41-
#: adminutils\adminutils.py:80
41+
#: adminutils\adminutils.py:84
4242
msgid ""
4343
"\n"
4444
"Including members in roles: {}\n"
4545
msgstr ""
4646

47-
#: adminutils\adminutils.py:85
47+
#: adminutils\adminutils.py:89
4848
msgid ""
4949
"You are about to kick **{to_kick}** inactive for **{days}** days members from this server. {roles}Are you sure?\n"
5050
"To agree, type \"yes\""
5151
msgstr ""
5252

53-
#: adminutils\adminutils.py:101
53+
#: adminutils\adminutils.py:105
5454
msgid ""
5555
"**{removed}**/**{all}** inactive members removed.\n"
5656
"(They were inactive for **{days}** days)"
5757
msgstr ""
5858

59-
#: adminutils\adminutils.py:108
59+
#: adminutils\adminutils.py:112
6060
msgid "Inactive members cleanup canceled."
6161
msgstr ""
6262

63-
#: adminutils\adminutils.py:115
63+
#: adminutils\adminutils.py:119
6464
#, docstring
6565
msgid ""
6666
"Change server's voice region to random and back\n"
6767
"\n"
6868
" Useful to reinitate all voice connections"
6969
msgstr ""
7070

71-
#: adminutils\adminutils.py:129
71+
#: adminutils\adminutils.py:133
7272
msgid "Voice restart"
7373
msgstr ""
7474

75-
#: adminutils\adminutils.py:144
75+
#: adminutils\adminutils.py:148
7676
#, docstring
7777
msgid ""
7878
"Move all members from one voice channel to another\n"
7979
"\n"
8080
" Use double quotes if channel name has spaces"
8181
msgstr ""
8282

83-
#: adminutils\adminutils.py:150
83+
#: adminutils\adminutils.py:154
8484
msgid "There is no users in channel {}."
8585
msgstr ""
8686

87-
#: adminutils\adminutils.py:154
87+
#: adminutils\adminutils.py:158
8888
msgid "I cant move users from that channel"
8989
msgstr ""
9090

91-
#: adminutils\adminutils.py:157
91+
#: adminutils\adminutils.py:161
9292
msgid "I cant move users to that channel"
9393
msgstr ""
9494

95-
#: adminutils\adminutils.py:163
95+
#: adminutils\adminutils.py:167
9696
msgid "Massmove"
9797
msgstr ""
9898

99-
#: adminutils\adminutils.py:168
99+
#: adminutils\adminutils.py:172
100100
msgid "Finished moving users. {} members could not be moved."
101101
msgstr ""
102102

103-
#: adminutils\adminutils.py:175
103+
#: adminutils\adminutils.py:179
104104
#, docstring
105105
msgid "Manage emoji"
106106
msgstr ""
107107

108-
#: adminutils\adminutils.py:180
108+
#: adminutils\adminutils.py:184
109109
#, docstring
110110
msgid ""
111111
"Create custom emoji\n"
@@ -118,23 +118,23 @@ msgid ""
118118
" "
119119
msgstr ""
120120

121-
#: adminutils\adminutils.py:192
121+
#: adminutils\adminutils.py:196
122122
msgid "Unable to get emoji from provided url: {}"
123123
msgstr ""
124124

125-
#: adminutils\adminutils.py:201 adminutils\adminutils.py:244
125+
#: adminutils\adminutils.py:205 adminutils\adminutils.py:248
126126
msgid "Restricted to roles: {}"
127127
msgstr ""
128128

129-
#: adminutils\adminutils.py:207
129+
#: adminutils\adminutils.py:211
130130
msgid "This image type is unsupported, or link is incorrect"
131131
msgstr ""
132132

133-
#: adminutils\adminutils.py:209
134-
msgid "An error occured on adding an emoji: {}"
133+
#: adminutils\adminutils.py:213 adminutils\adminutils.py:262
134+
msgid "An error occurred on adding an emoji: {}"
135135
msgstr ""
136136

137-
#: adminutils\adminutils.py:217
137+
#: adminutils\adminutils.py:221
138138
#, docstring
139139
msgid ""
140140
"\n"
@@ -147,21 +147,17 @@ msgid ""
147147
" "
148148
msgstr ""
149149

150-
#: adminutils\adminutils.py:229
150+
#: adminutils\adminutils.py:233
151151
msgid "No emojis found specified message."
152152
msgstr ""
153153

154-
#: adminutils\adminutils.py:252
154+
#: adminutils\adminutils.py:256
155155
msgid ""
156156
"This image type is not supported anymore or Discord returned incorrect data."
157157
" Try again later."
158158
msgstr ""
159159

160-
#: adminutils\adminutils.py:258
161-
msgid "An error occurred on adding an emoji: {}"
162-
msgstr ""
163-
164-
#: adminutils\adminutils.py:264
160+
#: adminutils\adminutils.py:268
165161
#, docstring
166162
msgid ""
167163
"Rename emoji and restrict to certain roles\n"
@@ -175,30 +171,30 @@ msgid ""
175171
" "
176172
msgstr ""
177173

178-
#: adminutils\adminutils.py:282
174+
#: adminutils\adminutils.py:286
179175
msgid "Restricted to roles: "
180176
msgstr ""
181177

182-
#: adminutils\adminutils.py:288
178+
#: adminutils\adminutils.py:292
183179
msgid "I can't edit this emoji"
184180
msgstr ""
185181

186-
#: adminutils\adminutils.py:293
182+
#: adminutils\adminutils.py:297
187183
#, docstring
188184
msgid "Remove emoji from server"
189185
msgstr ""
190186

191-
#: adminutils\adminutils.py:305
187+
#: adminutils\adminutils.py:309
192188
#, docstring
193189
msgid "Manage channels"
194190
msgstr ""
195191

196-
#: adminutils\adminutils.py:313
192+
#: adminutils\adminutils.py:317
197193
#, docstring
198194
msgid "Create a channel"
199195
msgstr ""
200196

201-
#: adminutils\adminutils.py:323
197+
#: adminutils\adminutils.py:327
202198
#, docstring
203199
msgid ""
204200
"Create a text channel\n"
@@ -212,15 +208,15 @@ msgid ""
212208
" "
213209
msgstr ""
214210

215-
#: adminutils\adminutils.py:339 adminutils\adminutils.py:369
211+
#: adminutils\adminutils.py:343 adminutils\adminutils.py:373
216212
msgid "I can't create channel in this category"
217213
msgstr ""
218214

219-
#: adminutils\adminutils.py:341 adminutils\adminutils.py:371
215+
#: adminutils\adminutils.py:345 adminutils\adminutils.py:375
220216
msgid "I am unable to create a channel: {}"
221217
msgstr ""
222218

223-
#: adminutils\adminutils.py:353
219+
#: adminutils\adminutils.py:357
224220
#, docstring
225221
msgid ""
226222
"Create a voice channel\n"
@@ -234,7 +230,7 @@ msgid ""
234230
" "
235231
msgstr ""
236232

237-
#: adminutils\adminutils.py:383
233+
#: adminutils\adminutils.py:387
238234
#, docstring
239235
msgid ""
240236
"Rename a channel\n"
@@ -246,15 +242,15 @@ msgid ""
246242
" "
247243
msgstr ""
248244

249-
#: adminutils\adminutils.py:394
245+
#: adminutils\adminutils.py:398
250246
msgid "I can't rename this channel"
251247
msgstr ""
252248

253-
#: adminutils\adminutils.py:396
249+
#: adminutils\adminutils.py:400
254250
msgid "I am unable to rename this channel: {}"
255251
msgstr ""
256252

257-
#: adminutils\adminutils.py:404
253+
#: adminutils\adminutils.py:408
258254
#, docstring
259255
msgid ""
260256
"Remove a channel from server\n"
@@ -264,16 +260,16 @@ msgid ""
264260
" "
265261
msgstr ""
266262

267-
#: adminutils\adminutils.py:414
263+
#: adminutils\adminutils.py:418
268264
msgid ""
269265
"You are about to delete channel {channel}. This cannot be undone. Are you sure?\n"
270266
"To agree, type \"yes\""
271267
msgstr ""
272268

273-
#: adminutils\adminutils.py:428
269+
#: adminutils\adminutils.py:432
274270
msgid "I can't delete this channel"
275271
msgstr ""
276272

277-
#: adminutils\adminutils.py:430
273+
#: adminutils\adminutils.py:434
278274
msgid "I am unable to delete a channel: {}"
279275
msgstr ""

captcha/informations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Oh yeah, super thing I'm proud of, there's now 3 types of Captcha, image, wheezy and plain."
4848
"They're super cool, plain is using plain text, and have a little security to avoid copy and "
4949
"paste. There's also wheezy, an easier to read captcha, with less drawing. This new and "
50-
"amazing functionallity goes back to calebj, creator of the Captcha cog for Red V2, which "
50+
"amazing functionality goes back to calebj, creator of the Captcha cog for Red V2, which "
5151
"had the same thing, I got inspired of it and copied some code. Thank you!\n\n"
5252
"AH yes, cog's stability, it is now WAY more stable than before, and way more efficient and "
5353
"easier to maintain. \N{UPSIDE-DOWN FACE}\n\n"

leveler/commands/lvlset/levelup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def levelbg(self, ctx, *, image_name: str):
8686
{"user_id": str(user.id)},
8787
{"$set": {"levelup_background": backgrounds["levelup"][image_name]}},
8888
)
89-
await ctx.send("Your new level-up background has been succesfully set!")
89+
await ctx.send("Your new level-up background has been successfully set!")
9090
else:
9191
await ctx.send(
9292
f"That is not a valid background. See available backgrounds at `{ctx.clean_prefix}backgrounds levelup`."

leveler/commands/lvlset/profile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ async def profilebg(self, ctx, *, image_name: str):
172172
{"user_id": str(user.id)},
173173
{"$set": {"profile_background": backgrounds["profile"][image_name]}},
174174
)
175-
await ctx.send("Your new profile background has been succesfully set!")
175+
await ctx.send("Your new profile background has been successfully set!")
176176
else:
177177
await ctx.send(
178178
f"That is not a valid background. See available backgrounds at `{ctx.clean_prefix}backgrounds profile`."
@@ -198,7 +198,7 @@ async def title(self, ctx, *, title=None):
198198
await ctx.send(msg)
199199
elif len(title) < max_char:
200200
await self.db.users.update_one({"user_id": str(user.id)}, {"$set": {"title": title}})
201-
await ctx.send("Your title has been succesfully set!")
201+
await ctx.send("Your title has been successfully set!")
202202
else:
203203
await ctx.send(
204204
"Your title has too many characters! Must be {} or less.".format(max_char)
@@ -213,7 +213,7 @@ async def info(self, ctx, *, info):
213213

214214
if len(info) < max_char:
215215
await self.db.users.update_one({"user_id": str(user.id)}, {"$set": {"info": info}})
216-
await ctx.send("Your info section has been succesfully set!")
216+
await ctx.send("Your info section has been successfully set!")
217217
else:
218218
await ctx.send(
219219
"Your description has too many characters! Must be {} or less.".format(max_char)

leveler/commands/lvlset/rank.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ async def rankbg(self, ctx, *, image_name: str):
145145
{"user_id": str(user.id)},
146146
{"$set": {"rank_background": backgrounds["rank"][image_name]}},
147147
)
148-
await ctx.send("Your new rank background has been succesfully set!")
148+
await ctx.send("Your new rank background has been successfully set!")
149149
else:
150150
await ctx.send(
151151
f"That is not a valid background. See available backgrounds at `{ctx.clean_prefix}backgrounds rank`."

leveler/info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
"tabulate",
2323
"git+https://github.com/fixator10/F10-Cogs-Utils"
2424
],
25-
"end_user_data_statement": "This cog persistently stores next data about user:\n Discord user ID\n Current username\n Per-server XP data (current XP and current level)\n Total count of XP on all servers\n URLs to profile/rank/levelup backrounds\n User-set title & info\n User's \"reputation\" points count\n Data about user's badges\n Data about user's profile/rank/levelup colors\n Timestamp of latest message and reputation\n Last message MD5 hash (for comparison)\nThis cog supports data removal requests."
25+
"end_user_data_statement": "This cog persistently stores next data about user:\n Discord user ID\n Current username\n Per-server XP data (current XP and current level)\n Total count of XP on all servers\n URLs to profile/rank/levelup backgrounds\n User-set title & info\n User's \"reputation\" points count\n Data about user's badges\n Data about user's profile/rank/levelup colors\n Timestamp of latest message and reputation\n Last message MD5 hash (for comparison)\nThis cog supports data removal requests."
2626
}

0 commit comments

Comments
 (0)