I’ve discovered than the Screenshot app located in “/boot/system/apps/Screenshot” is available in the tracker as “Capture d’écran” in French for this location.
But the menu “/boot/system/data/deskbar/menu/Applications/” didn’t contain a link to this app.
Is it wanted ?
Additiional question : how the system convert the English name “Screenshot” to “Capture d’écran” ?
Yes, you trigger it either using the “screenshot” command line tool (note the lower case) or the Print Screen button. There is no reason to clutter the DeskBar with it. There are a few other apps in this case.
Like any other translations. It is in the “catalog” of strings for the application, with a special marker indicating that this string is the application name. Then the OS can load the catalog and get the translated name. If you don’t like it you can disable it in Locale preferences (first thing I do in any new Haiku install).
Look at the B_TRANSLATE_SYSTEM_NAME macro for implementation details
I am confused, I always use Screenshot (upper case) on the commandline. Why does this exist twice? screenshot does not appear to “just” be a link but it’s own ELF file.
screenshot -s is a nice shortcut when we need to redefine the print screen key
screenshot -h
Screenshot [OPTIONS] [FILE] Creates a bitmap of the current screen
FILE is the optional output path / filename used in silent mode. An exisiting
file with the same name will be overwritten without warning. If FILE is not
given the screenshot will be saved to a file with the default filename in the
user's home directory.
OPTIONS
-m, --mouse-pointer Include the mouse pointer
-b, --border Include the window border
-w, --window Capture the active window instead of the entire screen
-d, --delay=seconds Take screenshot after the specified delay [in seconds]
-s, --silent Saves the screenshot without showing the application
window
-f, --format=image Give the image format you like to save as
[bmp], [gif], [jpg], [png], [ppm], [tga], [tif]
-c, --clipboard Copies the screenshot to the system clipboard without
showing the application window
Note: OPTION -b, --border takes only effect when used with -w, --window
Same for Screenshot -s, but the Screenshot -h is not recognized