1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 21:26:37 +02:00

Translate listformatter properly

This commit is contained in:
Adam
2013-09-22 11:25:11 -04:00
parent df3c0b7b52
commit 80c02740d0
30 changed files with 53 additions and 43 deletions
+4 -4
View File
@@ -425,7 +425,7 @@ class CommandCSAccess : public Command
return;
}
ListFormatter list;
ListFormatter list(source.GetAccount());
list.AddColumn("Number").AddColumn("Level").AddColumn("Mask");
this->ProcessList(source, ci, params, list);
}
@@ -438,7 +438,7 @@ class CommandCSAccess : public Command
return;
}
ListFormatter list;
ListFormatter list(source.GetAccount());
list.AddColumn("Number").AddColumn("Level").AddColumn("Mask").AddColumn("By").AddColumn("Last seen");
this->ProcessList(source, ci, params, list);
}
@@ -660,7 +660,7 @@ class CommandCSLevels : public Command
{
source.Reply(_("Access level settings for channel %s:"), ci->name.c_str());
ListFormatter list;
ListFormatter list(source.GetAccount());
list.AddColumn("Name").AddColumn("Level");
const std::vector<Privilege> &privs = PrivilegeManager::GetPrivileges();
@@ -754,7 +754,7 @@ class CommandCSLevels : public Command
{
source.Reply(_("The following feature/function names are available:"));
ListFormatter list;
ListFormatter list(source.GetAccount());
list.AddColumn("Name").AddColumn("Description");
const std::vector<Privilege> &privs = PrivilegeManager::GetPrivileges();