HomeClusterLabs Projects

Fix: libcrmcommon: fix NLS issues with option meta-data

Description

Fix: libcrmcommon: fix NLS issues with option meta-data

Functionize adding a longdesc or shortdesc element to option meta-data,
to fix some Native Language Support issues:

  • The OCF standard requires that all longdesc elements be listed before all shortdesc elements (previously the "en" longdesc and shortdesc were listed, followed by the translated longdesc and shortdesc)
  • Display the localized description only if a translation is available (i.e. the result is different from the "en" version)
  • If the parameter has enumerated values, the "Allowed values:" string would previously not be translated

Details

Provenance
kgaillotAuthored on Apr 7 2022, 5:17 PM
Parents
rP844c3972ea50: Merge pull request #2672 from kgaillot/T24
Branches
Unknown
Tags
Unknown