GothenburgBitFactory / taskwarrior

Taskwarrior - Command line Task Management
https://taskwarrior.org
MIT License
4.35k stars 296 forks source link

[TW-264] Alignment problems with different localizations #306

Open taskwarrior opened 6 years ago

taskwarrior commented 6 years ago

Renato Alves on 2014-02-03T18:31:18Z says:

So far I only noticed this problem in "task diag". I don't know if other sections/commands have similar issues.

Portuguese localization:

Compilador
    Versão: 4.7.3
       Capacidades: +stdc +stdc_hosted +LP64 +c1 +i4 +l8 +vp8

English localization:

Compiler
    Version: 4.7.3
       Caps: +stdc +stdc_hosted +LP64 +c1 +i4 +l8 +vp8

As you can see the words have a fixed number of spaces on the left instead of using padding, which causes the shift in alignment.

Some of the words/strings may actually have a character limit, but this information is currently not present in the translation file.

Related with #1506.

taskwarrior commented 6 years ago

Migrated metadata:

Created: 2014-02-03T18:31:18Z
Modified: 2014-11-11T04:19:18Z
taskwarrior commented 6 years ago

Paul Beckingham on 2014-02-07T15:16:03Z says:

Good catch. There is not character limit on these things, but there is the need to format things nicely. I suggest we widen the (at)diag@ command output, making it dynamically choose where the @:@ characters align.

But as a rule, shorter labels (left of the @:@) are preferred.