Lines Matching refs:catalog

38 /*!	This file implements the default catalog-type for the opentracker locale
50 // name of catalog language, lives in every catalog file
52 // catalog signature, lives in every catalog file
54 // catalog fingerprint, may live in catalog file
57 = "locale/x-vnd.Be.locale-catalog.default";
60 // version of the catalog archive structure, bump this if you change it!
64 the catalog from disk.
65 InitCheck() will be B_OK if catalog could be loaded successfully, it will
75 "trying to load default-catalog(sig=%s, lang=%s) results in %s",
82 InitCheck() will be B_OK if catalog could be loaded successfully, it will
91 // "trying to load embedded catalog from resources results in %s",
139 fprintf(stderr, "no catalog at %s\n", path);
144 fprintf(stderr, "found catalog at %s\n", path);
149 fprintf(stderr, "couldn't get size for catalog-file %s\n", path);
160 fprintf(stderr, "couldn't read from catalog-file %s\n", path);
165 "only got %u instead of %Lu bytes from catalog-file %s\n", res, sz,
175 // when creating the catalog, we make sure that they exist there:
249 /*! Writes mimetype, language-name and signature of catalog into the
250 catalog-file.
346 // if a specific fingerprint has been requested and the catalog does in
348 // not accept this catalog:
351 fprintf(stderr, "default-catalog(sig=%s, lang=%s) "
353 ", so this catalog is skipped.\n",
391 fprintf(stderr, "default-catalog(sig=%s, lang=%s) "
393 "The catalog data may be corrupted, so this catalog is "
408 DefaultCatalog *catalog
410 if (catalog && catalog->InitCheck() != B_OK) {
411 delete catalog;
414 return catalog;
421 DefaultCatalog *catalog
423 if (catalog && catalog->InitCheck() != B_OK) {
424 delete catalog;
427 return catalog;
432 // give highest priority to our embedded catalog-add-on