From bf67b9ee5caee3224a44f3999a3f7f78fbce0a25 Mon Sep 17 00:00:00 2001 From: Robby- Date: Sun, 22 Sep 2013 23:27:14 +0200 Subject: 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. --- modules/commands/cs_list.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/cs_list.cpp') diff --git a/modules/commands/cs_list.cpp b/modules/commands/cs_list.cpp index 661c54ac6..ef9f86dd4 100644 --- a/modules/commands/cs_list.cpp +++ b/modules/commands/cs_list.cpp @@ -71,7 +71,7 @@ class CommandCSList : public Command source.Reply(_("List of entries matching \002%s\002:"), pattern.c_str()); ListFormatter list(source.GetAccount()); - list.AddColumn("Name").AddColumn("Description"); + list.AddColumn(_("Name")).AddColumn(_("Description")); Anope::map ordered_map; for (registered_channel_map::const_iterator it = RegisteredChannelList->begin(), it_end = RegisteredChannelList->end(); it != it_end; ++it) @@ -99,7 +99,7 @@ class CommandCSList : public Command ListFormatter::ListEntry entry; entry["Name"] = (isnoexpire ? "!" : "") + ci->name; if (ci->HasExt("CS_SUSPENDED")) - entry["Description"] = "[Suspended]"; + entry["Description"] = Language::Translate(source.GetAccount(), _("[Suspended]")); else entry["Description"] = ci->desc; list.AddEntry(entry); -- cgit