Lines Matching defs:dict

47  * fmd_msg_gettext_key - format the entire message for the given dict for the
993 nvlist_t *nvl, const char *dict, const char *code, fmd_msg_item_t item)
1010 * If <dict>.mo defines an item with the key <FMD_MSG_URLKEY> then it
1014 if ((url = dgettext(dict, FMD_MSG_URLKEY)) == FMD_MSG_URLKEY)
1020 * is derived by looking up the key <code>.<istr> in the dict object.
1032 txt = dgettext(dict, key);
1263 nvlist_t *nvl, const char *dict, const char *code)
1286 items[i] = fmd_msg_getitem_locked(h, nvl, dict, code, i);
1292 * If <dict>.mo defines an item with the key <FMD_MSG_TEMPLATE> then it
1295 if ((format = dgettext(dict, FMD_MSG_TEMPLATE)) == FMD_MSG_TEMPLATE)
1371 char *dict, *key, *p, *s;
1383 dict = strndupa(code, p - code);
1392 p = bindtextdomain(dict, NULL);
1394 (void) bindtextdomain(dict, h->fmh_binding);
1421 if (dgettext(dict, key) == key &&
1427 if (dgettext(dict, key) == key) {
1431 s = fmd_msg_getitem_locked(h, nvl, dict, code, item);
1439 (void) bindtextdomain(dict, old_b);
1482 const char *locale, const char *dict, const char *key)
1493 p = bindtextdomain(dict, NULL);
1496 (void) bindtextdomain(dict, h->fmh_binding);
1516 if ((s = dgettext(dict, key)) == key &&
1521 if ((s = dgettext(dict, key)) == key) {
1530 (void) bindtextdomain(dict, old_b);
1546 char *dict, *key, *p, *s;
1558 dict = strndupa(code, p - code);
1567 p = bindtextdomain(dict, NULL);
1569 (void) bindtextdomain(dict, h->fmh_binding);
1596 if (dgettext(dict, key) == key &&
1602 if (dgettext(dict, key) == key) {
1606 s = fmd_msg_gettext_locked(h, nvl, dict, code);
1614 (void) bindtextdomain(dict, old_b);