Menu

#723 Output tag validation errors in console mode

2.5
closed-fixed
5
2012-02-03
2011-10-20
No

We use the console-translate mode a lot for approximately 50 projects. Sometimes tag validation errors remain, since it is a human process.

It would be an improvement for us if we could say '--print-tag-validation-errors' in console-translate mode and the output would contain remaining tag validation errors that could be given back to the translator.

Discussion

  • Didier Briel

    Didier Briel - 2011-10-20
    • summary: Print tag validation errors --> Output tag validation errors in console mode
     
  • Didier Briel

    Didier Briel - 2011-10-20

    I have changed the title to be more explicit.

    Accordingly, the parameter could '--output-tag-validation-errors', since 'print' is ambiguous.

    Didier

     
  • Martin Fleurke

    Martin Fleurke - 2012-01-29

    Implemented in /trunk.

    command-line parameter (for console-mode):
    --tag-validation=[abort|warn]

    On abort, the program is aborted when tag validation finds errors.
    On warn the errors are printed but the program continues.
    In all other cases no tag validation is done.

     
  • Didier Briel

    Didier Briel - 2012-01-30

    <<Implemented in /trunk.>>

    Are you sure you did the commit?

    I didn't receive a notification, and an "svn update" brings nothing new.

    Didier

     
  • Didier Briel

    Didier Briel - 2012-01-30
    • assigned_to: nobody --> martinfleurke
     
  • Martin Fleurke

    Martin Fleurke - 2012-01-30

    ok, previous line should have read: implemented in my local git repo, not pushed upstream.

    I have pushed now, so now it is in /trunk.

     
  • Martin Fleurke

    Martin Fleurke - 2012-01-30
    • status: open --> open-fixed
     
  • Guido Leenders

    Guido Leenders - 2012-01-30

    Trying to test this nuew function.

    In Main.java on line 268 it reads '=[abort|warn]'. I think it should be [block|warn], since that is what is coded on line 277.
    Dito on line 270.

     
  • Martin Fleurke

    Martin Fleurke - 2012-01-30

    oops. Changed all to 'abort' insted of 'block'

     
  • Didier Briel

    Didier Briel - 2012-02-03
    • status: open-fixed --> closed-fixed
     
  • Didier Briel

    Didier Briel - 2012-02-03

    Closing...
    This feature was implemented in the released version 2.5.1 of OmegaT.

     

Log in to post a comment.