Closing #6721: avoid unescaping when linking catalogs together

* add SetRawString() to both implementations of DefaultCatalog which sets
  the translated string as given
* use SetRawString() in both (standard- and build-)versions of linkcatkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41167 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2011-04-02 13:37:59 +00:00
parent 017d6353fb
commit 2a06b5bdba
5 changed files with 20 additions and 11 deletions
+2
View File
@@ -44,6 +44,8 @@ class DefaultCatalog : public BHashMapCatalog {
status_t WriteToAttribute(entry_ref *appOrAddOnRef);
status_t WriteToResource(entry_ref *appOrAddOnRef);
status_t SetRawString(const CatKey& key, const char *translated);
static BCatalogAddOn *Instantiate(const char *signature,
const char *language, uint32 fingerprint);
static BCatalogAddOn *InstantiateEmbedded(entry_ref *appOrAddOnRef);