• D
    remote: stop trying to print help as giant blocks of text · d5f0c1b6
    Daniel P. Berrangé 提交于
    The remote daemon tries to print out its help text in a couple of giant
    blocks of text. This has already lead to duplication of the text for the
    privileged vs unprivileged execution mode. With the introduction of more
    daemons, this text is going to be duplicated many more times with small
    variations. This is very unfriendly to translators as they have to
    translate approximately the same text many times with small tweaks.
    
    Splitting the text up into individual strings to print means that each
    piece will only need translating once. It also gets rid of all the
    layout information from the translated strings, so avoids the problem of
    translators breaking formatting by mistake.
    Reviewed-by: NChristophe de Dinechin <dinechin@redhat.com>
    Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
    Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
    d5f0c1b6
remote_daemon.c 43.8 KB