summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-11-21 20:03:50 -0600
committerAdam <Adam@anope.org>2010-12-12 19:35:58 -0500
commit4d342d955dbe604357c652a1ee09d77c9a38ec6d (patch)
tree4045e6a5faed771779dc4c44822e01978b4fae0f
parentc5eb349d41ecbc9c961ff2537d9f8985156ab476 (diff)
Fixed some of the language strings
-rw-r--r--include/language.h3
-rw-r--r--src/language.cpp5
2 files changed, 6 insertions, 2 deletions
diff --git a/include/language.h b/include/language.h
index fd700d253..dc365df9c 100644
--- a/include/language.h
+++ b/include/language.h
@@ -273,6 +273,7 @@ enum LanguageString
CHAN_LEVEL_INVITE,
CHAN_LEVEL_AKICK,
CHAN_LEVEL_SET,
+ CHAN_LEVEL_CLEARUSERS,
CHAN_LEVEL_UNBAN,
CHAN_LEVEL_OPDEOP,
CHAN_LEVEL_ACCESS_LIST,
@@ -948,7 +949,7 @@ enum LanguageString
OPER_AKILL_DELETED,
OPER_AKILL_DELETED_ONE,
OPER_AKILL_DELETED_SEVERAL,
- OPER_AKILL_LIST_EMPTY,
+ OPER_LIST_EMPTY,
OPER_AKILL_LIST_HEADER,
OPER_LIST_FORMAT,
OPER_AKILL_VIEW_HEADER,
diff --git a/src/language.cpp b/src/language.cpp
index 5a94601eb..1a42527e9 100644
--- a/src/language.cpp
+++ b/src/language.cpp
@@ -134,6 +134,7 @@ void SyntaxError(BotInfo *bi, User *u, const Anope::string &command, LanguageStr
}
const char *const language_strings[LANG_STRING_COUNT] = {
+ /* LANGUAGE_NAME */
_("English"),
/* COMMAND_REQUIRES_PERM */
_("Access to this command requires the permission %s to be present in your opertype."),
@@ -143,6 +144,8 @@ const char *const language_strings[LANG_STRING_COUNT] = {
_("You cannot use this command."),
/* COMMAND_CAN_USE */
_("You can use this command."),
+ /* COMMAND_DEPRECATED */
+ _("This command is deprecated, use \"%R%s MODE\" instead."),
/* USER_RECORD_NOT_FOUND */
_("Internal error - unable to process request."),
/* UNKNOWN_COMMAND */
@@ -2113,7 +2116,7 @@ const char *const language_strings[LANG_STRING_COUNT] = {
_("Deleted 1 entry from the AKILL list."),
/* OPER_AKILL_DELETED_SEVERAL */
_("Deleted %d entries from the AKILL list."),
- /* OPER_AKILL_LIST_EMPTY */
+ /* OPER_LIST_EMPTY */
_("AKILL list is empty."),
/* OPER_AKILL_LIST_HEADER */
_("Current AKILL list:\n"