start translation into German and French with one step as well as the report

This commit is contained in:
Bernd Hahnebach
2020-12-15 00:04:26 +01:00
committed by Dion Moult
parent 17a8b33387
commit d00da09cdc
7 changed files with 94 additions and 14 deletions
@@ -0,0 +1,10 @@
from behave import step
# https://behave.readthedocs.io/en/latest/api.html#step-macro-calling-steps-from-other-steps
@step("Die IFC daten müssen das {schema} Schema benutzen")
def step_impl(context, schema):
context.execute_steps(
"* IFC data must use the {schema} schema".format(schema=schema)
)
@@ -0,0 +1,10 @@
from behave import step
# https://behave.readthedocs.io/en/latest/api.html#step-macro-calling-steps-from-other-steps
@step("Les données IFC doivent utiliser le schéma {schema}")
def step_impl(context, schema):
context.execute_steps(
"* IFC data must use the {aschema} schema".format(aschema=schema)
)