After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 652345 - Need context to translate
Need context to translate
Status: RESOLVED FIXED
Product: empathy
Classification: Core
Component: General
unspecified
Other All
: Normal minor
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2011-06-11 10:01 UTC by Jorge González
Modified: 2011-06-20 12:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jorge González 2011-06-11 10:01:14 UTC
I need context for the string "Called %s" from:

#ifdef HAVE_CALL_LOGS
	else if (TPL_IS_CALL_EVENT (logevent)) {
		TplCallEvent *call = TPL_CALL_EVENT (logevent);
		if (tpl_call_event_get_end_reason (call) == TPL_CALL_END_REASON_NO_ANSWER)
			body = g_strdup_printf (_("Missed call from %s"),
				tpl_entity_get_alias (tpl_event_get_sender (logevent)));
		else if (tpl_entity_get_entity_type (tpl_event_get_sender (logevent)) == TPL_ENTITY_SELF)
			body = g_strdup_printf (_("Called %s"),
				tpl_entity_get_alias (tpl_event_get_receiver (logevent)));
		else
			body = g_strdup_printf (_("Call from %s"),
				tpl_entity_get_alias (tpl_event_get_sender (logevent)));
	}
#endif

Can I get an example of when is it used?

Thanks in advance.
Comment 1 Emilio Pozuelo Monfort 2011-06-13 11:19:24 UTC
It's for outgoing calls, e.g. "Called Jorge". I'll add a comment to the code.
Comment 2 Emilio Pozuelo Monfort 2011-06-20 12:15:41 UTC
commit c72f264918a8ff75bc8df3ddbac7123323d3de51
Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Date:   Mon Jun 13 08:21:52 2011 +0100

    Add a translator comment.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=652345