summaryrefslogtreecommitdiff
path: root/src/modules/cs_tban.c
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-30 21:50:20 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-05-30 21:50:20 +0000
commit31163a2cbcf66af94976f53d4712e4b66a4e7fdc (patch)
tree99ed7e2ab580dbd791d0ac7513143bd5a50c4db6 /src/modules/cs_tban.c
parent33e8c9c08302f8abd458112d5b9a283ccc55212b (diff)
BUILD : 1.7.10 (822) BUGS : none NOTES : Added pt.l and bundled modules pt.l patch. Thanx to Ricardo.
git-svn-id: svn://svn.anope.org/anope/trunk@822 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@575 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules/cs_tban.c')
-rw-r--r--src/modules/cs_tban.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/modules/cs_tban.c b/src/modules/cs_tban.c
index 4c550e44b..4bbe26a9a 100644
--- a/src/modules/cs_tban.c
+++ b/src/modules/cs_tban.c
@@ -173,14 +173,14 @@ int canBanUser(Channel * c, User * u, User * u2)
void mAddLanguages(void)
{
char *langtable_en_us[] = {
- " TBAN Bans the user for a given length of time",
+ " TBAN Bans the user for a given length of time",
"Syntax: TBAN channel nick time",
"Bans the given user from a channel for a specified length of\n"
"time. If the ban is removed before by hand, it will NOT be replaced.",
"%s banned from %s, will auto-expire in %s"
};
char *langtable_nl[] = {
- " TBAN Verban een gebruiker voor een bepaalde tijd",
+ " TBAN Verban een gebruiker voor een bepaalde tijd",
"Syntax: TBAN kanaal nick tijd",
"Verbant de gegeven gebruiken van het gegeven kanaal voor de\n"
"gegeven tijdsduur. Als de verbanning eerder wordt verwijderd,\n"
@@ -189,16 +189,25 @@ void mAddLanguages(void)
};
char *langtable_de[] = {
- " TBAN Bant ein User für eine bestimmte Zeit aus ein Channel",
+ " TBAN Bant ein User für eine bestimmte Zeit aus ein Channel",
"Syntax: TBAN Channel Nickname Zeit",
"Bant ein User für eine bestimmte Zeit aus ein Channel\n"
"Wenn der Ban manuell entfernt wird, wird es NICHT ersetzt.",
"%s gebannt von %s, wird auto-auslaufen in %s"
};
+ char *langtable_pt[] = {
+ " TBAN Bane o usuário por um determinado período de tempo",
+ "Sintaxe: TBAN canal nick tempo",
+ "Bane de um canal o usuário especificado por um determinado período de\n"
+ "tempo. Se o ban for removido manualmente antes do tempo, ele năo será recolocado.",
+ "%s foi banido do %s, irá auto-expirar em %s"
+ };
+
moduleInsertLanguage(LANG_EN_US, LANG_NUM_STRINGS, langtable_en_us);
moduleInsertLanguage(LANG_NL, LANG_NUM_STRINGS, langtable_nl);
moduleInsertLanguage(LANG_DE, LANG_NUM_STRINGS, langtable_de);
+ moduleInsertLanguage(LANG_PT, LANG_NUM_STRINGS, langtable_pt);
}