Localization changes. Stop using AddCatalogEntryAttribute rule in Jamfiles.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40945 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
2e7a9f2783
commit
47798a10f7
@ -11,6 +11,12 @@ Application 3DMov :
|
||||
ViewCube.cpp
|
||||
ViewSphere.cpp
|
||||
GLUtility.cpp
|
||||
: be GL game media translation $(TARGET_LIBSUPC++)
|
||||
: be GL game $(HAIKU_LOCALE_LIBS) media translation $(TARGET_LIBSUPC++)
|
||||
: 3dmov.rdef
|
||||
;
|
||||
|
||||
DoCatalogs 3DMov :
|
||||
x-vnd.Haiku-3DMov
|
||||
:
|
||||
MainWindow.cpp
|
||||
;
|
||||
|
@ -9,8 +9,9 @@
|
||||
On Zeta, both AddChild(new BGLView) and new MainWindow work without any problems.
|
||||
*/
|
||||
|
||||
#include <InterfaceKit.h>
|
||||
#include <Catalog.h>
|
||||
#include <GLView.h>
|
||||
#include <InterfaceKit.h>
|
||||
#include <Messenger.h>
|
||||
|
||||
#include "MainWindow.h"
|
||||
@ -51,7 +52,8 @@ static int sMainWindowCount = 0; // keep track of number of spawned windows
|
||||
DESCRIPTION: Constructor
|
||||
*/
|
||||
MainWindow :: MainWindow(BRect frame, SHAPE shape)
|
||||
: BDirectWindow(frame, "3Dmov", B_TITLED_WINDOW, 0)
|
||||
:
|
||||
BDirectWindow(frame, B_TRANSLATE_APP_NAME("3DMov"), B_TITLED_WINDOW, 0)
|
||||
{
|
||||
sMainWindowCount++;
|
||||
|
||||
|
@ -349,6 +349,8 @@ private:
|
||||
AboutApp::AboutApp()
|
||||
: BApplication("application/x-vnd.Haiku-About")
|
||||
{
|
||||
B_TRANSLATE_MARK_APP_NAME("AboutSystem");
|
||||
|
||||
AboutWindow *window = new(std::nothrow) AboutWindow();
|
||||
if (window)
|
||||
window->Show();
|
||||
|
@ -17,8 +17,3 @@ DoCatalogs AboutSystem :
|
||||
AboutSystem.cpp
|
||||
Utilities.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute AboutSystem
|
||||
:
|
||||
"x-vnd.Haiku-About:AboutWindow:About this system"
|
||||
;
|
||||
|
@ -64,7 +64,7 @@ ActivityMonitor::ShowAbout()
|
||||
NULL
|
||||
};
|
||||
|
||||
BAboutWindow aboutWindow(kAppName, 2008, kAuthors);
|
||||
BAboutWindow aboutWindow(B_TRANSLATE_APP_NAME("ActivityMonitor"), 2008, kAuthors);
|
||||
aboutWindow.Show();
|
||||
}
|
||||
|
||||
|
@ -15,8 +15,6 @@ class ActivityWindow;
|
||||
#undef B_TRANSLATE_CONTEXT
|
||||
#define B_TRANSLATE_CONTEXT "ActivityWindow"
|
||||
|
||||
static const char* kAppName = B_TRANSLATE_MARK("ActivityMonitor");
|
||||
|
||||
|
||||
class ActivityMonitor : public BApplication {
|
||||
public:
|
||||
|
@ -34,8 +34,9 @@ static const uint32 kMsgShowSettings = 'shst';
|
||||
|
||||
|
||||
ActivityWindow::ActivityWindow()
|
||||
: BWindow(BRect(100, 100, 500, 350), kAppName, B_TITLED_WINDOW,
|
||||
B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE)
|
||||
:
|
||||
BWindow(BRect(100, 100, 500, 350), B_TRANSLATE_APP_NAME("ActivityMonitor"),
|
||||
B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_QUIT_ON_WINDOW_CLOSE)
|
||||
{
|
||||
BMessage settings;
|
||||
_LoadSettings(settings);
|
||||
|
@ -24,8 +24,3 @@ DoCatalogs ActivityMonitor :
|
||||
DataSource.cpp
|
||||
SettingsWindow.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute ActivityMonitor
|
||||
:
|
||||
"x-vnd.Haiku-ActivityMonitor:ActivityWindow:ActivityMonitor"
|
||||
;
|
||||
|
@ -28,9 +28,9 @@
|
||||
|
||||
BootManagerWindow::BootManagerWindow()
|
||||
:
|
||||
BWindow(BRect(100, 100, 500, 400), B_TRANSLATE_COMMENT("BootManager",
|
||||
"Window Title"), B_TITLED_WINDOW,
|
||||
B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS)
|
||||
BWindow(BRect(100, 100, 500, 400), B_TRANSLATE_APP_NAME("BootManager"),
|
||||
B_TITLED_WINDOW, B_ASYNCHRONOUS_CONTROLS | B_NOT_ZOOMABLE
|
||||
| B_AUTO_UPDATE_SIZE_LIMITS)
|
||||
{
|
||||
float minWidth, maxWidth, minHeight, maxHeight;
|
||||
GetSizeLimits(&minWidth, &maxWidth, &minHeight, &maxHeight);
|
||||
|
@ -28,11 +28,6 @@ Application BootManager :
|
||||
|
||||
DoCatalogs BootManager : x-vnd.Haiku-BootManager : $(cataloguedSources) ;
|
||||
|
||||
AddCatalogEntryAttribute BootManager
|
||||
:
|
||||
"x-vnd.Haiku-BootManager:BootManagerWindow:BootManager"
|
||||
;
|
||||
|
||||
# Assemble the boot loader, and convert it into a header file
|
||||
|
||||
# TODO: should be merged with the AssembleNasm rule
|
||||
|
@ -22,8 +22,3 @@ DoCatalogs CDPlayer :
|
||||
:
|
||||
CDPlayer.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute CDPlayer
|
||||
:
|
||||
"x-vnd.Haiku-CDPlayer:CDPlayer:CDPlayer"
|
||||
;
|
||||
|
@ -22,8 +22,3 @@ DoCatalogs CharacterMap :
|
||||
CharacterWindow.cpp
|
||||
UnicodeBlocks.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute CharacterMap
|
||||
:
|
||||
"x-vnd.Haiku-CharacterMap:CharacterWindow:CharacterMap"
|
||||
;
|
||||
|
@ -26,8 +26,3 @@ DoCatalogs CodyCam :
|
||||
SftpClient.cpp
|
||||
VideoConsumer.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute CodyCam
|
||||
:
|
||||
"x-vnd.Haiku.CodyCam:CodyCam:CodyCam"
|
||||
;
|
||||
|
@ -40,7 +40,7 @@ Application Deskbar :
|
||||
Switcher.cpp
|
||||
$(targetSource)
|
||||
: be $(HAIKU_LOCALE_LIBS) tracker $(targetLib) $(TARGET_LIBSUPC++)
|
||||
;
|
||||
;
|
||||
|
||||
DoCatalogs Deskbar :
|
||||
x-vnd.Be-TSKB
|
||||
@ -51,9 +51,4 @@ DoCatalogs Deskbar :
|
||||
StatusView.cpp
|
||||
TimeView.cpp
|
||||
WindowMenu.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute Deskbar
|
||||
:
|
||||
"x-vnd.Be-TSKB:MainWindow:Deskbar"
|
||||
;
|
||||
|
@ -88,11 +88,6 @@ DoCatalogs Devices :
|
||||
Device.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute Devices
|
||||
:
|
||||
"x-vnd.Haiku-Devices:DevicesApplication:Devices"
|
||||
;
|
||||
|
||||
Includes [ FGristFiles DevicesInfo.cpp ] : [ FGristFiles isapnpids.h usbdevs.h
|
||||
usbdevs_data.h ] ;
|
||||
Includes [ FGristFiles ConfigurationWindow.cpp ] : [ FGristFiles pcihdr.h ] ;
|
||||
|
@ -31,8 +31,3 @@ DoCatalogs DiskProbe :
|
||||
ProbeView.cpp
|
||||
TypeEditors.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute DiskProbe
|
||||
:
|
||||
"x-vnd.Haiku-DiskProbe:OpenWindow:DiskProbe"
|
||||
;
|
||||
|
@ -35,8 +35,3 @@ DoCatalogs ProcessController :
|
||||
PriorityMenu.cpp
|
||||
ProcessController.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute ProcessController
|
||||
:
|
||||
x-vnd.Haiku-ProcessController:PCWindow:ProcessController
|
||||
;
|
||||
|
@ -40,9 +40,3 @@ DoCatalogs Pulse :
|
||||
PrefsWindow.cpp
|
||||
PulseWindow.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute Pulse
|
||||
:
|
||||
x-vnd.Haiku-Pulse:PulseWindow:Pulse
|
||||
;
|
||||
|
||||
|
@ -24,8 +24,3 @@ DoCatalogs Sudoku :
|
||||
SudokuGenerator.cpp
|
||||
SudokuWindow.cpp
|
||||
;
|
||||
|
||||
AddCatalogEntryAttribute Sudoku
|
||||
:
|
||||
x-vnd.Haiku-Sudoku:SudokuWindow:Sudoku
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user