Lines Matching refs:msg_ctxt_id
150 const char *msg_ctxt_id, const char *msgid,
153 const char *translation = dcgettext (domain, msg_ctxt_id, category);
154 if (translation == msg_ctxt_id)
169 const char *msg_ctxt_id, const char *msgid,
174 dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
175 if (translation == msg_ctxt_id || translation == msgid_plural)
220 char msg_ctxt_id[msgctxt_len + msgid_len];
223 char *msg_ctxt_id =
227 if (msg_ctxt_id != NULL)
231 memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
232 msg_ctxt_id[msgctxt_len - 1] = '\004';
233 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
234 translation = dcgettext (domain, msg_ctxt_id, category);
235 found_translation = (translation != msg_ctxt_id);
237 if (msg_ctxt_id != buf)
238 free (msg_ctxt_id);
268 char msg_ctxt_id[msgctxt_len + msgid_len];
271 char *msg_ctxt_id =
275 if (msg_ctxt_id != NULL)
279 memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
280 msg_ctxt_id[msgctxt_len - 1] = '\004';
281 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
282 translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
283 found_translation = !(translation == msg_ctxt_id || translation == msgid_plural);
285 if (msg_ctxt_id != buf)
286 free (msg_ctxt_id);