1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 04:46:37 +02:00

Add localization system (gettext)

This commit is contained in:
Ansa89
2015-05-25 16:38:52 +02:00
committed by cnhenry
parent 0a2ad23c15
commit 737d29864b
7 changed files with 36 additions and 24 deletions

View File

@ -596,7 +596,8 @@ void chat_onStarting (ToxWindow *self, ToxAV *av, uint32_t friend_number, int st
self->is_call = true;
init_infobox(self);
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, "Call started! Type: \"/hangup\" to end it.");
line_info_add(self, NULL, NULL, NULL, SYS_MSG, 0, 0, gettext("Call started! Type: \"%s\" to end it."), "/hangup");
#ifdef SOUND_NOTIFY
stop_sound(self->ringing_sound);