mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-24 01:22:23 +08:00
Converted all static strings to translation keys. (#2284)
This commit is contained in:
@ -43,7 +43,7 @@ namespace big
|
||||
{
|
||||
char notification[500]{};// I don't like using sprintf but there isn't an alternative afaik
|
||||
snprintf(notification, sizeof(notification), m_notify_message, attacker->get_name(), victim->get_name());
|
||||
g_notification_service->push_warning("Protections", notification);
|
||||
g_notification_service->push_warning("PROTECTIONS"_T.data(), notification);
|
||||
}
|
||||
|
||||
process_common(attacker);
|
||||
|
@ -80,7 +80,7 @@ namespace big
|
||||
{
|
||||
char notification[500]{}; // I don't like using sprintf but there isn't an alternative afaik
|
||||
snprintf(notification, sizeof(notification), m_notify_message, player->get_name());
|
||||
g_notification_service->push_warning("Protections", notification);
|
||||
g_notification_service->push_warning("PROTECTIONS"_T.data(), notification);
|
||||
}
|
||||
|
||||
process_common(player);
|
||||
|
Reference in New Issue
Block a user