mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
refactor: Delay translation of _() literals
This is required for a future commit that requires _() to be consteval for format literals. Co-Authored-By: Ryan Ofsky <ryan@ofsky.org>
This commit is contained in:
parent
35bf426e02
commit
eeee6cf2ff
8 changed files with 43 additions and 34 deletions
|
|
@ -30,7 +30,7 @@ void BanMan::LoadBanlist()
|
|||
{
|
||||
LOCK(m_banned_mutex);
|
||||
|
||||
if (m_client_interface) m_client_interface->InitMessage(_("Loading banlist…").translated);
|
||||
if (m_client_interface) m_client_interface->InitMessage(_("Loading banlist…"));
|
||||
|
||||
const auto start{SteadyClock::now()};
|
||||
if (m_ban_db.Read(m_banned)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue