mirror of
https://github.com/anope/anope.git
synced 2026-06-25 17:46:37 +02:00
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
This commit is contained in:
+1
-1
@@ -301,7 +301,7 @@ Anope::string do_strftime(const time_t &t)
|
||||
Anope::string expire_left(NickCore *nc, time_t expires)
|
||||
{
|
||||
if (!expires)
|
||||
return GetString(nc, LanguageString::NO_EXPIRE);
|
||||
return GetString(nc, _(NO_EXPIRE));
|
||||
else if (expires <= Anope::CurTime)
|
||||
return GetString(nc, _("expires at next database update"));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user