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:
@@ -400,8 +400,8 @@ AboutApp::AboutApp()
|
||||
// #pragma mark -
|
||||
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "AboutWindow"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "AboutWindow"
|
||||
|
||||
AboutWindow::AboutWindow()
|
||||
: BWindow(BRect(0, 0, 500, 300), B_TRANSLATE("About this system"),
|
||||
@@ -543,8 +543,8 @@ CropView::DoLayout()
|
||||
|
||||
// #pragma mark - AboutView
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "AboutView"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "AboutView"
|
||||
|
||||
AboutView::AboutView()
|
||||
: BView("aboutview", B_WILL_DRAW | B_PULSE_NEEDED),
|
||||
|
||||
Reference in New Issue
Block a user