-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Write more descriptive information to the Azure Devops log #21
Comments
That's a nice idea. I will look into it. |
We plan to use this scriptblock for BC translations. Since your module is not exclusively targeted at BC development, I wasn't sure whether to include this as an example.
|
If it is just as an example (rather than the default value), then that can't hurt, right? 😊 |
Maybe you could include the example script block in the README? |
Surely! 🙂 |
And perhaps I could look into adding it as the default value for |
I have just made this the default for the |
Shipped in version 1.5.0.0 |
Currently, in Test-XliffTranslation, for each missing and incorrect translation entry, the ID is written to the host (in our case: Azure Devops Pipelines log).
This leads to log entries that look like this:
I think most users would like some influence on the way these things are reported - the actual table ID, field no. and property name would certainly help in the example above.
My suggestion would be a scriptblock parameter that accepts a single XmlNode (the translation unit) and returns the string that you want to send to Write-Host. The default value for the parameter could be a scriptblock that returns the ID property of the translation unit it receives, so that the out-of-the-box behaviour remains as it is today.
The text was updated successfully, but these errors were encountered: