From 7915f13de1a9b2e542feb6cbaccbc068dc99b794 Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Wed, 14 Sep 2016 13:30:16 +0200 Subject: [PATCH] sat generate: improve messages --- commands/generate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/generate.py b/commands/generate.py index b2eadfe..1793410 100644 --- a/commands/generate.py +++ b/commands/generate.py @@ -255,14 +255,14 @@ def check_yacsgen(config, directory, logger): yacs_src = "?" if directory is not None: yacsgen_dir = directory - yacs_src = _("Using YACSGEN form command line") + yacs_src = _("Using YACSGEN from command line") elif 'YACSGEN' in config.APPLICATION.products: yacsgen_info = src.product.get_product_config(config, 'YACSGEN') yacsgen_dir = yacsgen_info.install_dir - yacs_src = _("Using YACSGEN form application") + yacs_src = _("Using YACSGEN from application") elif os.environ.has_key("YACSGEN_ROOT_DIR"): yacsgen_dir = os.getenv("YACSGEN_ROOT_DIR") - yacs_src = _("Using YACSGEN form environment") + yacs_src = _("Using YACSGEN from environment") if yacsgen_dir is None: return (False, _("The generate command requires YACSGEN.")) @@ -291,7 +291,7 @@ def check_yacsgen(config, directory, logger): return c return (False, - _("The python module mosule_generator was not found in YACSGEN")) + _("The python module module_generator was not found in YACSGEN")) def description(): -- 2.39.2