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:
@@ -44,8 +44,8 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "ActiveTranslatorsWindow"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "ActiveTranslatorsWindow"
|
||||
|
||||
|
||||
ActiveTranslatorsWindow::ActiveTranslatorsWindow(BRect rect, const char *name,
|
||||
|
||||
@@ -61,8 +61,8 @@
|
||||
#define BORDER_HEIGHT 16
|
||||
#define PEN_SIZE 1.0f
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "ImageView"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "ImageView"
|
||||
|
||||
|
||||
ImageView::ImageView(BRect rect, const char *name)
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
#include <ScrollView.h>
|
||||
#include <Alert.h>
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "ImageWindow"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "ImageWindow"
|
||||
|
||||
|
||||
ImageWindow::ImageWindow(BRect rect, const char *name)
|
||||
|
||||
@@ -40,8 +40,8 @@
|
||||
#include <String.h>
|
||||
#include <Window.h>
|
||||
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "InspectorApp"
|
||||
#undef B_TRANSLATION_CONTEXT
|
||||
#define B_TRANSLATION_CONTEXT "InspectorApp"
|
||||
|
||||
|
||||
InspectorApp::InspectorApp()
|
||||
|
||||
Reference in New Issue
Block a user