bugfindutils - Bugs: bug #56820, Translation issue


bug #56820: Translation issue

Submitted by:  None
Submitted on:  Wed 28 Aug 2019 12:05:26 AM UTC  
Category:  find Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Bernhard Voelker <berny>
Originator Name:  Roger B. Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.6.0
Fixed Release:  4.7.0

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 09 Jan 2021 03:22:50 PM UTC, comment #3: 

That one was pushed at:
and therefore already included in 4.7.0.
I'm hereby closing this issue as such.

Bernhard Voelker <berny>
Project AdministratorIn charge of this item.
Thu 29 Aug 2019 07:25:58 PM UTC, comment #2: 


Bernhard Voelker <berny>
Project AdministratorIn charge of this item.
Wed 28 Aug 2019 11:13:18 PM UTC, comment #1: 

Thanks for the report.

Translation issues are handled in general by the translation project [1], but it seems that also the current German translation
is confusing at least.

I think this stems from the confusing mix of the terms options, arguments, non-positional, etc. which users (and maybe also
translators?) cannot classify properly.

What about a changed diagnostic as in the attached patch?

$ find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;
find: warning: you have specified the global option -maxdepth after the argument -type, but global options are not positional, i.e., -maxdepth affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.

[1] https://translationproject.org/domain/findutils.html

(file #47406)

Bernhard Voelker <berny>
Project AdministratorIn charge of this item.
Wed 28 Aug 2019 12:05:26 AM UTC, original submission:  

1. version of findutils

find (GNU findutils)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Fonctions activées : D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2)

2. what you were trying to do

Find every regular file in the upper level directory with a maxdepth of 1 to apply on them a call to grep

3. the exact command line that you used

$ find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;

4. what you expected to happen

Get my result or at least a meaningful error message, instead of that I got a very curious error (or rather warning) message saying that I was not using -maxdepth after -find.

5. precisely what did happen.

Here is the exact message :

$ find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;
find: attention : vous avez spécifié l'option -maxdepth après un argument qui n'est pas une option -type mais les options sont positionnelles (-maxdepth affecte les tests spécifiés avant aussi bien qu'après). SVP spécifiez les options avant les autres arguments.

so I used LC_ALL ennvironment variable to get the English message and as a result I got to understand what was the real meaning of the message

$ LC_ALL=en_US find .. -type f -maxdepth 1 -exec grep -Hin rasoir {} \;
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

Which is what I did and got the expected result without any warning just by exchanging the position of -maxdepth and -type. In order to make the message more meaningful in French I suggest the use of ',' or '(',')', or even rewriting the sentence.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #47406:  0001-find-improve-warning-when-global-option-is-specified.patch added by berny (2KiB - text/x-patch - [PATCH] find: improve warning when global option is specified after other argument)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by berny (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-09 berny Open/ClosedOpen => Closed
    2019-08-29 berny StatusIn Progress => Fixed
        Fixed ReleaseNone => 4.7.0
    2019-08-28 berny Attached File- => Added 0001-find-improve-warning-when-global-option-is-specified.patch, #47406
    2019-08-28 berny Severity3 - Normal => 2 - Minor
        StatusNone => In Progress
        Assigned toNone => berny

    Back to the top

    Powered by Savane 3.5