Lines Matching refs:set
58 int set; /* set number */
105 entry(Dt_t* dict, int set, int seq, const char* msg)
112 mp->set = set;
120 sfprintf(sfstderr, "AHA#%d:%s set %d seq %d msg `%s'\n", __LINE__, __FILE__, set, seq, msg);
142 ast.locale.set |= AST_LC_internal;
149 ast.locale.set &= ~AST_LC_internal;
165 register int set;
190 * this assumes one mesage set for ast (AST_MESSAGE_SET or fallback to 1)
192 * name by using different message set numbers
207 if (((s = catgets(d, set = AST_MESSAGE_SET, n, state.null)) && *s || (s = catgets(d, set = 1, n, state.null)) && *s) && entry(cp->messages, set, n, s))
287 * and the set/sequence numbers within the catalog. An additional
289 * mapping untranslated message strings to the set/sequence numbers
389 sfprintf(state.tmp, "(%s,%d,%d)", cp->name, mp->set, mp->seq);
392 else if (ast.locale.set & AST_LC_debug)
395 sfprintf(state.tmp, "(%s,%d,%d)%s", cp->name, mp->set, mp->seq, r);
405 r = catgets(cp->cat, mp->set, mp->seq, msg);
412 sfprintf(sfstderr, "locale %s catalog %s message %d.%d \"%s\" does not match \"%s\"\n", cp->locale, cp->name, mp->set, mp->seq, r, msg);
416 if (ast.locale.set & AST_LC_debug)
419 sfprintf(state.tmp, "(%s,%d,%d)%s", cp->name, mp->set, mp->seq, r);
423 if (ast.locale.set & AST_LC_translate)
424 sfprintf(sfstderr, "translate locale=%s catalog=%s set=%d seq=%d \"%s\" => \"%s\"\n", cp->locale, cp->name, mp->set, mp->seq, msg, r == (char*)msg ? "NOPE" : r);