Home | History | Annotate | Download | only in libopts

Lines Matching defs:msg_ctxt_id

152               const char *msg_ctxt_id, const char *msgid,
155 const char *translation = dcgettext (domain, msg_ctxt_id, category);
156 if (translation == msg_ctxt_id)
171 const char *msg_ctxt_id, const char *msgid,
176 dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
177 if (translation == msg_ctxt_id || translation == msgid_plural)
222 char msg_ctxt_id[msgctxt_len + msgid_len];
225 char *msg_ctxt_id =
229 if (msg_ctxt_id != NULL)
233 memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
234 msg_ctxt_id[msgctxt_len - 1] = '\004';
235 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
236 translation = dcgettext (domain, msg_ctxt_id, category);
237 found_translation = (translation != msg_ctxt_id);
239 if (msg_ctxt_id != buf)
240 free (msg_ctxt_id);
270 char msg_ctxt_id[msgctxt_len + msgid_len];
273 char *msg_ctxt_id =
277 if (msg_ctxt_id != NULL)
281 memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1);
282 msg_ctxt_id[msgctxt_len - 1] = '\004';
283 memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len);
284 translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category);
285 found_translation = !(translation == msg_ctxt_id || translation == msgid_plural);
287 if (msg_ctxt_id != buf)
288 free (msg_ctxt_id);