[haiku-commits] Re: r40811 - in haiku/trunk/src/apps: aboutsystem activitymonitor bootmanager cdplayer charactermap ...

  • From: "Jonas Sundström" <jonas@xxxxxxxxxxx>
  • To: "haiku-commits@xxxxxxxxxxxxx" <haiku-commits@xxxxxxxxxxxxx>
  • Date: Sun, 29 May 2011 12:02:13 +0000

François Revol <revol@xxxxxxx> wrote:
>
> Le 28 mai 2011 à 22:46, Siarzhuk Zharski a écrit :
>
> > Am 05.03.2011 23:51, schrieb Jonas Sundström:
> >>
> >>> Doesn't this create problems with scripting?
> >> I assume it does, since there is no internal name, separate from
> > > the
> >> window title.
> >
> > It does. KeymapSwitcher is useless now in case the Deskbar system
> > name is localized. :-[  By the way - is that "Deskbar" window title is
visible at all? Usually there are no reasons to localize invisible
things. ;-)
>
> Don't think so, it doesn't have a tab, and it doesn't show up in
> Twitcher, right ?

In Deskbar's special case it would be possible to replace the
B_TRANSLATE_SYSTEM_NAME("Deskbar") argument to the TBarWindow
constructor with the plain "Deskbar" argument, and instead add
a B_TRANSLATE_MARK_... in the method, for just the catkey collection.

(One might also want to verify that the "Deskbar preferences..."
leaf menu item and it's window picks up Deskbar's system name.
And that the separate Deskbar preference launcher app's name is
in sync with that of Deskbar itself, for each language.)

> Maybe we should add a Messenger() method to BDeskbar ?

Or something in BRoster?

/Jonas


Other related posts: