From: Serge Rehbinder Date: Wed, 14 Sep 2016 11:30:16 +0000 (+0200) Subject: sat generate: improve messages X-Git-Tag: 5.0.0a1~125 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7915f13de1a9b2e542feb6cbaccbc068dc99b794;p=tools%2Fsat.git sat generate: improve messages --- 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():