History log of /haiku/src/apps/cortex/InfoView/EndPointInfoView.cpp
Revision Date Author Comments
# bf6a2a2b 14-Jun-2021 Niels Sascha Reedijk <niels.reedijk@gmail.com>

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 <niels.reedijk@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 27188e21 12-Apr-2021 Humdinger <humdingerb@gmail.com>

Cortex: avoid duplicated translation efforts

Many translatable strings are used in both classes.
Use same B_TRANSLATION_CONTEXT to avoid duplicated
translation efforts.

Change-Id: I514a380de4ac8d414634555c25b90650f370a2cb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3865
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 2cba2d56 04-Jan-2013 Dancsó Róbert <dancso.robert@d-rendszer.hu>

Added localization support for Cortex app.

* Fixes #7530.

Change-Id: I238c4c8fe32b181a8e1a4bd688bcbe9f3a87f79f
Signed-off-by: Kacper Kasper <kacperkasper@gmail.com>
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3169
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# c284bb0f 14-Aug-2011 Matt Madia <mattmadia@gmail.com>

Moved Cortex license file into each of its source files. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42634 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7974d3dc 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a0795c6f 08-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

imported Cortex 2.1.2 source


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16643 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c284bb0ff659027e777dbbb8eae4fb3cf1cb335f 14-Aug-2011 Matt Madia <mattmadia@gmail.com>

Moved Cortex license file into each of its source files. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42634 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7974d3dcf39ce78e5885b481eee12e561ad6e096 13-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Patch by Humdinger:
Updated Haiku apps to use sentence-case. What a huge undertaking...
The files where I had to apply the patch manually (for mysterious
reasons) have also gotten a whitespace cleanup. I've proof-read
everything so hopefully there should be no problems.

This should be the final part of #5169.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a0795c6fe30e25338049a952326c61deb7a343b6 08-Mar-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

imported Cortex 2.1.2 source


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16643 a95241bf-73f2-0310-859d-f6bbb57e9c96