mirror of
https://github.com/anope/anope.git
synced 2026-06-28 14:36:38 +02:00
Make column titles in listings translatable.
Make some more strings translatable, and remove some that don't need translation at all. Make expirytimes and units translatable. Make predefined messages in listings also translatable. Make the remaining command descriptions translatable. Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
This commit is contained in:
@@ -110,7 +110,7 @@ class CommandEntryMessage : public Command
|
||||
source.Reply(_("Entry message list for \002%s\002:"), ci->name.c_str());
|
||||
|
||||
ListFormatter list(source.GetAccount());
|
||||
list.AddColumn("Number").AddColumn("Creator").AddColumn("Created").AddColumn("Message");
|
||||
list.AddColumn(_("Number")).AddColumn(_("Creator")).AddColumn(_("Created")).AddColumn(_("Message"));
|
||||
for (unsigned i = 0; i < (*messages)->size(); ++i)
|
||||
{
|
||||
EntryMsg *msg = (*messages)->at(i);
|
||||
@@ -118,7 +118,7 @@ class CommandEntryMessage : public Command
|
||||
ListFormatter::ListEntry entry;
|
||||
entry["Number"] = stringify(i + 1);
|
||||
entry["Creator"] = msg->creator;
|
||||
entry["Created"] = Anope::strftime(msg->when);
|
||||
entry["Created"] = Anope::strftime(msg->when, source.GetAccount());
|
||||
entry["Message"] = msg->message;
|
||||
list.AddEntry(entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user