mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
[i18n] Use redgettext over pygettext (#2023)
* [i18n] Use redgettext over pygettext * Clear out autogenerated `messages.pot` files * Remove redundant `regen_messages.py` files * Refactor `generate_strings.py` to use redgettext * Install redgettext in Travis Crowdin job * Clean up some problematic usages of gettext function * Reformat * Replace generate_strings.py with Makefile argument * Update to redgettext 2.1, use exclusion pattern Signed-off-by: Toby Harradine <tobyharradine@gmail.com>
This commit is contained in:
@@ -544,7 +544,7 @@ class Core(CoreLogic):
|
||||
if unloaded:
|
||||
fmt = "Package{plural} {packs} {other} unloaded."
|
||||
formed = self._get_package_strings(unloaded, fmt, ("was", "were"))
|
||||
await ctx.send(_(formed))
|
||||
await ctx.send(formed)
|
||||
|
||||
if failed:
|
||||
fmt = "The package{plural} {packs} {other} not loaded."
|
||||
|
||||
Reference in New Issue
Block a user