diff options
author | Adam <Adam@anope.org> | 2010-11-21 20:05:37 -0600 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-11-21 20:05:37 -0600 |
commit | 7e03427272f16a7f76591d2b443997f554bfd9dd (patch) | |
tree | 04f3483b8b60dd4e48809ebdf5404570fffddb47 | |
parent | 3445f4d680db60fc5c96d7c20b9cb25ee26cce6b (diff) |
Fixed some language string names
-rwxr-xr-x | lang/missing.sh | 6 | ||||
-rw-r--r-- | src/language.cpp | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lang/missing.sh b/lang/missing.sh new file mode 100755 index 000000000..16ba7f9b9 --- /dev/null +++ b/lang/missing.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +HLANG=`cat ../include/language.h | grep "^\s" | sed 's/[\t,]//g'` +CPPLANG=`cat ../src/language.cpp | grep "\s\/\* [A-Z0-9_]* \*\/" | sed 's/\/\* \(.*\) \*\//\1/' | sed 's/\t//'` +echo "${HLANG} ${CPPLANG}" | sed 's/ /\n/' | sort | uniq -u + diff --git a/src/language.cpp b/src/language.cpp index 5c09c072f..b3bbfa340 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -129,7 +129,7 @@ void SyntaxError(BotInfo *bi, User *u, const Anope::string &command, LanguageStr } Anope::string language_strings[LANG_STRING_COUNT] = { - /* LANG_NAME */ + /* LANGUAGE_NAME */ _("English"), /* COMMAND_REQUIRES_PERM */ _("Access to this command requires the permission %s to be present in your opertype."), @@ -2077,7 +2077,7 @@ Anope::string language_strings[LANG_STRING_COUNT] = { _("AKILL {ADD | DEL | LIST | VIEW | CLEAR} [[+expiry] {mask | entry-list} [reason]]"), /* OPER_AKILL_EXISTS */ _("%s already exists on the AKILL list."), - /* OPER_AKILL_ALREADY_COVERED */ + /* OPER_ALREADY_COVERED */ _("%s is already covered by %s."), /* OPER_AKILL_NO_NICK */ _("Reminder: AKILL masks cannot contain nicknames; make sure you have not included a nick portion in your mask."), @@ -2100,7 +2100,7 @@ Anope::string language_strings[LANG_STRING_COUNT] = { /* OPER_AKILL_LIST_HEADER */ _("Current AKILL list:\n" " Num Mask Reason"), - /* OPER_AKILL_LIST_FORMAT */ + /* OPER_LIST_FORMAT */ _(" %3d %-32s %s"), /* OPER_AKILL_VIEW_HEADER */ _("Current AKILL list:"), |