bash - French - "hash" alignment
Bug #1743914 reported by
William Andrea
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Undecided
|
Ubuntu French Translators |
Bug Description
The output of the "hash" builtin is not properly aligned. Specifically the "occurences" column needs more leading spaces.
For example:
$ bash -c ''
$ hash
occurrences commande
1 /bin/bash
It should be like this:
$ hash
occurrences commande
1 /bin/bash
This occurs in Bash 4.4.12 on Ubuntu 17.10.
Changed in ubuntu-translations: | |
assignee: | nobody → Ubuntu French Translators (ubuntu-l10n-fr) |
Changed in ubuntu-translations: | |
status: | New → Fix Committed |
To post a comment you must log in.
The original string of the French translation "occurrences" is "hits", i.e. 4 characters, and the print width is hard coded to 4 characters:
http:// git.savannah. gnu.org/ cgit/bash. git/tree/ builtins/ hash.def# n226
So while this issue is related to translations, there is not much the translators can do. To suggest a change, i.e. a print width which takes into account the length of the translated term, you'd need to file an upstream bash bug.