public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug translation/42686]  New: The output of options is not aligned when translate to some language
@ 2010-01-11  3:31 pearly dot zhao at oracle dot com
  2010-01-11  3:33 ` [Bug translation/42686] " pearly dot zhao at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: pearly dot zhao at oracle dot com @ 2010-01-11  3:31 UTC (permalink / raw)
  To: gcc-bugs

The following is to test the translation of the help text that contains a tab
character.
When use characters whose width in columns is not the same as their length in
bytes to translate, regenerate gcc.pot and change the locale, the output of the
translated help text is not be aligned.


-- 
           Summary: The output of options is not aligned when translate to
                    some language
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: translation
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pearly dot zhao at oracle dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42686


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translation/42686] The output of options is not aligned when translate to some language
  2010-01-11  3:31 [Bug translation/42686] New: The output of options is not aligned when translate to some language pearly dot zhao at oracle dot com
@ 2010-01-11  3:33 ` pearly dot zhao at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: pearly dot zhao at oracle dot com @ 2010-01-11  3:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pearly dot zhao at oracle dot com  2010-01-11 03:33 -------
Joseph S. Myers says

the computations of column widths for alignment in opts.c should be using 
gcc_gettext_width rather than strlen and pointer subtraction.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42686


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-11  3:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-11  3:31 [Bug translation/42686] New: The output of options is not aligned when translate to some language pearly dot zhao at oracle dot com
2010-01-11  3:33 ` [Bug translation/42686] " pearly dot zhao at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).