FIX: fix the config parse error for some language
JIRA: github-2568 Change-Id: Idd1ccb118dde4d0fe663ee4d1e4426c0e504ff1e
This commit is contained in:
parent
8862ad00dc
commit
38b86616ce
|
@ -2949,6 +2949,7 @@ void PresetBundle::load_config_file_config(const std::string &name_or_path, bool
|
||||||
std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_vendor_configs_from_json(
|
std::pair<PresetsConfigSubstitutions, size_t> PresetBundle::load_vendor_configs_from_json(
|
||||||
const std::string &path, const std::string &vendor_name, LoadConfigBundleAttributes flags, ForwardCompatibilitySubstitutionRule compatibility_rule)
|
const std::string &path, const std::string &vendor_name, LoadConfigBundleAttributes flags, ForwardCompatibilitySubstitutionRule compatibility_rule)
|
||||||
{
|
{
|
||||||
|
CNumericLocalesSetter locales_setter;
|
||||||
// Enable substitutions for user config bundle, throw an exception when loading a system profile.
|
// Enable substitutions for user config bundle, throw an exception when loading a system profile.
|
||||||
ConfigSubstitutionContext substitution_context { compatibility_rule };
|
ConfigSubstitutionContext substitution_context { compatibility_rule };
|
||||||
PresetsConfigSubstitutions substitutions;
|
PresetsConfigSubstitutions substitutions;
|
||||||
|
|
Loading…
Reference in New Issue