fallback regarding missing translation in -h option
Hi,
My system is:
OS: Debian GNU/Linux bookworm/sid Package version: 43.0-1
There is a discrepancy of the '-h' output regarding the current locale:
$ gnome-session-inhibit -h ; LANG=C gnome-session-inhibit -h
gnome-session-inhibit [OPTION…] COMMANDE
Exécute COMMANDE tout en inhibant certaines fonctionnalités de la session.
-h, --help Afficher cette aide
--version Afficher la version du programme
--app-id ID L’identifiant d’application à utiliser
lors de l’inhibition (optionnel)
--reason RAISON La raison de l’inhibition (optionnel)
--inhibit ARG Les choses à inhiber, liste séparée par des deux-points, parmi :
logout, switch-user, suspend, idle, automount
--inhibit-only Ne pas lancer COMMANDE et attendre indéfiniment à la place
Si l’option --inhibit n’est pas précisée, « idle » est présumé.
gnome-session-inhibit [OPTION?] COMMAND
Execute COMMAND while inhibiting some session functionality.
-h, --help Show this help
--version Show program version
--app-id ID The application id to use
when inhibiting (optional)
--reason REASON The reason for inhibiting (optional)
--inhibit ARG Things to inhibit, colon-separated list of:
logout, switch-user, suspend, idle, automount
--inhibit-only Do not launch COMMAND and wait forever instead
-l, --list List the existing inhibitions, and exit
If no --inhibit option is specified, idle is assumed.
The '-l, --list' entry is missing in the first case. Could we have at least the (LANG=C) message if there is no (LANG=fr) one?
That the first GNOME command I am observing this. But may be other tools in this case also?
Thanks, Patrice
Edited by Patrice Duroux