Files
haiku-beta6/src/apps/cortex/RouteApp/Jamfile
T
Niels Sascha Reedijk bf6a2a2bf1 Cortex: fix the catalog location of the main application
Previously, hrev55011 introduced localization for Cortex, which then
prompted to close #7530. It has then been reopened, when it turns out
that the translations for the container application (RouteApp) did not
work, whereas the individual add-ons/modules were translated.

The cause is that by default BCatalog looks up the translations based on
the subtype part of the signature. This is x-vnd.Cortex.Route (without
the application/ supertype). This change will place the translations in
the right place of the file system.

The add-ons were never affected, since they BCatalog is explicitly told
to find the translations for the entire signature, like:

static BCatalog sCatalog("application/x-vnd.Cortex.InfoView");

Even so, it was chosen to omit the `application` supertype from the
signature for the shared code as well.

This should fix #7530 for good.

Change-Id: Iff18fabef7aba68602e49db1e98cfed2f486f545
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4091
Reviewed-by: Niels Sascha Reedijk <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2021-06-17 10:59:18 +00:00

54 lines
1.5 KiB
Plaintext

SubDir HAIKU_TOP src apps cortex RouteApp ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) DiagramView ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) DormantNodeView ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) InfoView ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) NodeManager ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) MediaRoutingView ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) Persistence ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) Persistence Wrappers ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ParameterView ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) TipManager ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) TransportView ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) ValControl ] ;
SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) support ] ;
SubDirCcFlags -DCORTEX_NAMESPACE=cortex ;
Application Cortex :
ConnectionIO.cpp
DormantNodeIO.cpp
LiveNodeIO.cpp
NodeSetIOContext.cpp
RouteApp.cpp
RouteAppNodeManager.cpp
RouteWindow.cpp
route_app_io.cpp
StatusView.cpp
:
cortex_dormant_node_view.a
cortex_info_view.a
cortex_media_routing_view.a
cortex_node_manager.a
cortex_parameter_view.a
cortex_persistence.a
cortex_persistence_wrappers.a
cortex_tip_manager.a
cortex_transport_view.a
cortex_val_control.a
cortex_diagram_view.a
cortex_support.a
be localestub media tracker translation
[ BuildFeatureAttribute expat : library ]
[ TargetLibstdc++ ]
: ../Resource.rdef
;
DoCatalogs Cortex :
x-vnd.Cortex.Route
:
RouteAppNodeManager.cpp
RouteWindow.cpp
;