diff options
-rw-r--r-- | include/anope.h | 6 | ||||
-rw-r--r-- | modules/commands/ns_set.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/anope.h b/include/anope.h index 664baeb69..51ece1cd6 100644 --- a/include/anope.h +++ b/include/anope.h @@ -499,21 +499,21 @@ namespace Anope /** Retrieves a human readable string representing the time in seconds * @param seconds The time on seconds, eg 60 - * @param nc The account to use langauge settings for to translate this string, if applicable + * @param nc The account to use language settings for to translate this string, if applicable * @return A human readable string, eg "1 minute" */ extern CoreExport Anope::string Duration(time_t seconds, const NickCore *nc = NULL); /** Generates a human readable string of type "expires in ..." * @param expires time in seconds - * @param nc The account to use langauge settings for to translate this string, if applicable + * @param nc The account to use language settings for to translate this string, if applicable * @return A human readable string, eg "expires in 5 days" */ extern CoreExport Anope::string Expires(time_t seconds, const NickCore *nc = NULL); /** Converts a time in seconds (epoch) to a human readable format. * @param t The time - * @param nc The account to use langauge settings for to translate this string, if applicable + * @param nc The account to use language settings for to translate this string, if applicable * @param short_output If true, the output is just a date (eg, "Apr 12 20:18:22 2009 MSD"), else it includes the date and how long ago/from now that date is, (eg "Apr 12 20:18:22 2009 MSD (1313 days, 9 hours, 32 minutes ago)" */ extern CoreExport Anope::string strftime(time_t t, const NickCore *nc = NULL, bool short_output = false); diff --git a/modules/commands/ns_set.cpp b/modules/commands/ns_set.cpp index 6bd6f23ee..0f4530784 100644 --- a/modules/commands/ns_set.cpp +++ b/modules/commands/ns_set.cpp @@ -798,7 +798,7 @@ class CommandNSSetLanguage : public Command } } - Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change the langauge of " << nc->display << " to " << param; + Log(nc == source.GetAccount() ? LOG_COMMAND : LOG_ADMIN, source, this) << "to change the language of " << nc->display << " to " << param; nc->language = param; source.Reply(_("Language changed to \002English\002.")); |