Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia
2010-05-07 20:19:06 +00:00
parent 483e12623e
commit 4eb0cbb044
159 changed files with 328 additions and 328 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include "ZipOMaticWindow.h" #include "ZipOMaticWindow.h"
#define TR_CONTEXT "file:ZipOMatic.cpp" #define B_TRANSLATE_CONTEXT "file:ZipOMatic.cpp"
int int
@@ -33,7 +33,7 @@
#include "ZipperThread.h" #include "ZipperThread.h"
#define TR_CONTEXT "file:ZipOMaticWindow.cpp" #define B_TRANSLATE_CONTEXT "file:ZipOMaticWindow.cpp"
ZippoWindow::ZippoWindow(BList windowList, bool keepOpen) ZippoWindow::ZippoWindow(BList windowList, bool keepOpen)
@@ -27,7 +27,7 @@
#include "ZipOMaticWindow.h" #include "ZipOMaticWindow.h"
#define TR_CONTEXT "file:ZipperThread.cpp" #define B_TRANSLATE_CONTEXT "file:ZipperThread.cpp"
ZipperThread::ZipperThread(BMessage* refsMessage, BWindow* window) ZipperThread::ZipperThread(BMessage* refsMessage, BWindow* window)
+4 -4
View File
@@ -295,8 +295,8 @@ AboutApp::AboutApp()
// #pragma mark - // #pragma mark -
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "AboutWindow" #define B_TRANSLATE_CONTEXT "AboutWindow"
AboutWindow::AboutWindow() AboutWindow::AboutWindow()
: BWindow(BRect(0, 0, 500, 300), B_TRANSLATE("About this system"), : BWindow(BRect(0, 0, 500, 300), B_TRANSLATE("About this system"),
@@ -438,8 +438,8 @@ CropView::DoLayout()
// #pragma mark - AboutView // #pragma mark - AboutView
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "AboutView" #define B_TRANSLATE_CONTEXT "AboutView"
AboutView::AboutView() AboutView::AboutView()
: BView("aboutview", B_WILL_DRAW | B_PULSE_NEEDED), : BView("aboutview", B_WILL_DRAW | B_PULSE_NEEDED),
+2 -2
View File
@@ -17,8 +17,8 @@
#include <Message.h> #include <Message.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Utilities" #define B_TRANSLATE_CONTEXT "Utilities"
BString BString
+2 -2
View File
@@ -16,8 +16,8 @@
#include <TextView.h> #include <TextView.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "BootManager" #define B_TRANSLATE_CONTEXT "BootManager"
static const char* kSignature = "application/x-vnd.Haiku-bootman"; static const char* kSignature = "application/x-vnd.Haiku-bootman";
+1 -1
View File
@@ -35,7 +35,7 @@
#include <String.h> #include <String.h>
#define TR_CONTEXT "BootManagerController" #define B_TRANSLATE_CONTEXT "BootManagerController"
BootManagerController::BootManagerController() BootManagerController::BootManagerController()
+2 -2
View File
@@ -25,8 +25,8 @@
#include "tracker_private.h" #include "tracker_private.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "BootManagerWindow" #define B_TRANSLATE_CONTEXT "BootManagerWindow"
+2 -2
View File
@@ -23,8 +23,8 @@
#include <TextView.h> #include <TextView.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "DefaultPartitionPage" #define B_TRANSLATE_CONTEXT "DefaultPartitionPage"
enum { enum {
+2 -2
View File
@@ -17,8 +17,8 @@
#include <string.h> #include <string.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "EntryPage" #define B_TRANSLATE_CONTEXT "EntryPage"
EntryPage::EntryPage(BMessage* settings, BRect frame, const char* name) EntryPage::EntryPage(BMessage* settings, BRect frame, const char* name)
+2 -2
View File
@@ -21,8 +21,8 @@
#include <String.h> #include <String.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "FileSelectionPage" #define B_TRANSLATE_CONTEXT "FileSelectionPage"
const uint32 kMsgOpenFilePanel = 'open'; const uint32 kMsgOpenFilePanel = 'open';
+2 -2
View File
@@ -37,8 +37,8 @@
#include "BootLoader.h" #include "BootLoader.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "LegacyBootDrive" #define B_TRANSLATE_CONTEXT "LegacyBootDrive"
#define USE_SECOND_DISK 0 #define USE_SECOND_DISK 0
#define GET_FIRST_BIOS_DRIVE 1 #define GET_FIRST_BIOS_DRIVE 1
+2 -2
View File
@@ -24,8 +24,8 @@
#include <String.h> #include <String.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PartitionsPage" #define B_TRANSLATE_CONTEXT "PartitionsPage"
const uint32 kMessageShow = 'show'; const uint32 kMessageShow = 'show';
+2 -2
View File
@@ -17,8 +17,8 @@
#include <string.h> #include <string.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "UninstallPage" #define B_TRANSLATE_CONTEXT "UninstallPage"
UninstallPage::UninstallPage(BMessage* settings, BRect frame, const char* name) UninstallPage::UninstallPage(BMessage* settings, BRect frame, const char* name)
+2 -2
View File
@@ -15,8 +15,8 @@
#include <Catalog.h> #include <Catalog.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "WizardView" #define B_TRANSLATE_CONTEXT "WizardView"
static const float kSeparatorHeight = 2; static const float kSeparatorHeight = 2;
+2 -2
View File
@@ -52,8 +52,8 @@ All rights reserved.
#include "StatusView.h" #include "StatusView.h"
#include "tracker_private.h" #include "tracker_private.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "BeMenu" #define B_TRANSLATE_CONTEXT "BeMenu"
#define ROSTER_SIG "application/x-vnd.Be-ROST" #define ROSTER_SIG "application/x-vnd.Be-ROST"
+2 -2
View File
@@ -24,8 +24,8 @@
#include "StatusView.h" #include "StatusView.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PreferencesWindow" #define B_TRANSLATE_CONTEXT "PreferencesWindow"
PreferencesWindow::PreferencesWindow(BRect frame) PreferencesWindow::PreferencesWindow(BRect frame)
: :
+2 -2
View File
@@ -120,8 +120,8 @@ DumpList(BList* itemlist)
#endif /* DB_ADDONS */ #endif /* DB_ADDONS */
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Tray" #define B_TRANSLATE_CONTEXT "Tray"
// don't change the name of this view to anything other than "Status"! // don't change the name of this view to anything other than "Status"!
+2 -2
View File
@@ -68,8 +68,8 @@ enum {
}; };
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "TimeView" #define B_TRANSLATE_CONTEXT "TimeView"
TTimeView::TTimeView(float maxWidth, float height, bool showSeconds, TTimeView::TTimeView(float maxWidth, float height, bool showSeconds,
bool milTime, bool fullDate, bool euroDate, bool) bool milTime, bool fullDate, bool euroDate, bool)
+2 -2
View File
@@ -60,8 +60,8 @@ const int32 kListFloater = 5;
const int32 kSystemFloater = 6; const int32 kSystemFloater = 6;
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "WindowMenu" #define B_TRANSLATE_CONTEXT "WindowMenu"
bool bool
TWindowMenu::WindowShouldBeListed(uint32 behavior) TWindowMenu::WindowShouldBeListed(uint32 behavior)
+1 -1
View File
@@ -28,7 +28,7 @@
#include <String.h> #include <String.h>
#define TR_CONTEXT "CreateParamsPanel" #define B_TRANSLATE_CONTEXT "CreateParamsPanel"
class CreateParamsPanel::EscapeFilter : public BMessageFilter { class CreateParamsPanel::EscapeFilter : public BMessageFilter {
+1 -1
View File
@@ -18,7 +18,7 @@
#include "MainWindow.h" #include "MainWindow.h"
#define TR_CONTEXT "DiskView" #define B_TRANSLATE_CONTEXT "DiskView"
using BPrivate::HashMap; using BPrivate::HashMap;
using BPrivate::HashKey32; using BPrivate::HashKey32;
+1 -1
View File
@@ -24,7 +24,7 @@
#include <TextControl.h> #include <TextControl.h>
#define TR_CONTEXT "InitParamsPanel" #define B_TRANSLATE_CONTEXT "InitParamsPanel"
class InitParamsPanel::EscapeFilter : public BMessageFilter { class InitParamsPanel::EscapeFilter : public BMessageFilter {
+1 -1
View File
@@ -43,7 +43,7 @@
#include "tracker_private.h" #include "tracker_private.h"
#define TR_CONTEXT "MainWindow" #define B_TRANSLATE_CONTEXT "MainWindow"
class ListPopulatorVisitor : public BDiskDeviceVisitor { class ListPopulatorVisitor : public BDiskDeviceVisitor {
+1 -1
View File
@@ -17,7 +17,7 @@
#include "Support.h" #include "Support.h"
#define TR_CONTEXT "PartitionList" #define B_TRANSLATE_CONTEXT "PartitionList"
// #pragma mark - BBitmapStringField // #pragma mark - BBitmapStringField
+1 -1
View File
@@ -18,7 +18,7 @@
#include <String.h> #include <String.h>
#define TR_CONTEXT "Support" #define B_TRANSLATE_CONTEXT "Support"
void void
+2 -2
View File
@@ -43,8 +43,8 @@ DirectoryRefFilter::Filter(const entry_ref *ref, BNode* node,
// #pragma mark - // #pragma mark -
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "DirectoryFilePanel" #define B_TRANSLATE_CONTEXT "DirectoryFilePanel"
DirectoryFilePanel::DirectoryFilePanel(file_panel_mode mode, BMessenger* target, DirectoryFilePanel::DirectoryFilePanel(file_panel_mode mode, BMessenger* target,
+2 -2
View File
@@ -25,8 +25,8 @@ ExpanderApp::ExpanderApp()
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "About" #define B_TRANSLATE_CONTEXT "About"
void void
ExpanderApp::AboutRequested() ExpanderApp::AboutRequested()
+2 -2
View File
@@ -21,8 +21,8 @@ const uint32 MSG_DESTUSE = 'mDeu';
const uint32 MSG_DESTTEXT = 'mDet'; const uint32 MSG_DESTTEXT = 'mDet';
const uint32 MSG_DESTSELECT = 'mDes'; const uint32 MSG_DESTSELECT = 'mDes';
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ExpanderPreferences" #define B_TRANSLATE_CONTEXT "ExpanderPreferences"
ExpanderPreferences::ExpanderPreferences(BMessage *settings) ExpanderPreferences::ExpanderPreferences(BMessage *settings)
: BWindow(BRect(0, 0, 325, 305), "Expander", B_MODAL_WINDOW, : BWindow(BRect(0, 0, 325, 305), "Expander", B_MODAL_WINDOW,
+6 -6
View File
@@ -44,8 +44,8 @@ const uint32 MSG_DESTTEXT = 'mDTX';
const uint32 MSG_SHOWCONTENTS = 'mSCT'; const uint32 MSG_SHOWCONTENTS = 'mSCT';
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ExpanderWindow" #define B_TRANSLATE_CONTEXT "ExpanderWindow"
ExpanderWindow::ExpanderWindow(BRect frame, const entry_ref* ref, ExpanderWindow::ExpanderWindow(BRect frame, const entry_ref* ref,
BMessage* settings) BMessage* settings)
@@ -466,8 +466,8 @@ ExpanderWindow::RefsReceived(BMessage* msg)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ExpanderMenu" #define B_TRANSLATE_CONTEXT "ExpanderMenu"
void void
ExpanderWindow::_AddMenuBar(BLayout* layout) ExpanderWindow::_AddMenuBar(BLayout* layout)
@@ -507,8 +507,8 @@ ExpanderWindow::_AddMenuBar(BLayout* layout)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ExpanderWindow" #define B_TRANSLATE_CONTEXT "ExpanderWindow"
void void
ExpanderWindow::StartExpanding() ExpanderWindow::StartExpanding()
+2 -2
View File
@@ -34,8 +34,8 @@
#include <TextView.h> #include <TextView.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "UninstallView" #define B_TRANSLATE_CONTEXT "UninstallView"
enum { enum {
@@ -14,8 +14,8 @@
#include <Locale.h> #include <Locale.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "UninstallWindow" #define B_TRANSLATE_CONTEXT "UninstallWindow"
UninstallWindow::UninstallWindow() UninstallWindow::UninstallWindow()
+2 -2
View File
@@ -21,8 +21,8 @@
#include <stdio.h> #include <stdio.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "UninstallApplication" #define B_TRANSLATE_CONTEXT "UninstallApplication"
class UninstallApplication : public BApplication { class UninstallApplication : public BApplication {
+2 -2
View File
@@ -41,8 +41,8 @@ static const uint32 kMsgAgree = 'agre';
//"IN THE SOFTWARE."; //"IN THE SOFTWARE.";
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "InstallerApp" #define B_TRANSLATE_CONTEXT "InstallerApp"
int main(int, char **) int main(int, char **)
+2 -2
View File
@@ -45,8 +45,8 @@
#include "WorkerThread.h" #include "WorkerThread.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "InstallerWindow" #define B_TRANSLATE_CONTEXT "InstallerWindow"
#define DRIVESETUP_SIG "application/x-vnd.Haiku-DriveSetup" #define DRIVESETUP_SIG "application/x-vnd.Haiku-DriveSetup"
#define BOOTMAN_SIG "application/x-vnd.Haiku-Bootman" #define BOOTMAN_SIG "application/x-vnd.Haiku-Bootman"
+2 -2
View File
@@ -23,8 +23,8 @@
#include "StringForSize.h" #include "StringForSize.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackagesView" #define B_TRANSLATE_CONTEXT "PackagesView"
#define ICON_ATTRIBUTE "INSTALLER PACKAGE: ICON" #define ICON_ATTRIBUTE "INSTALLER PACKAGE: ICON"
+2 -2
View File
@@ -10,8 +10,8 @@
#include <Catalog.h> #include <Catalog.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "InstallProgress" #define B_TRANSLATE_CONTEXT "InstallProgress"
ProgressReporter::ProgressReporter(const BMessenger& messenger, ProgressReporter::ProgressReporter(const BMessenger& messenger,
+1 -1
View File
@@ -33,7 +33,7 @@
#include "UnzipEngine.h" #include "UnzipEngine.h"
#define TR_CONTEXT "InstallProgress" #define B_TRANSLATE_CONTEXT "InstallProgress"
//#define COPY_TRACE //#define COPY_TRACE
+1 -1
View File
@@ -79,7 +79,7 @@ of their respective holders. All rights reserved.
#endif #endif
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
const rgb_color kNormalTextColor = {0, 0, 0, 255}; const rgb_color kNormalTextColor = {0, 0, 0, 255};
+1 -1
View File
@@ -64,7 +64,7 @@ of their respective holders. All rights reserved.
#include "Messages.h" #include "Messages.h"
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
static const float kPlainFontSizeScale = 0.9; static const float kPlainFontSizeScale = 0.9;
+1 -1
View File
@@ -51,7 +51,7 @@ of their respective holders. All rights reserved.
#include <TextView.h> #include <TextView.h>
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
enum { enum {
+1 -1
View File
@@ -70,7 +70,7 @@ of their respective holders. All rights reserved.
#include <time.h> #include <time.h>
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
using namespace BPrivate; using namespace BPrivate;
+1 -1
View File
@@ -87,7 +87,7 @@ using namespace BPrivate ;
#include "Words.h" #include "Words.h"
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
static const char *kDictDirectory = "word_dictionary"; static const char *kDictDirectory = "word_dictionary";
+1 -1
View File
@@ -47,7 +47,7 @@ of their respective holders. All rights reserved.
#include "Messages.h" #include "Messages.h"
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
TMenu::TMenu(const char *name, const char *attribute, int32 message, bool popup, TMenu::TMenu(const char *name, const char *attribute, int32 message, bool popup,
+1 -1
View File
@@ -85,7 +85,7 @@ of their respective holders. All rights reserved.
#include "Utilities.h" #include "Utilities.h"
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
using namespace BPrivate; using namespace BPrivate;
+1 -1
View File
@@ -62,7 +62,7 @@ using namespace BPrivate;
#include "Signature.h" #include "Signature.h"
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
#define BUTTON_WIDTH 70 #define BUTTON_WIDTH 70
#define BUTTON_HEIGHT 20 #define BUTTON_HEIGHT 20
+1 -1
View File
@@ -54,7 +54,7 @@ of their respective holders. All rights reserved.
#include <mail_encoding.h> #include <mail_encoding.h>
#define TR_CONTEXT "Settings" #define B_TRANSLATE_CONTEXT "Settings"
using namespace BPrivate ; using namespace BPrivate ;
+1 -1
View File
@@ -50,7 +50,7 @@ of their respective holders. All rights reserved.
#include "Messages.h" #include "Messages.h"
#define TR_CONTEXT "Mail" #define B_TRANSLATE_CONTEXT "Mail"
extern BRect signature_window; extern BRect signature_window;
+2 -2
View File
@@ -28,8 +28,8 @@
#include "MidiPlayerApp.h" #include "MidiPlayerApp.h"
#include "MidiPlayerWindow.h" #include "MidiPlayerWindow.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Main Application" #define B_TRANSLATE_CONTEXT "Main Application"
MidiPlayerApp::MidiPlayerApp() MidiPlayerApp::MidiPlayerApp()
: BApplication(MIDI_PLAYER_SIGNATURE) : BApplication(MIDI_PLAYER_SIGNATURE)
+2 -2
View File
@@ -38,8 +38,8 @@
#define _W(a) (a->Frame().Width()) #define _W(a) (a->Frame().Width())
#define _H(a) (a->Frame().Height()) #define _H(a) (a->Frame().Height())
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Main Window" #define B_TRANSLATE_CONTEXT "Main Window"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
+2 -2
View File
@@ -27,8 +27,8 @@
#include "ScopeView.h" #include "ScopeView.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Scope View" #define B_TRANSLATE_CONTEXT "Scope View"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@@ -17,8 +17,8 @@
#include <TranslatorRoster.h> #include <TranslatorRoster.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageImageViewer" #define B_TRANSLATE_CONTEXT "PackageImageViewer"
enum { enum {
P_MSG_CLOSE = 'pmic' P_MSG_CLOSE = 'pmic'
+2 -2
View File
@@ -18,8 +18,8 @@
#include <kernel/OS.h> #include <kernel/OS.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageInfo" #define B_TRANSLATE_CONTEXT "PackageInfo"
#define RETURN_AND_SET_STATUS(err) fStatus = err; \ #define RETURN_AND_SET_STATUS(err) fStatus = err; \
fprintf(stderr, "err at %s():%d: %x\n", __FUNCTION__, __LINE__, err); \ fprintf(stderr, "err at %s():%d: %x\n", __FUNCTION__, __LINE__, err); \
+2 -2
View File
@@ -19,8 +19,8 @@
#include <stdio.h> #include <stdio.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageInstall" #define B_TRANSLATE_CONTEXT "PackageInstall"
static int32 static int32
+2 -2
View File
@@ -25,8 +25,8 @@
#include "zlib.h" #include "zlib.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageItem" #define B_TRANSLATE_CONTEXT "PackageItem"
enum { enum {
P_CHUNK_SIZE = 256 P_CHUNK_SIZE = 256
+2 -2
View File
@@ -18,8 +18,8 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageStatus" #define B_TRANSLATE_CONTEXT "PackageStatus"
StopButton::StopButton() StopButton::StopButton()
: :
@@ -23,8 +23,8 @@ enum {
P_MSG_DECLINE P_MSG_DECLINE
}; };
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageTextViewer" #define B_TRANSLATE_CONTEXT "PackageTextViewer"
PackageTextViewer::PackageTextViewer(const char *text, bool disclaimer) PackageTextViewer::PackageTextViewer(const char *text, bool disclaimer)
+2 -2
View File
@@ -35,8 +35,8 @@
#include <stdio.h> // For debugging #include <stdio.h> // For debugging
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageView" #define B_TRANSLATE_CONTEXT "PackageView"
const float kMaxDescHeight = 125.0f; const float kMaxDescHeight = 125.0f;
const uint32 kSeparatorIndex = 3; const uint32 kSeparatorIndex = 3;
+2 -2
View File
@@ -15,8 +15,8 @@
#include <Locale.h> #include <Locale.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PackageWindow" #define B_TRANSLATE_CONTEXT "PackageWindow"
PackageWindow::PackageWindow(const entry_ref *ref) PackageWindow::PackageWindow(const entry_ref *ref)
+2 -2
View File
@@ -21,8 +21,8 @@
#include <stdio.h> #include <stdio.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Packageinstaller main" #define B_TRANSLATE_CONTEXT "Packageinstaller main"
class PackageInstaller : public BApplication { class PackageInstaller : public BApplication {
public: public:
+2 -2
View File
@@ -93,8 +93,8 @@ PairsView::_HasBitmap(BList& bitmaps, BBitmap* bitmap)
return false; return false;
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PairsView" #define B_TRANSLATE_CONTEXT "PairsView"
void void
PairsView::_ReadRandomIcons() PairsView::_ReadRandomIcons()
+2 -2
View File
@@ -29,8 +29,8 @@
// #pragma mark - PairsWindow // #pragma mark - PairsWindow
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PairsWindow" #define B_TRANSLATE_CONTEXT "PairsWindow"
const uint32 MENU_NEW = 'MGnw'; const uint32 MENU_NEW = 'MGnw';
const uint32 MENU_SIZE = 'MGsz'; const uint32 MENU_SIZE = 'MGsz';
@@ -37,8 +37,8 @@ enum {
MSG_KEYMAP_SELECTED = 'kmps' MSG_KEYMAP_SELECTED = 'kmps'
}; };
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "BootPromptWindow" #define B_TRANSLATE_CONTEXT "BootPromptWindow"
class LanguageItem : public BStringItem { class LanguageItem : public BStringItem {
+2 -2
View File
@@ -93,8 +93,8 @@ public:
// #pragma mark - ScreenshotWindow // #pragma mark - ScreenshotWindow
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ScreenshotWindow" #define B_TRANSLATE_CONTEXT "ScreenshotWindow"
ScreenshotWindow::ScreenshotWindow() ScreenshotWindow::ScreenshotWindow()
+2 -2
View File
@@ -74,8 +74,8 @@ PrintOptions::SetHeight(float h)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "PrintOptionsWindow" #define B_TRANSLATE_CONTEXT "PrintOptionsWindow"
PrintOptionsWindow::PrintOptionsWindow(BPoint at, PrintOptions* options, PrintOptionsWindow::PrintOptionsWindow(BPoint at, PrintOptions* options,
BWindow* listener) BWindow* listener)
+2 -2
View File
@@ -20,8 +20,8 @@
static const uint32 kMsgShow = 'show'; static const uint32 kMsgShow = 'show';
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ProgressWindow" #define B_TRANSLATE_CONTEXT "ProgressWindow"
ProgressWindow::ProgressWindow(BWindow* referenceWindow, bool center) ProgressWindow::ProgressWindow(BWindow* referenceWindow, bool center)
+2 -2
View File
@@ -32,8 +32,8 @@
#include "ShowImageConstants.h" #include "ShowImageConstants.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ResizerWindow" #define B_TRANSLATE_CONTEXT "ResizerWindow"
ResizerWindow::ResizerWindow(BMessenger target, int32 width, int32 height) ResizerWindow::ResizerWindow(BMessenger target, int32 width, int32 height)
: :
+2 -2
View File
@@ -47,8 +47,8 @@ ShowImageApp::~ShowImageApp()
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "AboutWindow" #define B_TRANSLATE_CONTEXT "AboutWindow"
void void
ShowImageApp::AboutRequested() ShowImageApp::AboutRequested()
+2 -2
View File
@@ -1248,8 +1248,8 @@ ShowImageView::_OutputFormatForType(BBitmap* bitmap, const char* type,
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "SaveToFile" #define B_TRANSLATE_CONTEXT "SaveToFile"
void void
+8 -8
View File
@@ -183,8 +183,8 @@ ShowImageWindow::ShowImageWindow(const entry_ref* ref,
fImageView->SetImage(ref); fImageView->SetImage(ref);
fImageView->SetTrackerMessenger(trackerMessenger); fImageView->SetTrackerMessenger(trackerMessenger);
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "LoadAlerts" #define B_TRANSLATE_CONTEXT "LoadAlerts"
if (InitCheck() != B_OK) { if (InitCheck() != B_OK) {
BAlert* alert; BAlert* alert;
@@ -200,8 +200,8 @@ ShowImageWindow::ShowImageWindow(const entry_ref* ref,
return; return;
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Menus" #define B_TRANSLATE_CONTEXT "Menus"
// add View menu here so it can access ShowImageView methods // add View menu here so it can access ShowImageView methods
BMenu* menu = new BMenu(B_TRANSLATE("View")); BMenu* menu = new BMenu(B_TRANSLATE("View"));
@@ -255,8 +255,8 @@ ShowImageWindow::BuildContextMenu(BMenu* menu)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Menus" #define B_TRANSLATE_CONTEXT "Menus"
void void
ShowImageWindow::_BuildViewMenu(BMenu* menu, bool popupMenu) ShowImageWindow::_BuildViewMenu(BMenu* menu, bool popupMenu)
@@ -1016,8 +1016,8 @@ bs_printf(BString* string, const char* format, ...)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ClosePrompt" #define B_TRANSLATE_CONTEXT "ClosePrompt"
bool bool
ShowImageWindow::_ClosePrompt() ShowImageWindow::_ClosePrompt()
+2 -2
View File
@@ -22,8 +22,8 @@
#include <TextControl.h> #include <TextControl.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "FindandReplaceWindow" #define B_TRANSLATE_CONTEXT "FindandReplaceWindow"
FindWindow::FindWindow(BRect frame, BHandler* _handler, BString* searchString, FindWindow::FindWindow(BRect frame, BHandler* _handler, BString* searchString,
bool caseState, bool wrapState, bool backState) bool caseState, bool wrapState, bool backState)
+2 -2
View File
@@ -25,8 +25,8 @@
#include <TextControl.h> #include <TextControl.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "FindandReplaceWindow" #define B_TRANSLATE_CONTEXT "FindandReplaceWindow"
ReplaceWindow::ReplaceWindow(BRect frame, BHandler* _handler, ReplaceWindow::ReplaceWindow(BRect frame, BHandler* _handler,
BString* searchString, BString *replaceString, BString* searchString, BString *replaceString,
+2 -2
View File
@@ -80,8 +80,8 @@ namespace
// #pragma mark - // #pragma mark -
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Open_and_SaveAsPanel" #define B_TRANSLATE_CONTEXT "Open_and_SaveAsPanel"
StyledEditApp::StyledEditApp() StyledEditApp::StyledEditApp()
: BApplication(APP_SIGNATURE), : BApplication(APP_SIGNATURE),
+18 -18
View File
@@ -50,8 +50,8 @@ const float kLineViewWidth = 30.0;
const char* kInfoAttributeName = "StyledEdit-info"; const char* kInfoAttributeName = "StyledEdit-info";
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "StyledEditWindow" #define B_TRANSLATE_CONTEXT "StyledEditWindow"
// This is a temporary solution for building BString with printf like format. // This is a temporary solution for building BString with printf like format.
@@ -102,8 +102,8 @@ StyledEditWindow::~StyledEditWindow()
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Menus" #define B_TRANSLATE_CONTEXT "Menus"
void void
@@ -866,8 +866,8 @@ StyledEditWindow::Quit()
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "QuitAlert" #define B_TRANSLATE_CONTEXT "QuitAlert"
bool bool
@@ -898,8 +898,8 @@ StyledEditWindow::QuitRequested()
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "SaveAlert" #define B_TRANSLATE_CONTEXT "SaveAlert"
status_t status_t
@@ -979,8 +979,8 @@ StyledEditWindow::Save(BMessage* message)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Open_and_SaveAsPanel" #define B_TRANSLATE_CONTEXT "Open_and_SaveAsPanel"
status_t status_t
@@ -1033,8 +1033,8 @@ StyledEditWindow::SaveAs(BMessage* message)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "LoadAlert" #define B_TRANSLATE_CONTEXT "LoadAlert"
status_t status_t
@@ -1128,8 +1128,8 @@ StyledEditWindow::OpenFile(entry_ref* ref)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "RevertToSavedAlert" #define B_TRANSLATE_CONTEXT "RevertToSavedAlert"
void void
@@ -1169,8 +1169,8 @@ StyledEditWindow::RevertToSaved()
if (_LoadFile(&ref) != B_OK) if (_LoadFile(&ref) != B_OK)
return; return;
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Menus" #define B_TRANSLATE_CONTEXT "Menus"
// clear undo modes // clear undo modes
fUndoItem->SetLabel(B_TRANSLATE("Can't undo")); fUndoItem->SetLabel(B_TRANSLATE("Can't undo"));
@@ -1497,8 +1497,8 @@ StyledEditWindow::SetFontStyle(const char* fontFamily, const char* fontStyle)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Menus" #define B_TRANSLATE_CONTEXT "Menus"
void void
+2 -2
View File
@@ -29,8 +29,8 @@
#include "TermConst.h" #include "TermConst.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal AppearancePrefView" #define B_TRANSLATE_CONTEXT "Terminal AppearancePrefView"
static bool static bool
+2 -2
View File
@@ -14,8 +14,8 @@
#include <Locale.h> #include <Locale.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal arguments parsing" #define B_TRANSLATE_CONTEXT "Terminal arguments parsing"
Arguments::Arguments(int defaultArgsNum, const char * const *defaultArgs) Arguments::Arguments(int defaultArgsNum, const char * const *defaultArgs)
+2 -2
View File
@@ -26,8 +26,8 @@ const uint32 MSG_FIND_HIDE = 'Fhid';
const uint32 TOGGLE_FIND_CONTROL = 'MTFG'; const uint32 TOGGLE_FIND_CONTROL = 'MTFG';
const BRect kWindowFrame(10, 30, 250, 200); const BRect kWindowFrame(10, 30, 250, 200);
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal FindWindow" #define B_TRANSLATE_CONTEXT "Terminal FindWindow"
FindWindow::FindWindow(BMessenger messenger, const BString& str, FindWindow::FindWindow(BMessenger messenger, const BString& str,
bool findSelection, bool matchWord, bool matchCase, bool forwardSearch) bool findSelection, bool matchWord, bool matchCase, bool forwardSearch)
+4 -4
View File
@@ -241,8 +241,8 @@ PrefHandler::getFloat(const char *key)
return atof(value); return atof(value);
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal getString" #define B_TRANSLATE_CONTEXT "Terminal getString"
const char* const char*
PrefHandler::getString(const char *key) PrefHandler::getString(const char *key)
@@ -267,8 +267,8 @@ PrefHandler::getBool(const char *key)
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal getRGB" #define B_TRANSLATE_CONTEXT "Terminal getRGB"
/** Returns RGB data from given key. */ /** Returns RGB data from given key. */
+2 -2
View File
@@ -23,8 +23,8 @@
#include <stdio.h> #include <stdio.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal PrefWindow" #define B_TRANSLATE_CONTEXT "Terminal PrefWindow"
PrefWindow::PrefWindow(const BMessenger &messenger) PrefWindow::PrefWindow(const BMessenger &messenger)
: BWindow(BRect(0, 0, 375, 185), B_TRANSLATE("Terminal settings"), : BWindow(BRect(0, 0, 375, 185), B_TRANSLATE("Terminal settings"),
+2 -2
View File
@@ -318,8 +318,8 @@ initialize_termios(struct termios &tio)
tio.c_cc[VSUSP] = CSUSP; /* '^Z' */ tio.c_cc[VSUSP] = CSUSP; /* '^Z' */
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal Shell" #define B_TRANSLATE_CONTEXT "Terminal Shell"
status_t status_t
Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **argv) Shell::_Spawn(int row, int col, const char *encoding, int argc, const char **argv)
+2 -2
View File
@@ -62,8 +62,8 @@ SmartTabView::SetInsets(float left, float top, float right, float bottom)
fInsets.bottom = bottom; fInsets.bottom = bottom;
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal SmartTabView" #define B_TRANSLATE_CONTEXT "Terminal SmartTabView"
void void
SmartTabView::MouseDown(BPoint point) SmartTabView::MouseDown(BPoint point)
+2 -2
View File
@@ -53,8 +53,8 @@ main()
return 0; return 0;
} }
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal TermApp" #define B_TRANSLATE_CONTEXT "Terminal TermApp"
TermApp::TermApp() TermApp::TermApp()
: BApplication(TERM_SIGNATURE), : BApplication(TERM_SIGNATURE),
+2 -2
View File
@@ -83,8 +83,8 @@ enum {
SELECT_LINES SELECT_LINES
}; };
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal TermView" #define B_TRANSLATE_CONTEXT "Terminal TermView"
static property_info sPropList[] = { static property_info sPropList[] = {
{ "encoding", { "encoding",
+2 -2
View File
@@ -54,8 +54,8 @@ const static uint32 kIncreaseFontSize = 'InFs';
const static uint32 kDecreaseFontSize = 'DcFs'; const static uint32 kDecreaseFontSize = 'DcFs';
const static uint32 kSetActiveTab = 'STab'; const static uint32 kSetActiveTab = 'STab';
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Terminal TermWindow" #define B_TRANSLATE_CONTEXT "Terminal TermWindow"
class CustomTermView : public TermView { class CustomTermView : public TermView {
public: public:
+2 -2
View File
@@ -33,8 +33,8 @@ using BPrivate::LocaleBackend;
#include <binary_compatibility/Interface.h> #include <binary_compatibility/Interface.h>
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "ColorControl" #define B_TRANSLATE_CONTEXT "ColorControl"
static const uint32 kMsgColorEntered = 'ccol'; static const uint32 kMsgColorEntered = 'ccol';
static const uint32 kMinCellSize = 6; static const uint32 kMinCellSize = 6;
+2 -2
View File
@@ -29,8 +29,8 @@
#include "ColorSet.h" #include "ColorSet.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Colors tab" #define B_TRANSLATE_CONTEXT "Colors tab"
#define COLOR_DROPPED 'cldp' #define COLOR_DROPPED 'cldp'
#define DECORATOR_CHANGED 'dcch' #define DECORATOR_CHANGED 'dcch'
+2 -2
View File
@@ -18,8 +18,8 @@
#include "APRView.h" #include "APRView.h"
#include "defs.h" #include "defs.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "APRWindow" #define B_TRANSLATE_CONTEXT "APRWindow"
static const uint32 kMsgSetDefaults = 'dflt'; static const uint32 kMsgSetDefaults = 'dflt';
static const uint32 kMsgRevert = 'rvrt'; static const uint32 kMsgRevert = 'rvrt';
@@ -27,8 +27,8 @@
#include "APRWindow.h" #include "APRWindow.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "AntialiasingSettingsView" #define B_TRANSLATE_CONTEXT "AntialiasingSettingsView"
//#define DISABLE_HINTING_CONTROL //#define DISABLE_HINTING_CONTROL
+2 -2
View File
@@ -19,8 +19,8 @@
#include <String.h> #include <String.h>
#include "ColorSet.h" #include "ColorSet.h"
#undef TR_CONTEXT #undef B_TRANSLATE_CONTEXT
#define TR_CONTEXT "Colors tab" #define B_TRANSLATE_CONTEXT "Colors tab"
static ColorDescription sColorDescriptionTable[] = static ColorDescription sColorDescriptionTable[] =
{ {
+1 -1
View File
@@ -18,7 +18,7 @@
#include "BackgroundsView.h" #include "BackgroundsView.h"
#define TR_CONTEXT "Main Window" #define B_TRANSLATE_CONTEXT "Main Window"
static const char* kSignature = "application/x-vnd.Haiku-Backgrounds"; static const char* kSignature = "application/x-vnd.Haiku-Backgrounds";
@@ -32,7 +32,7 @@
#include "ImageFilePanel.h" #include "ImageFilePanel.h"
#define TR_CONTEXT "Main View" #define B_TRANSLATE_CONTEXT "Main View"
static const uint32 kMsgApplySettings = 'aply'; static const uint32 kMsgApplySettings = 'aply';
@@ -19,7 +19,7 @@
#include <Window.h> #include <Window.h>
#define TR_CONTEXT "Image Filepanel" #define B_TRANSLATE_CONTEXT "Image Filepanel"
ImageFilePanel::ImageFilePanel(file_panel_mode mode, BMessenger* target, ImageFilePanel::ImageFilePanel(file_panel_mode mode, BMessenger* target,
@@ -18,7 +18,7 @@
#include <TextView.h> #include <TextView.h>
#define TR_CONTEXT "Device View" #define B_TRANSLATE_CONTEXT "Device View"
BluetoothDeviceView::BluetoothDeviceView(BRect frame, BluetoothDevice* bDevice, BluetoothDeviceView::BluetoothDeviceView(BRect frame, BluetoothDevice* bDevice,
uint32 resizingMode, uint32 flags) uint32 resizingMode, uint32 flags)
+1 -1
View File
@@ -15,7 +15,7 @@
#include "defs.h" #include "defs.h"
#define TR_CONTEXT "main" #define B_TRANSLATE_CONTEXT "main"
BluetoothApplication::BluetoothApplication(void) BluetoothApplication::BluetoothApplication(void)
: BApplication(BLUETOOTH_APP_SIGNATURE) : BApplication(BLUETOOTH_APP_SIGNATURE)
@@ -26,7 +26,7 @@
#include "defs.h" #include "defs.h"
#include "BluetoothWindow.h" #include "BluetoothWindow.h"
#define TR_CONTEXT "Settings view" #define B_TRANSLATE_CONTEXT "Settings view"
static const int32 kMsgSetAntialiasing = 'anti'; static const int32 kMsgSetAntialiasing = 'anti';
static const int32 kMsgSetDeviceClassDesktop = 'sDCd'; static const int32 kMsgSetDeviceClassDesktop = 'sDCd';
@@ -20,7 +20,7 @@
#include "defs.h" #include "defs.h"
#define TR_CONTEXT "Window" #define B_TRANSLATE_CONTEXT "Window"
static const uint32 kMsgSetDefaults = 'dflt'; static const uint32 kMsgSetDefaults = 'dflt';
static const uint32 kMsgRevert = 'rvrt'; static const uint32 kMsgRevert = 'rvrt';
@@ -16,7 +16,7 @@
#include <SpaceLayoutItem.h> #include <SpaceLayoutItem.h>
#include <StringView.h> #include <StringView.h>
#define TR_CONTEXT "Extended local device view" #define B_TRANSLATE_CONTEXT "Extended local device view"
ExtendedLocalDeviceView::ExtendedLocalDeviceView(BRect frame, ExtendedLocalDeviceView::ExtendedLocalDeviceView(BRect frame,
LocalDevice* bDevice, uint32 resizingMode, uint32 flags) LocalDevice* bDevice, uint32 resizingMode, uint32 flags)
+1 -1
View File
@@ -26,7 +26,7 @@
#include "DeviceListItem.h" #include "DeviceListItem.h"
#include "InquiryPanel.h" #include "InquiryPanel.h"
#define TR_CONTEXT "Inquiry panel" #define B_TRANSLATE_CONTEXT "Inquiry panel"
using Bluetooth::DeviceListItem; using Bluetooth::DeviceListItem;
@@ -26,7 +26,7 @@
#include "InquiryPanel.h" #include "InquiryPanel.h"
#include "RemoteDevicesView.h" #include "RemoteDevicesView.h"
#define TR_CONTEXT "Remote devices" #define B_TRANSLATE_CONTEXT "Remote devices"
static const uint32 kMsgAddDevices = 'ddDv'; static const uint32 kMsgAddDevices = 'ddDv';
static const uint32 kMsgRemoveDevice = 'rmDv'; static const uint32 kMsgRemoveDevice = 'rmDv';
@@ -18,7 +18,7 @@
#include <MenuField.h> #include <MenuField.h>
#include <SpaceLayoutItem.h> #include <SpaceLayoutItem.h>
#define TR_CONTEXT "CPU Frequency View" #define B_TRANSLATE_CONTEXT "CPU Frequency View"
const char* kCPUFreqPreferencesFile = "CPUFrequency"; const char* kCPUFreqPreferencesFile = "CPUFrequency";
const char* kPrefSignature = "application/x-vnd.Haiku-CPUFrequencyPref"; const char* kPrefSignature = "application/x-vnd.Haiku-CPUFrequencyPref";

Some files were not shown because too many files have changed in this diff Show More