diff --git a/hb_internal/preloader/parse_lite_subsystems_config.py b/hb_internal/preloader/parse_lite_subsystems_config.py index cdf1618..3fa8c87 100644 --- a/hb_internal/preloader/parse_lite_subsystems_config.py +++ b/hb_internal/preloader/parse_lite_subsystems_config.py @@ -20,9 +20,9 @@ from hb_internal.common.utils import read_json_file def _read_lite_component_configs(file): - subsytem_name = os.path.basename(file)[:-5] + subsystem_name = os.path.basename(file)[:-5] configs = {} - configs['subsystem_name'] = subsytem_name + configs['subsystem_name'] = subsystem_name with open(file, 'rb') as fin: data = json.load(fin) components = data.get('components') diff --git a/hb_internal/preloader/preloader.py b/hb_internal/preloader/preloader.py index 42e7ec2..fbc05dd 100755 --- a/hb_internal/preloader/preloader.py +++ b/hb_internal/preloader/preloader.py @@ -71,7 +71,7 @@ def _output_gnargs_prop(all_features, output_file): fobj.write('\n'.join(features_list)) -def _get_org_subsytem_info(subsystem_config_file, os_level, config_dirs): +def _get_org_subsystem_info(subsystem_config_file, os_level, config_dirs): subsystem_info = {} if os_level == "standard": subsystem_info = read_json_file(subsystem_config_file) @@ -86,7 +86,7 @@ def _get_org_subsytem_info(subsystem_config_file, os_level, config_dirs): def _merge_subsystem_config(product, device, config_dirs, os_level, output_file): - subsystem_info = _get_org_subsytem_info(config_dirs.subsystem_config_json, + subsystem_info = _get_org_subsystem_info(config_dirs.subsystem_config_json, os_level, config_dirs) if subsystem_info: subsystem_info.update(product.get_product_specific_subsystem()) @@ -332,7 +332,7 @@ class MyProduct(): def _parse_config_v2p(self, config, version): self._sanitize(config) - # 1. inherit parts infomation from base config + # 1. inherit parts information from base config if version == "2.0": os_level = config.get("type", "standard") else: diff --git a/ndk/doc/config/Doxyfile_C b/ndk/doc/config/Doxyfile_C index c3abd30..deffccf 100755 --- a/ndk/doc/config/Doxyfile_C +++ b/ndk/doc/config/Doxyfile_C @@ -47,7 +47,7 @@ DOXYFILE_ENCODING = UTF-8 # title of most generated pages and in a few other places. # The default value is: My Project. -PROJECT_NAME = "HarmonyOS" +PROJECT_NAME = "OpenHarmony" # The PROJECT_NUMBER tag can be used to enter a project or revision number. This # could be handy for archiving the generated documentation or if some version diff --git a/ndk/doc/config/Doxyfile_CPP b/ndk/doc/config/Doxyfile_CPP index 9a0518c..59995a6 100755 --- a/ndk/doc/config/Doxyfile_CPP +++ b/ndk/doc/config/Doxyfile_CPP @@ -47,7 +47,7 @@ DOXYFILE_ENCODING = UTF-8 # title of most generated pages and in a few other places. # The default value is: My Project. -PROJECT_NAME = "HarmonyOS" +PROJECT_NAME = "OpenHarmony" # The PROJECT_NUMBER tag can be used to enter a project or revision number. This # could be handy for archiving the generated documentation or if some version