Skip to content

Commit

Permalink
update line numbers in locale files
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed May 30, 2024
1 parent 0cf4b03 commit 007a4e1
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 35 deletions.
8 changes: 6 additions & 2 deletions filmswap/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ async def join_swap(
return

await interaction.user.send(
_("You've joined the swap. You can now submit a >letter, which should be a message which tells your santa what kinds of films you like/dislike, and can include your accounts on letterboxd/imdb if you have one.")
_(
"You've joined the swap. You can now submit a >letter, which should be a message which tells your santa what kinds of films you like/dislike, and can include your accounts on letterboxd/imdb if you have one."
)
)

await interaction.response.send_message(
Expand Down Expand Up @@ -818,7 +820,9 @@ async def reveal(
len(to_user_list) == 1
), "More than one neighbour found when generating links"
to_user = id_to_names.get(to_user_list[0])
assert to_user is not None, f"No user found for ID {to_user_list[0]}"
assert (
to_user is not None
), f"No user found for ID {to_user_list[0]}"
names.append(to_user)
results.append("➜".join([f"`{name}`" for name in names]))

Expand Down
22 changes: 11 additions & 11 deletions messages/film.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-05-16 13:36-0700\n"
"POT-Creation-Date: 2024-05-29 22:01-0700\n"
"PO-Revision-Date: 2024-05-15 16:16-0700\n"
"Language-Team: English\n"
"Language: en_US\n"
Expand Down Expand Up @@ -47,7 +47,7 @@ msgstr "Set your letterboxd account (this is optional)"
msgid "Leave the filmswap, if you're currently in it"
msgstr "Leave the filmswap, if you're currently in it"

#: filmswap/bot.py:195
#: filmswap/bot.py:204
msgid ""
"Use `>letter [text]` to set your letter, where [text] is what kinds of films "
"you like/dislike/want from your santa. If you have a a letterboxd/imdb you "
Expand All @@ -57,39 +57,39 @@ msgstr ""
"you like/dislike/want from your santa. If you have a a letterboxd/imdb you "
"can include that as well"

#: filmswap/bot.py:270 filmswap/bot.py:514
#: filmswap/bot.py:279 filmswap/bot.py:523
msgid ""
"Use `>submit [text]` to submit your gift, where [text] is your gift/film "
"recommendation"
msgstr ""
"Use `>submit [text]` to submit your gift, where [text] is your gift/film "
"recommendation"

#: filmswap/bot.py:305
#: filmswap/bot.py:314
msgid "Leave the film swap"
msgstr "Leave the film swap"

#: filmswap/bot.py:314
#: filmswap/bot.py:323
msgid ""
"Please use this command in the server (e.g. in the film-swap channel) "
"instead of in DMs"
msgstr ""
"Please use this command in the server (e.g. in the film-swap channel) "
"instead of in DMs"

#: filmswap/bot.py:373
#: filmswap/bot.py:382
msgid "letterboxd"
msgstr "letterboxd"

#: filmswap/bot.py:373
#: filmswap/bot.py:382
msgid "Set your letterboxd username"
msgstr "Set your letterboxd username"

#: filmswap/bot.py:395
#: filmswap/bot.py:404
msgid "Your letterboxd username has been set to {username}"
msgstr "Your letterboxd username has been set to {username}"

#: filmswap/bot.py:445
#: filmswap/bot.py:454
msgid ""
"Use `>letter [text]` to set your letter, where [text] is what kinds of films "
"you like/dislike/want from your santa. If you have a letterboxd/imdb you can "
Expand All @@ -99,7 +99,7 @@ msgstr ""
"you like/dislike/want from your santa. If you have a letterboxd/imdb you can "
"include that as well"

#: filmswap/bot.py:701
#: filmswap/bot.py:710
msgid "filmswap-manage"
msgstr "filmswap-manage"

Expand All @@ -113,6 +113,6 @@ msgstr ""
"message which tells your santa what kinds of films you like/dislike, and can "
"include your accounts on letterboxd/imdb if you have one."

#: filmswap/manage.py:541
#: filmswap/manage.py:543
msgid "Join the film swap by clicking the button below!"
msgstr ""
22 changes: 11 additions & 11 deletions messages/manga.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-05-16 13:36-0700\n"
"POT-Creation-Date: 2024-05-29 22:01-0700\n"
"PO-Revision-Date: 2024-05-15 16:16-0700\n"
"Language-Team: English\n"
"Language: en_US\n"
Expand Down Expand Up @@ -47,7 +47,7 @@ msgstr "Set your letterboxd account (this is optional)"
msgid "Leave the filmswap, if you're currently in it"
msgstr "Leave the mangaswap, if you're currently in it"

#: filmswap/bot.py:195
#: filmswap/bot.py:204
msgid ""
"Use `>letter [text]` to set your letter, where [text] is what kinds of films "
"you like/dislike/want from your santa. If you have a a letterboxd/imdb you "
Expand All @@ -57,39 +57,39 @@ msgstr ""
"you like/dislike/want from your santa. If you have a a MAL/AniList you can "
"include that as well"

#: filmswap/bot.py:270 filmswap/bot.py:514
#: filmswap/bot.py:279 filmswap/bot.py:523
msgid ""
"Use `>submit [text]` to submit your gift, where [text] is your gift/film "
"recommendation"
msgstr ""
"Use `>submit [text]` to submit your gift, where [text] is your gift/manga "
"recommendation"

#: filmswap/bot.py:305
#: filmswap/bot.py:314
msgid "Leave the film swap"
msgstr "Leave the manga swap"

#: filmswap/bot.py:314
#: filmswap/bot.py:323
msgid ""
"Please use this command in the server (e.g. in the film-swap channel) "
"instead of in DMs"
msgstr ""
"Please use this command in the server (e.g. in the manga-swap channel) "
"instead of in DMs"

#: filmswap/bot.py:373
#: filmswap/bot.py:382
msgid "letterboxd"
msgstr "letterboxd"

#: filmswap/bot.py:373
#: filmswap/bot.py:382
msgid "Set your letterboxd username"
msgstr "Set your letterboxd username"

#: filmswap/bot.py:395
#: filmswap/bot.py:404
msgid "Your letterboxd username has been set to {username}"
msgstr "Your letterboxd username has been set to {username}"

#: filmswap/bot.py:445
#: filmswap/bot.py:454
msgid ""
"Use `>letter [text]` to set your letter, where [text] is what kinds of films "
"you like/dislike/want from your santa. If you have a letterboxd/imdb you can "
Expand All @@ -99,7 +99,7 @@ msgstr ""
"you like/dislike/want from your santa. If you have a letterboxd/imdb you can "
"include that as well"

#: filmswap/bot.py:701
#: filmswap/bot.py:710
msgid "filmswap-manage"
msgstr "mangaswap-manage"

Expand All @@ -113,6 +113,6 @@ msgstr ""
"message which tells your santa what kinds of manga you like/dislike, and can "
"include your accounts on MAL/AniList if you have one."

#: filmswap/manage.py:541
#: filmswap/manage.py:543
msgid "Join the film swap by clicking the button below!"
msgstr "Join the manga swap by clicking the button below!"
22 changes: 11 additions & 11 deletions messages/reference.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-05-16 13:36-0700\n"
"POT-Creation-Date: 2024-05-29 22:01-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down Expand Up @@ -44,49 +44,49 @@ msgstr ""
msgid "Leave the filmswap, if you're currently in it"
msgstr ""

#: filmswap/bot.py:195
#: filmswap/bot.py:204
msgid ""
"Use `>letter [text]` to set your letter, where [text] is what kinds of "
"films you like/dislike/want from your santa. If you have a a "
"letterboxd/imdb you can include that as well"
msgstr ""

#: filmswap/bot.py:270 filmswap/bot.py:514
#: filmswap/bot.py:279 filmswap/bot.py:523
msgid ""
"Use `>submit [text]` to submit your gift, where [text] is your gift/film "
"recommendation"
msgstr ""

#: filmswap/bot.py:305
#: filmswap/bot.py:314
msgid "Leave the film swap"
msgstr ""

#: filmswap/bot.py:314
#: filmswap/bot.py:323
msgid ""
"Please use this command in the server (e.g. in the film-swap channel) "
"instead of in DMs"
msgstr ""

#: filmswap/bot.py:373
#: filmswap/bot.py:382
msgid "letterboxd"
msgstr ""

#: filmswap/bot.py:373
#: filmswap/bot.py:382
msgid "Set your letterboxd username"
msgstr ""

#: filmswap/bot.py:395
#: filmswap/bot.py:404
msgid "Your letterboxd username has been set to {username}"
msgstr ""

#: filmswap/bot.py:445
#: filmswap/bot.py:454
msgid ""
"Use `>letter [text]` to set your letter, where [text] is what kinds of "
"films you like/dislike/want from your santa. If you have a "
"letterboxd/imdb you can include that as well"
msgstr ""

#: filmswap/bot.py:701
#: filmswap/bot.py:710
msgid "filmswap-manage"
msgstr ""

Expand All @@ -97,7 +97,7 @@ msgid ""
"can include your accounts on letterboxd/imdb if you have one."
msgstr ""

#: filmswap/manage.py:541
#: filmswap/manage.py:543
msgid "Join the film swap by clicking the button below!"
msgstr ""

0 comments on commit 007a4e1

Please sign in to comment.