From 2b3394855d5adddb16285b905503d9ffe5a1d963 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 27 Aug 2007 16:05:59 +0000 Subject: Add a metric assload of TRANSLATE macros to modules. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7892 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chghost.cpp | 1 + src/modules/m_chgident.cpp | 1 + src/modules/m_chgname.cpp | 1 + src/modules/m_customtitle.cpp | 1 + src/modules/m_cycle.cpp | 1 + src/modules/m_dccallow.cpp | 1 + src/modules/m_devoice.cpp | 1 + src/modules/m_globalload.cpp | 1 + src/modules/m_globops.cpp | 1 + src/modules/m_knock.cpp | 1 + src/modules/m_nicklock.cpp | 1 + src/modules/m_remove.cpp | 1 + src/modules/m_sajoin.cpp | 1 + src/modules/m_sanick.cpp | 1 + src/modules/m_sapart.cpp | 1 + src/modules/m_saquit.cpp | 1 + src/modules/m_sethost.cpp | 1 + src/modules/m_setident.cpp | 1 + src/modules/m_setidle.cpp | 1 + src/modules/m_setname.cpp | 1 + src/modules/m_silence.cpp | 1 + src/modules/m_silence_ext.cpp | 1 + src/modules/m_spanningtree/treesocket1.cpp | 31 ++++++++++++++++++++++++++++++ src/modules/m_svshold.cpp | 1 + src/modules/m_swhois.cpp | 1 + src/modules/m_timedbans.cpp | 1 + src/modules/m_uninvite.cpp | 1 + src/modules/m_watch.cpp | 1 + 28 files changed, 58 insertions(+) (limited to 'src/modules') diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index a30e70099..5f5623682 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -26,6 +26,7 @@ class cmd_chghost : public command_t { this->source = "m_chghost.so"; syntax = " "; + TRANSLATE3(TR_NICK, TR_TEXT, TR_END); } CmdResult Handle(const char** parameters, int pcnt, userrec *user) diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index 50e1d466f..ee6f6e531 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -24,6 +24,7 @@ class cmd_chgident : public command_t { this->source = "m_chgident.so"; syntax = " "; + TRANSLATE3(TR_NICK, TR_TEXT, TR_END); } CmdResult Handle(const char** parameters, int pcnt, userrec *user) diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index 615239dcc..ddb38567f 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -24,6 +24,7 @@ class cmd_chgname : public command_t { this->source = "m_chgname.so"; syntax = " "; + TRANSLATE3(TR_NICK, TR_TEXT, TR_END); } CmdResult Handle(const char** parameters, int pcnt, userrec *user) diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index e2125644e..df142a089 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -26,6 +26,7 @@ class cmd_title : public command_t { this->source = "m_customtitle.so"; syntax = " "; + TRANSLATE3(TR_NICK, TR_TEXT, TR_END); } bool OneOfMatches(const char* host, const char* ip, const char* hostlist) diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index c9a08c12a..295e73208 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -24,6 +24,7 @@ class cmd_cycle : public command_t { this->source = "m_cycle.so"; syntax = " :[reason]"; + TRANSLATE3(TR_TEXT, TR_TEXT, TR_END); } CmdResult Handle (const char** parameters, int pcnt, userrec *user) diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 5e3f286b5..fd51e4d61 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -51,6 +51,7 @@ class cmd_dccallow : public command_t { this->source = "m_dccallow.so"; syntax = "{[+|-]