mirror of
https://github.com/anope/anope.git
synced 2026-07-07 22:43:12 +02:00
Fix finding gettext on Windows.
Unfortunately we need to move our escape character from 0x1A to 0x1B because newer versions of gettext treat the former as an EOF character.
This commit is contained in:
@@ -158,7 +158,7 @@ public:
|
||||
for (const auto &[timeregion, timezone] : timeregions)
|
||||
source.Reply(" %s (%zu timezones)", timeregion.c_str(), timezone.size());
|
||||
|
||||
source.Reply(_("Type \002%s\032\037region\037\002 to list timezones for a region."),
|
||||
source.Reply(_("Type \002%s\033\037region\037\002 to list timezones for a region."),
|
||||
source.service->GetQueryCommand("generic/help", source.command).c_str());
|
||||
}
|
||||
else if (!SendZones(source, subcommand))
|
||||
@@ -201,7 +201,7 @@ public:
|
||||
for (const auto &[timeregion, timezone] : timeregions)
|
||||
source.Reply(" %s (%zu timezones)", timeregion.c_str(), timezone.size());
|
||||
|
||||
source.Reply(_("Type \002%s\032\037region\037\002 to list timezones for a region."),
|
||||
source.Reply(_("Type \002%s\033\037region\037\002 to list timezones for a region."),
|
||||
source.service->GetQueryCommand("generic/help", source.command).c_str());
|
||||
}
|
||||
else if (!SendZones(source, subcommand))
|
||||
|
||||
Reference in New Issue
Block a user