More catalog-related cleanup.
* rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
This commit is contained in:
@@ -166,8 +166,8 @@ engine, last line must contain:</p>
|
||||
<pre><code>#include <stdio.h>
|
||||
#include <Catalog.h>
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#ifdef B_TRANSLATE_CONTEXT "hello"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "hello"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user