Searched refs:catalog (Results 1 - 11 of 11) sorted by relevance

/haiku/src/kits/locale/
H A DMutableLocaleRoster.cpp99 MutableLocaleRoster::LoadSystemCatalog(BCatalog* catalog) const
101 if (!catalog)
120 // load the catalog for libbe into the given catalog
126 return catalog->SetTo(ref);
131 * creates a new (empty) catalog of the given type (the request is dispatched
133 * If the add-on doesn't support catalog-creation or if the creation fails,
134 * NULL is returned, otherwise a pointer to the freshly created catalog.
135 * Any created catalog will be initialized with the given signature and
156 BCatalogData* catalog local
201 BCatalogData* catalog = NULL; local
350 UnloadCatalog(BCatalogData* catalog) argument
[all...]
H A DDefaultCatalog.cpp40 /*! This file implements the default catalog-type for the opentracker locale
47 static const char *kCatExtension = ".catalog";
54 = "locale/x-vnd.Be.locale-catalog.default";
57 // version of the catalog archive structure, bump this if you change it!
60 // give highest priority to our embedded catalog-add-on
64 the catalog from disk.
65 InitCheck() will be B_OK if catalog could be loaded successfully, it will
73 // We created the catalog with an invalid signature, but we fix that now.
77 // search for catalog living in sub-folder of app's folder:
96 // give lowest priority to catalog embedde
477 DefaultCatalog *catalog local
490 DefaultCatalog *catalog local
[all...]
H A DLocaleRoster.cpp53 // name of catalog language, lives in every catalog file
55 // catalog signature, lives in every catalog file
57 // catalog fingerprint, may live in catalog file
60 // attribute which contains flattened data of embedded catalog
64 // which contains flattened data of embedded catalog.
472 /*! \brief Looks up a localized filename from a catalog.
475 \param ref An entry_ref with an attribute holding data for catalog looku
526 BCatalog* catalog = (BCatalog*)param; local
554 _GetCatalog(BCatalog* catalog, int32* catalogInitStatus) argument
[all...]
/haiku/src/add-ons/locale/catalogs/plaintext/
H A DCatalog.cpp41 * This file implements the plain text catalog-type for the Haiku
54 = "locale/x-vnd.Be.locale-catalog.plaintext";
57 // version of the catalog archive structure, bump this if you change it!
72 * the catalog from disk.
73 * InitCheck() will be B_OK if catalog could be loaded successfully, it will
81 // We created the catalog with an invalid signature, but we fix that now.
84 // give highest priority to catalog living in sub-folder of app's folder:
192 // The first line holds some info about the catalog :
276 // when creating the catalog, we make sure that they exist there:
339 * writes mimetype, language-name and signature of catalog int
383 PlainTextCatalog *catalog local
397 PlainTextCatalog *catalog local
410 PlainTextCatalog *catalog local
[all...]
/haiku/src/tools/locale/
H A DDefaultCatalog.cpp37 /*! This file implements the default catalog-type for the opentracker locale
49 // name of catalog language, lives in every catalog file
51 // catalog signature, lives in every catalog file
53 // catalog fingerprint, may live in catalog file
56 = "locale/x-vnd.Be.locale-catalog.default";
59 // version of the catalog archive structure, bump this if you change it!
62 // give highest priority to our embedded catalog
391 DefaultCatalog *catalog local
404 DefaultCatalog *catalog local
[all...]
H A DPlainTextCatalog.cpp40 * This file implements the plain text catalog-type for the Haiku
50 = "locale/x-vnd.Be.locale-catalog.plaintext";
53 // version of the catalog archive structure, bump this if you change it!
71 * the catalog from disk.
72 * InitCheck() will be B_OK if catalog could be loaded successfully, it will
80 // Look for the catalog in the directory we are going to use
85 "trying to load plaintext-catalog(lang=%s) results in %s\n",
121 fprintf(stderr, "couldn't open catalog at %s\n", path);
127 // The first line holds some info about the catalog :
150 fprintf(stderr, "Unable to read from catalog
334 PlainTextCatalog *catalog local
358 PlainTextCatalog *catalog local
[all...]
H A Dcollectcatkeys.cpp42 PlainTextCatalog *catalog = NULL; variable
53 " -l <catalogLang>\tlanguage of the target-catalog (default is "
61 fprintf(stderr,"\n -s <catalogSig>\tsignature of the target-catalog\n"
63 " -w\t\t\tshow warnings about catalog-accesses that couldn't be "
193 res = catalog->SetString(id, "");
204 res = catalog->SetString(str.String(), str.String(),
222 fprintf(stderr, "Warning: couldn't resolve catalog-access:\n\t%s\n",
296 catalog = new PlainTextCatalog(inputFile, catalogSig, catalogLang);
298 res = catalog->WriteToFile(outputFile.String());
300 fprintf(stderr, "couldn't write catalog t
[all...]
/haiku/src/bin/locale/
H A Dcollectcatkeys.cpp41 EditableCatalog *catalog = NULL; variable
51 " -l <catalogLang>\tlanguage of the target-catalog (default is "
59 fputs("\n -s <catalogSig>\tsignature of the target-catalog\n"
61 " -w\t\t\tshow warnings about catalog-accesses that couldn't be "
187 res = catalog->SetString(id, "");
198 res = catalog->SetString(str.String(), str.String(),
216 fprintf(stderr, "Warning: couldn't resolve catalog-access:\n\t%s\n",
292 catalog = new EditableCatalog("plaintext", catalogSig, catalogLang);
294 res = catalog->WriteToFile(outputFile.String());
296 fprintf(stderr, "couldn't write catalog t
[all...]
/haiku/headers/private/locale/
H A DHashMapCatalog.h6 * This file declares all the things we need to add to a catalog add-on to be
8 * catalog editor, when we will have one.
45 // with respect to the catalog-editor, each translation can be
107 * catalog. We need that for dumpcatalog, linkcatkeys (to extract the
108 * data from the plaintext catalog) and in the catalog editor (to
109 * display the list of strings in a given catalog).
115 CatWalker(HashMapCatalog* catalog);
141 HashMapCatalog::CatWalker::CatWalker(HashMapCatalog* catalog) argument
143 fPos(catalog
[all...]
H A DMutableLocaleRoster.h50 status_t LoadSystemCatalog(BCatalog* catalog) const;
/haiku/headers/os/locale/
H A DLocaleRoster.h78 // Get the catalog for the calling image
103 static BCatalog* _GetCatalog(BCatalog* catalog,

Completed in 85 milliseconds