summaryrefslogtreecommitdiff
path: root/modules/commands/os_info.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-09-22 23:27:14 +0200
committerAdam <Adam@anope.org>2013-09-27 19:11:02 -0400
commitbf67b9ee5caee3224a44f3999a3f7f78fbce0a25 (patch)
treea8860f1eff4a110b6837a6068b0d684cec09ff53 /modules/commands/os_info.cpp
parent829c169063577eefb50f2b6961f91f8bf29ae29d (diff)
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.
Diffstat (limited to 'modules/commands/os_info.cpp')
-rw-r--r--modules/commands/os_info.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/commands/os_info.cpp b/modules/commands/os_info.cpp
index 553798d07..a47999d5e 100644
--- a/modules/commands/os_info.cpp
+++ b/modules/commands/os_info.cpp
@@ -144,7 +144,7 @@ class CommandOSInfo : public Command
if ((*oi)->size() >= Config->GetModule(this->module)->Get<unsigned>("max", "10"))
{
- source.Reply(_("The oper info list for \2%s\2 is full."), target.c_str());
+ source.Reply(_("The oper info list for \002%s\002 is full."), target.c_str());
return;
}
@@ -154,14 +154,14 @@ class CommandOSInfo : public Command
if (o->info.equals_ci(info))
{
- source.Reply(_("The oper info already exists on \2%s\2."), target.c_str());
+ source.Reply(_("The oper info already exists on \002%s\002."), target.c_str());
return;
}
}
(*oi)->push_back(new OperInfo(target, info, source.GetNick(), Anope::CurTime));
- source.Reply(_("Added info to \2%s\2."), target.c_str());
+ source.Reply(_("Added info to \002%s\002."), target.c_str());
Log(LOG_ADMIN, source, this) << "to add information to " << target;
}
else if (cmd.equals_ci("DEL"))
@@ -176,7 +176,7 @@ class CommandOSInfo : public Command
if (!oi)
{
- source.Reply(_("Oper info list for \2%s\2 is empty."), target.c_str());
+ source.Reply(_("Oper info list for \002%s\002 is empty."), target.c_str());
return;
}
@@ -195,14 +195,14 @@ class CommandOSInfo : public Command
if (!found)
{
- source.Reply(_("No such info \"%s\" on \2%s\2."), info.c_str(), target.c_str());
+ source.Reply(_("No such info \"%s\" on \002%s\002."), info.c_str(), target.c_str());
}
else
{
if ((*oi)->empty())
e->Shrink<OperInfos>("operinfo");
- source.Reply(_("Deleted info from \2%s\2."), target.c_str());
+ source.Reply(_("Deleted info from \002%s\002."), target.c_str());
Log(LOG_ADMIN, source, this) << "to remove information from " << target;
}
}
@@ -212,13 +212,13 @@ class CommandOSInfo : public Command
if (!oi)
{
- source.Reply(_("Oper info list for \2%s\2 is empty."), target.c_str());
+ source.Reply(_("Oper info list for \002%s\002 is empty."), target.c_str());
return;
}
e->Shrink<OperInfos>("operinfo");
- source.Reply(_("Cleared info from \2%s\2"), target.c_str());
+ source.Reply(_("Cleared info from \002%s\002."), target.c_str());
Log(LOG_ADMIN, source, this) << "to clear information for " << target;
}
else