Yann POUPET
2006-Oct-25  23:01 UTC
[zfs-discuss] Help message translation quiete strange (nv 50)
Hello,
just installed build 50, and typed ''zfs'' in a shell.
I got the help message, and was surprised with it :
--------------------
bash-3.00# zfs
commande manquante
syntaxe : zfs command args ...
o? ''command'' est l''une des possibilit?s suivantes :
        create [[-o property=value] ... ] <filesystem>
        create [-s] [-b blocksize] [[-o property=value] ...]
            -V <size> <volume>
        d?truire [-rRf] <syst?me_de_fichiers|volume|instantan?>
        snapshot [-r] <filesystem at name|volume at name>
        restaurer [-rRf] <instantan?>
        cloner <instantan?> <syst?me_de_fichiers|volume>
        promote <clone filesystem>
        renommer <syst?me_de_fichiers|volume|instantan?>
<syst?me_de_fichiers|volume|instantan?>
[snip] ...
---------------------
My locales are french
bash-3.00# env | grep -i fr
LC_MESSAGES=fr
LC_MONETARY=fr_FR.ISO8859-15
LC_NUMERIC=fr_FR.ISO8859-15
LC_COLLATE=fr_FR.ISO8859-15
LC_CTYPE=fr_FR.ISO8859-1
The english corresponding message:
---------------------
bash-3.00# export LC_MESSAGES=en
bash-3.00# zfs
missing command
usage: zfs command args ...
where ''command'' is one of the following:
        create [[-o property=value] ... ] <filesystem>
        create [-s] [-b blocksize] [[-o property=value] ...]
            -V <size> <volume>
        destroy [-rRf] <filesystem|volume|snapshot>
        snapshot [-r] <filesystem at name|volume at name>
        rollback [-rRf] <snapshot>
        clone <snapshot> <filesystem|volume>
        promote <clone filesystem>
        rename <filesystem|volume|snapshot>
<filesystem|volume|snapshot>
[snip]...
----------------------------------------
The problem is, the "command" arguments have been translated, and the
help message says that to destroy, I should type ''zfs d?truire
...'' , which, of course, will not work.
[maybe an i18n problem, but not sure. And since it''s ZFS related, I
post here. I haven''t been able to figure out quickly if only zfs cmd is
affected ]
Cheers
Yann
 
 
This message posted from opensolaris.org
