[haiku-bugs] Re: [Haiku] #6318: Fixing listport output and changing it to a localized BApplication
- From: "axeld" <trac@xxxxxxxxxxxx>
- Date: Fri, 16 Jul 2010 11:30:54 -0000
#6318: Fixing listport output and changing it to a localized BApplication
--------------------------+-------------------------------------------------
Reporter: Karvjorm | Owner: pulkomandy
Type: enhancement | Status: assigned
Priority: normal | Milestone: R1
Component: - General | Version: R1/alpha2
Resolution: | Keywords: listport localization
Blocked By: | Has a Patch: 1
Platform: All | Blocking:
--------------------------+-------------------------------------------------
Comment (by axeld):
First of all, thanks for your thorough reply!
Replying to [comment:5 Karvjorm]:
> Replying to [comment:4 axeld]:
> > I'm against applying this patch for the following reasons:
> > * listport is a very simple command, there is no reason to move it
into its own subdirectory
> There are also some other commands with subdirectories, as ideinfo,
listdev and playsound.
Usually because they need some special private headers. In general,
though, localization is not a good reason to them into a separate
directory, because then all command line tools would need to be in one.
Instead, we should develop a way to simplify mass localization of the
command line tools in the "bin" directory using some additional Jam magic.
Of course, this should be done as the first step to localize the command
line apps.
Aren't there any GUI apps to be localized first? ;-)
Anyway, your persistence and motivation to work on localization is very
much appreciated, please don't get me wrong.
> One advantage with a subdirectory is that you can include also a
resource file with app_flags. Before defining application as a
B_BACKGROUND_APP (or whatever it was) the new BApplication application
popped up in the deskbar once during each run and then disappeared
immediately.
As you already write, this issue has been fixed long ago :-)
> > * it's called "listport", not ListPort, so the source file should
match
> That's right, but you can easily fix this by changing "Application
listport" and "DoCatalogs listport" to Jamfile. I used this form to be
sure that the applications do not be mixed during he "evaluation period".
Not sure what you mean by that.
> Command line applications are localized in Linux and I like it. You can
easily change locale settings to English, if you want to use English
command line commands.
Same for the other direction :-)
Having english command line tools by default has the added advantage that
when you share stuff with others (be it in a bug tracker, or a forum)
everything will use the same language. It also helps with writing scripts.
> Here is an example of the old output
[...]
Thanks! Having a separate patch for the output improvement would be nice,
as this patch could be applied without further ado.
--
Ticket URL: <http://dev.haiku-os.org/ticket/6318#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
Other related posts: